Terminal.Gui.TextView.html 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class TextView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class TextView
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.TextView">
  74. <h1 id="Terminal_Gui_TextView" data-uid="Terminal.Gui.TextView" class="text-break">Class TextView
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Multi-line text editing <a class="xref" href="Terminal.Gui.View.html">View</a>
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. <div class="level3"><span class="xref">TextView</span></div>
  86. </div>
  87. <div class="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.IDisposable</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  91. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  92. </div>
  93. <h5 id="Terminal_Gui_TextView_remarks"><strong>Remarks</strong></h5>
  94. <div class="markdown level0 remarks">
  95. <p>
  96. <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> provides a multi-line text editor. Users interact
  97. with it with the standard Emacs commands for movement or the arrow
  98. keys.
  99. </p>
  100. <table><thead><tr><th>Shortcut</th><th>Action performed</th></tr></thead><tbody><tr><td>Left cursor, Control-b</td><td>
  101. Moves the editing point left.
  102. </td></tr><tr><td>Right cursor, Control-f</td><td>
  103. Moves the editing point right.
  104. </td></tr><tr><td>Alt-b</td><td>
  105. Moves one word back.
  106. </td></tr><tr><td>Alt-f</td><td>
  107. Moves one word forward.
  108. </td></tr><tr><td>Up cursor, Control-p</td><td>
  109. Moves the editing point one line up.
  110. </td></tr><tr><td>Down cursor, Control-n</td><td>
  111. Moves the editing point one line down
  112. </td></tr><tr><td>Home key, Control-a</td><td>
  113. Moves the cursor to the beginning of the line.
  114. </td></tr><tr><td>End key, Control-e</td><td>
  115. Moves the cursor to the end of the line.
  116. </td></tr><tr><td>Control-Home</td><td>
  117. Scrolls to the first line and moves the cursor there.
  118. </td></tr><tr><td>Control-End</td><td>
  119. Scrolls to the last line and moves the cursor there.
  120. </td></tr><tr><td>Delete, Control-d</td><td>
  121. Deletes the character in front of the cursor.
  122. </td></tr><tr><td>Backspace</td><td>
  123. Deletes the character behind the cursor.
  124. </td></tr><tr><td>Control-k</td><td>
  125. Deletes the text until the end of the line and replaces the kill buffer
  126. with the deleted text. You can paste this text in a different place by
  127. using Control-y.
  128. </td></tr><tr><td>Control-y</td><td>
  129. Pastes the content of the kill ring into the current position.
  130. </td></tr><tr><td>Alt-d</td><td>
  131. Deletes the word above the cursor and adds it to the kill ring. You
  132. can paste the contents of the kill ring with Control-y.
  133. </td></tr><tr><td>Control-q</td><td>
  134. Quotes the next input character, to prevent the normal processing of
  135. key handling to take place.
  136. </td></tr></tbody></table>
  137. </div>
  138. <div class="inheritedMembers">
  139. <h5>Inherited Members</h5>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  220. </div>
  221. <div>
  222. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  268. </div>
  269. <div>
  270. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  274. </div>
  275. <div>
  276. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  277. </div>
  278. <div>
  279. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  301. </div>
  302. <div>
  303. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, Int32, Boolean)</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  343. </div>
  344. <div>
  345. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  349. </div>
  350. <div>
  351. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  358. </div>
  359. <div>
  360. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  361. </div>
  362. <div>
  363. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, Command[])</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(Command[])</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;Nullable&lt;Boolean&gt;&gt;)</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(Command[])</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  490. </div>
  491. <div>
  492. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  493. </div>
  494. <div>
  495. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  496. </div>
  497. <div>
  498. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  499. </div>
  500. <div>
  501. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  502. </div>
  503. <div>
  504. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  505. </div>
  506. <div>
  507. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  508. </div>
  509. <div>
  510. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  511. </div>
  512. <div>
  513. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  514. </div>
  515. <div>
  516. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  517. </div>
  518. <div>
  519. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  520. </div>
  521. <div>
  522. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  523. </div>
  524. <div>
  525. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  526. </div>
  527. <div>
  528. <span class="xref">System.Object.Equals(System.Object)</span>
  529. </div>
  530. <div>
  531. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  532. </div>
  533. <div>
  534. <span class="xref">System.Object.GetHashCode()</span>
  535. </div>
  536. <div>
  537. <span class="xref">System.Object.GetType()</span>
  538. </div>
  539. <div>
  540. <span class="xref">System.Object.MemberwiseClone()</span>
  541. </div>
  542. <div>
  543. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  544. </div>
  545. </div>
  546. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  547. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  548. <h5 id="Terminal_Gui_TextView_syntax">Syntax</h5>
  549. <div class="codewrapper">
  550. <pre><code class="lang-csharp hljs">public class TextView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  551. </div>
  552. <h3 id="constructors">Constructors
  553. </h3>
  554. <span class="small pull-right mobile-hide">
  555. <span class="divider">|</span>
  556. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  557. </span>
  558. <span class="small pull-right mobile-hide">
  559. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1214">View Source</a>
  560. </span>
  561. <a id="Terminal_Gui_TextView__ctor_" data-uid="Terminal.Gui.TextView.#ctor*"></a>
  562. <h4 id="Terminal_Gui_TextView__ctor" data-uid="Terminal.Gui.TextView.#ctor">TextView()</h4>
  563. <div class="markdown level1 summary">
  564. Initializes a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> on the specified area,
  565. with dimensions controlled with the X, Y, Width and Height properties.
  566. </div>
  567. <div class="markdown level1 conceptual"></div>
  568. <h5 class="decalaration">Declaration</h5>
  569. <div class="codewrapper">
  570. <pre><code class="lang-csharp hljs">public TextView()</code></pre>
  571. </div>
  572. <span class="small pull-right mobile-hide">
  573. <span class="divider">|</span>
  574. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView__ctor_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.%23ctor(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  575. </span>
  576. <span class="small pull-right mobile-hide">
  577. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1205">View Source</a>
  578. </span>
  579. <a id="Terminal_Gui_TextView__ctor_" data-uid="Terminal.Gui.TextView.#ctor*"></a>
  580. <h4 id="Terminal_Gui_TextView__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TextView.#ctor(Terminal.Gui.Rect)">TextView(Rect)</h4>
  581. <div class="markdown level1 summary">
  582. Initializes a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> on the specified area, with absolute position and size.
  583. </div>
  584. <div class="markdown level1 conceptual"></div>
  585. <h5 class="decalaration">Declaration</h5>
  586. <div class="codewrapper">
  587. <pre><code class="lang-csharp hljs">public TextView(Rect frame)</code></pre>
  588. </div>
  589. <h5 class="parameters">Parameters</h5>
  590. <table class="table table-bordered table-striped table-condensed">
  591. <thead>
  592. <tr>
  593. <th>Type</th>
  594. <th>Name</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  601. <td><span class="parametername">frame</span></td>
  602. <td></td>
  603. </tr>
  604. </tbody>
  605. </table>
  606. <h3 id="properties">Properties
  607. </h3>
  608. <span class="small pull-right mobile-hide">
  609. <span class="divider">|</span>
  610. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_AllowsReturn.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.AllowsReturn%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  611. </span>
  612. <span class="small pull-right mobile-hide">
  613. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1692">View Source</a>
  614. </span>
  615. <a id="Terminal_Gui_TextView_AllowsReturn_" data-uid="Terminal.Gui.TextView.AllowsReturn*"></a>
  616. <h4 id="Terminal_Gui_TextView_AllowsReturn" data-uid="Terminal.Gui.TextView.AllowsReturn">AllowsReturn</h4>
  617. <div class="markdown level1 summary">
  618. Gets or sets a value indicating whether pressing ENTER in a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>
  619. creates a new line of text in the view or activates the default button for the toplevel.
  620. </div>
  621. <div class="markdown level1 conceptual"></div>
  622. <h5 class="decalaration">Declaration</h5>
  623. <div class="codewrapper">
  624. <pre><code class="lang-csharp hljs">public bool AllowsReturn { get; set; }</code></pre>
  625. </div>
  626. <h5 class="propertyValue">Property Value</h5>
  627. <table class="table table-bordered table-striped table-condensed">
  628. <thead>
  629. <tr>
  630. <th>Type</th>
  631. <th>Description</th>
  632. </tr>
  633. </thead>
  634. <tbody>
  635. <tr>
  636. <td><span class="xref">System.Boolean</span></td>
  637. <td></td>
  638. </tr>
  639. </tbody>
  640. </table>
  641. <span class="small pull-right mobile-hide">
  642. <span class="divider">|</span>
  643. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_AllowsTab.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.AllowsTab%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  644. </span>
  645. <span class="small pull-right mobile-hide">
  646. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1713">View Source</a>
  647. </span>
  648. <a id="Terminal_Gui_TextView_AllowsTab_" data-uid="Terminal.Gui.TextView.AllowsTab*"></a>
  649. <h4 id="Terminal_Gui_TextView_AllowsTab" data-uid="Terminal.Gui.TextView.AllowsTab">AllowsTab</h4>
  650. <div class="markdown level1 summary">
  651. Gets or sets whether the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> inserts a tab character into the text or ignores
  652. tab input. If set to `false` and the user presses the tab key (or shift-tab) the focus will move to the
  653. next view (or previous with shift-tab). The default is `true`; if the user presses the tab key, a tab
  654. character will be inserted into the text.
  655. </div>
  656. <div class="markdown level1 conceptual"></div>
  657. <h5 class="decalaration">Declaration</h5>
  658. <div class="codewrapper">
  659. <pre><code class="lang-csharp hljs">public bool AllowsTab { get; set; }</code></pre>
  660. </div>
  661. <h5 class="propertyValue">Property Value</h5>
  662. <table class="table table-bordered table-striped table-condensed">
  663. <thead>
  664. <tr>
  665. <th>Type</th>
  666. <th>Description</th>
  667. </tr>
  668. </thead>
  669. <tbody>
  670. <tr>
  671. <td><span class="xref">System.Boolean</span></td>
  672. <td></td>
  673. </tr>
  674. </tbody>
  675. </table>
  676. <span class="small pull-right mobile-hide">
  677. <span class="divider">|</span>
  678. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Autocomplete.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Autocomplete%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  679. </span>
  680. <span class="small pull-right mobile-hide">
  681. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1188">View Source</a>
  682. </span>
  683. <a id="Terminal_Gui_TextView_Autocomplete_" data-uid="Terminal.Gui.TextView.Autocomplete*"></a>
  684. <h4 id="Terminal_Gui_TextView_Autocomplete" data-uid="Terminal.Gui.TextView.Autocomplete">Autocomplete</h4>
  685. <div class="markdown level1 summary">
  686. Provides autocomplete context menu based on suggestions at the current cursor
  687. position. Populate <a class="xref" href="Terminal.Gui.Autocomplete.html#Terminal_Gui_Autocomplete_AllSuggestions">AllSuggestions</a> to enable this feature
  688. </div>
  689. <div class="markdown level1 conceptual"></div>
  690. <h5 class="decalaration">Declaration</h5>
  691. <div class="codewrapper">
  692. <pre><code class="lang-csharp hljs">public IAutocomplete Autocomplete { get; protected set; }</code></pre>
  693. </div>
  694. <h5 class="propertyValue">Property Value</h5>
  695. <table class="table table-bordered table-striped table-condensed">
  696. <thead>
  697. <tr>
  698. <th>Type</th>
  699. <th>Description</th>
  700. </tr>
  701. </thead>
  702. <tbody>
  703. <tr>
  704. <td><a class="xref" href="Terminal.Gui.IAutocomplete.html">IAutocomplete</a></td>
  705. <td></td>
  706. </tr>
  707. </tbody>
  708. </table>
  709. <span class="small pull-right mobile-hide">
  710. <span class="divider">|</span>
  711. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_BottomOffset.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.BottomOffset%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  712. </span>
  713. <span class="small pull-right mobile-hide">
  714. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1662">View Source</a>
  715. </span>
  716. <a id="Terminal_Gui_TextView_BottomOffset_" data-uid="Terminal.Gui.TextView.BottomOffset*"></a>
  717. <h4 id="Terminal_Gui_TextView_BottomOffset" data-uid="Terminal.Gui.TextView.BottomOffset">BottomOffset</h4>
  718. <div class="markdown level1 summary">
  719. The bottom offset needed to use a horizontal scrollbar or for another reason.
  720. This is only needed with the keyboard navigation.
  721. </div>
  722. <div class="markdown level1 conceptual"></div>
  723. <h5 class="decalaration">Declaration</h5>
  724. <div class="codewrapper">
  725. <pre><code class="lang-csharp hljs">public int BottomOffset { get; set; }</code></pre>
  726. </div>
  727. <h5 class="propertyValue">Property Value</h5>
  728. <table class="table table-bordered table-striped table-condensed">
  729. <thead>
  730. <tr>
  731. <th>Type</th>
  732. <th>Description</th>
  733. </tr>
  734. </thead>
  735. <tbody>
  736. <tr>
  737. <td><span class="xref">System.Int32</span></td>
  738. <td></td>
  739. </tr>
  740. </tbody>
  741. </table>
  742. <span class="small pull-right mobile-hide">
  743. <span class="divider">|</span>
  744. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_CanFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.CanFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  745. </span>
  746. <span class="small pull-right mobile-hide">
  747. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2468">View Source</a>
  748. </span>
  749. <a id="Terminal_Gui_TextView_CanFocus_" data-uid="Terminal.Gui.TextView.CanFocus*"></a>
  750. <h4 id="Terminal_Gui_TextView_CanFocus" data-uid="Terminal.Gui.TextView.CanFocus">CanFocus</h4>
  751. <div class="markdown level1 summary"></div>
  752. <div class="markdown level1 conceptual"></div>
  753. <h5 class="decalaration">Declaration</h5>
  754. <div class="codewrapper">
  755. <pre><code class="lang-csharp hljs">public override bool CanFocus { get; set; }</code></pre>
  756. </div>
  757. <h5 class="propertyValue">Property Value</h5>
  758. <table class="table table-bordered table-striped table-condensed">
  759. <thead>
  760. <tr>
  761. <th>Type</th>
  762. <th>Description</th>
  763. </tr>
  764. </thead>
  765. <tbody>
  766. <tr>
  767. <td><span class="xref">System.Boolean</span></td>
  768. <td></td>
  769. </tr>
  770. </tbody>
  771. </table>
  772. <h5 class="overrides">Overrides</h5>
  773. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a></div>
  774. <span class="small pull-right mobile-hide">
  775. <span class="divider">|</span>
  776. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_ContextMenu.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.ContextMenu%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  777. </span>
  778. <span class="small pull-right mobile-hide">
  779. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1803">View Source</a>
  780. </span>
  781. <a id="Terminal_Gui_TextView_ContextMenu_" data-uid="Terminal.Gui.TextView.ContextMenu*"></a>
  782. <h4 id="Terminal_Gui_TextView_ContextMenu" data-uid="Terminal.Gui.TextView.ContextMenu">ContextMenu</h4>
  783. <div class="markdown level1 summary">
  784. Get the <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_ContextMenu">ContextMenu</a> for this view.
  785. </div>
  786. <div class="markdown level1 conceptual"></div>
  787. <h5 class="decalaration">Declaration</h5>
  788. <div class="codewrapper">
  789. <pre><code class="lang-csharp hljs">public ContextMenu ContextMenu { get; }</code></pre>
  790. </div>
  791. <h5 class="propertyValue">Property Value</h5>
  792. <table class="table table-bordered table-striped table-condensed">
  793. <thead>
  794. <tr>
  795. <th>Type</th>
  796. <th>Description</th>
  797. </tr>
  798. </thead>
  799. <tbody>
  800. <tr>
  801. <td><a class="xref" href="Terminal.Gui.ContextMenu.html">ContextMenu</a></td>
  802. <td></td>
  803. </tr>
  804. </tbody>
  805. </table>
  806. <span class="small pull-right mobile-hide">
  807. <span class="divider">|</span>
  808. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_CurrentColumn.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.CurrentColumn%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  809. </span>
  810. <span class="small pull-right mobile-hide">
  811. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1885">View Source</a>
  812. </span>
  813. <a id="Terminal_Gui_TextView_CurrentColumn_" data-uid="Terminal.Gui.TextView.CurrentColumn*"></a>
  814. <h4 id="Terminal_Gui_TextView_CurrentColumn" data-uid="Terminal.Gui.TextView.CurrentColumn">CurrentColumn</h4>
  815. <div class="markdown level1 summary">
  816. Gets the cursor column.
  817. </div>
  818. <div class="markdown level1 conceptual"></div>
  819. <h5 class="decalaration">Declaration</h5>
  820. <div class="codewrapper">
  821. <pre><code class="lang-csharp hljs">public int CurrentColumn { get; }</code></pre>
  822. </div>
  823. <h5 class="propertyValue">Property Value</h5>
  824. <table class="table table-bordered table-striped table-condensed">
  825. <thead>
  826. <tr>
  827. <th>Type</th>
  828. <th>Description</th>
  829. </tr>
  830. </thead>
  831. <tbody>
  832. <tr>
  833. <td><span class="xref">System.Int32</span></td>
  834. <td>The cursor column.</td>
  835. </tr>
  836. </tbody>
  837. </table>
  838. <span class="small pull-right mobile-hide">
  839. <span class="divider">|</span>
  840. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_CurrentRow.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.CurrentRow%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  841. </span>
  842. <span class="small pull-right mobile-hide">
  843. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1879">View Source</a>
  844. </span>
  845. <a id="Terminal_Gui_TextView_CurrentRow_" data-uid="Terminal.Gui.TextView.CurrentRow*"></a>
  846. <h4 id="Terminal_Gui_TextView_CurrentRow" data-uid="Terminal.Gui.TextView.CurrentRow">CurrentRow</h4>
  847. <div class="markdown level1 summary">
  848. Gets the current cursor row.
  849. </div>
  850. <div class="markdown level1 conceptual"></div>
  851. <h5 class="decalaration">Declaration</h5>
  852. <div class="codewrapper">
  853. <pre><code class="lang-csharp hljs">public int CurrentRow { get; }</code></pre>
  854. </div>
  855. <h5 class="propertyValue">Property Value</h5>
  856. <table class="table table-bordered table-striped table-condensed">
  857. <thead>
  858. <tr>
  859. <th>Type</th>
  860. <th>Description</th>
  861. </tr>
  862. </thead>
  863. <tbody>
  864. <tr>
  865. <td><span class="xref">System.Int32</span></td>
  866. <td></td>
  867. </tr>
  868. </tbody>
  869. </table>
  870. <span class="small pull-right mobile-hide">
  871. <span class="divider">|</span>
  872. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_CursorPosition.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.CursorPosition%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  873. </span>
  874. <span class="small pull-right mobile-hide">
  875. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1569">View Source</a>
  876. </span>
  877. <a id="Terminal_Gui_TextView_CursorPosition_" data-uid="Terminal.Gui.TextView.CursorPosition*"></a>
  878. <h4 id="Terminal_Gui_TextView_CursorPosition" data-uid="Terminal.Gui.TextView.CursorPosition">CursorPosition</h4>
  879. <div class="markdown level1 summary">
  880. Sets or gets the current cursor position.
  881. </div>
  882. <div class="markdown level1 conceptual"></div>
  883. <h5 class="decalaration">Declaration</h5>
  884. <div class="codewrapper">
  885. <pre><code class="lang-csharp hljs">public Point CursorPosition { get; set; }</code></pre>
  886. </div>
  887. <h5 class="propertyValue">Property Value</h5>
  888. <table class="table table-bordered table-striped table-condensed">
  889. <thead>
  890. <tr>
  891. <th>Type</th>
  892. <th>Description</th>
  893. </tr>
  894. </thead>
  895. <tbody>
  896. <tr>
  897. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  898. <td></td>
  899. </tr>
  900. </tbody>
  901. </table>
  902. <span class="small pull-right mobile-hide">
  903. <span class="divider">|</span>
  904. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_DesiredCursorVisibility.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.DesiredCursorVisibility%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  905. </span>
  906. <span class="small pull-right mobile-hide">
  907. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2023">View Source</a>
  908. </span>
  909. <a id="Terminal_Gui_TextView_DesiredCursorVisibility_" data-uid="Terminal.Gui.TextView.DesiredCursorVisibility*"></a>
  910. <h4 id="Terminal_Gui_TextView_DesiredCursorVisibility" data-uid="Terminal.Gui.TextView.DesiredCursorVisibility">DesiredCursorVisibility</h4>
  911. <div class="markdown level1 summary">
  912. Get / Set the wished cursor when the field is focused
  913. </div>
  914. <div class="markdown level1 conceptual"></div>
  915. <h5 class="decalaration">Declaration</h5>
  916. <div class="codewrapper">
  917. <pre><code class="lang-csharp hljs">public CursorVisibility DesiredCursorVisibility { get; set; }</code></pre>
  918. </div>
  919. <h5 class="propertyValue">Property Value</h5>
  920. <table class="table table-bordered table-striped table-condensed">
  921. <thead>
  922. <tr>
  923. <th>Type</th>
  924. <th>Description</th>
  925. </tr>
  926. </thead>
  927. <tbody>
  928. <tr>
  929. <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  930. <td></td>
  931. </tr>
  932. </tbody>
  933. </table>
  934. <span class="small pull-right mobile-hide">
  935. <span class="divider">|</span>
  936. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Frame.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Frame%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  937. </span>
  938. <span class="small pull-right mobile-hide">
  939. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1511">View Source</a>
  940. </span>
  941. <a id="Terminal_Gui_TextView_Frame_" data-uid="Terminal.Gui.TextView.Frame*"></a>
  942. <h4 id="Terminal_Gui_TextView_Frame" data-uid="Terminal.Gui.TextView.Frame">Frame</h4>
  943. <div class="markdown level1 summary"></div>
  944. <div class="markdown level1 conceptual"></div>
  945. <h5 class="decalaration">Declaration</h5>
  946. <div class="codewrapper">
  947. <pre><code class="lang-csharp hljs">public override Rect Frame { get; set; }</code></pre>
  948. </div>
  949. <h5 class="propertyValue">Property Value</h5>
  950. <table class="table table-bordered table-striped table-condensed">
  951. <thead>
  952. <tr>
  953. <th>Type</th>
  954. <th>Description</th>
  955. </tr>
  956. </thead>
  957. <tbody>
  958. <tr>
  959. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  960. <td></td>
  961. </tr>
  962. </tbody>
  963. </table>
  964. <h5 class="overrides">Overrides</h5>
  965. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a></div>
  966. <span class="small pull-right mobile-hide">
  967. <span class="divider">|</span>
  968. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_HasHistoryChanges.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.HasHistoryChanges%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  969. </span>
  970. <span class="small pull-right mobile-hide">
  971. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1798">View Source</a>
  972. </span>
  973. <a id="Terminal_Gui_TextView_HasHistoryChanges_" data-uid="Terminal.Gui.TextView.HasHistoryChanges*"></a>
  974. <h4 id="Terminal_Gui_TextView_HasHistoryChanges" data-uid="Terminal.Gui.TextView.HasHistoryChanges">HasHistoryChanges</h4>
  975. <div class="markdown level1 summary">
  976. Indicates whatever the text has history changes or not.
  977. <span class="xref">true</span> if the text has history changes <span class="xref">false</span> otherwise.
  978. </div>
  979. <div class="markdown level1 conceptual"></div>
  980. <h5 class="decalaration">Declaration</h5>
  981. <div class="codewrapper">
  982. <pre><code class="lang-csharp hljs">public bool HasHistoryChanges { get; }</code></pre>
  983. </div>
  984. <h5 class="propertyValue">Property Value</h5>
  985. <table class="table table-bordered table-striped table-condensed">
  986. <thead>
  987. <tr>
  988. <th>Type</th>
  989. <th>Description</th>
  990. </tr>
  991. </thead>
  992. <tbody>
  993. <tr>
  994. <td><span class="xref">System.Boolean</span></td>
  995. <td></td>
  996. </tr>
  997. </tbody>
  998. </table>
  999. <span class="small pull-right mobile-hide">
  1000. <span class="divider">|</span>
  1001. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_IsDirty.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.IsDirty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1002. </span>
  1003. <span class="small pull-right mobile-hide">
  1004. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1792">View Source</a>
  1005. </span>
  1006. <a id="Terminal_Gui_TextView_IsDirty_" data-uid="Terminal.Gui.TextView.IsDirty*"></a>
  1007. <h4 id="Terminal_Gui_TextView_IsDirty" data-uid="Terminal.Gui.TextView.IsDirty">IsDirty</h4>
  1008. <div class="markdown level1 summary">
  1009. Indicates whatever the text was changed or not.
  1010. <span class="xref">true</span> if the text was changed <span class="xref">false</span> otherwise.
  1011. </div>
  1012. <div class="markdown level1 conceptual"></div>
  1013. <h5 class="decalaration">Declaration</h5>
  1014. <div class="codewrapper">
  1015. <pre><code class="lang-csharp hljs">public bool IsDirty { get; }</code></pre>
  1016. </div>
  1017. <h5 class="propertyValue">Property Value</h5>
  1018. <table class="table table-bordered table-striped table-condensed">
  1019. <thead>
  1020. <tr>
  1021. <th>Type</th>
  1022. <th>Description</th>
  1023. </tr>
  1024. </thead>
  1025. <tbody>
  1026. <tr>
  1027. <td><span class="xref">System.Boolean</span></td>
  1028. <td></td>
  1029. </tr>
  1030. </tbody>
  1031. </table>
  1032. <span class="small pull-right mobile-hide">
  1033. <span class="divider">|</span>
  1034. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_LeftColumn.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.LeftColumn%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1035. </span>
  1036. <span class="small pull-right mobile-hide">
  1037. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1547">View Source</a>
  1038. </span>
  1039. <a id="Terminal_Gui_TextView_LeftColumn_" data-uid="Terminal.Gui.TextView.LeftColumn*"></a>
  1040. <h4 id="Terminal_Gui_TextView_LeftColumn" data-uid="Terminal.Gui.TextView.LeftColumn">LeftColumn</h4>
  1041. <div class="markdown level1 summary">
  1042. Gets or sets the left column.
  1043. </div>
  1044. <div class="markdown level1 conceptual"></div>
  1045. <h5 class="decalaration">Declaration</h5>
  1046. <div class="codewrapper">
  1047. <pre><code class="lang-csharp hljs">public int LeftColumn { get; set; }</code></pre>
  1048. </div>
  1049. <h5 class="propertyValue">Property Value</h5>
  1050. <table class="table table-bordered table-striped table-condensed">
  1051. <thead>
  1052. <tr>
  1053. <th>Type</th>
  1054. <th>Description</th>
  1055. </tr>
  1056. </thead>
  1057. <tbody>
  1058. <tr>
  1059. <td><span class="xref">System.Int32</span></td>
  1060. <td></td>
  1061. </tr>
  1062. </tbody>
  1063. </table>
  1064. <span class="small pull-right mobile-hide">
  1065. <span class="divider">|</span>
  1066. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Lines.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Lines%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1067. </span>
  1068. <span class="small pull-right mobile-hide">
  1069. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1564">View Source</a>
  1070. </span>
  1071. <a id="Terminal_Gui_TextView_Lines_" data-uid="Terminal.Gui.TextView.Lines*"></a>
  1072. <h4 id="Terminal_Gui_TextView_Lines" data-uid="Terminal.Gui.TextView.Lines">Lines</h4>
  1073. <div class="markdown level1 summary">
  1074. Gets the number of lines.
  1075. </div>
  1076. <div class="markdown level1 conceptual"></div>
  1077. <h5 class="decalaration">Declaration</h5>
  1078. <div class="codewrapper">
  1079. <pre><code class="lang-csharp hljs">public int Lines { get; }</code></pre>
  1080. </div>
  1081. <h5 class="propertyValue">Property Value</h5>
  1082. <table class="table table-bordered table-striped table-condensed">
  1083. <thead>
  1084. <tr>
  1085. <th>Type</th>
  1086. <th>Description</th>
  1087. </tr>
  1088. </thead>
  1089. <tbody>
  1090. <tr>
  1091. <td><span class="xref">System.Int32</span></td>
  1092. <td></td>
  1093. </tr>
  1094. </tbody>
  1095. </table>
  1096. <span class="small pull-right mobile-hide">
  1097. <span class="divider">|</span>
  1098. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Maxlength.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Maxlength%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1099. </span>
  1100. <span class="small pull-right mobile-hide">
  1101. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1559">View Source</a>
  1102. </span>
  1103. <a id="Terminal_Gui_TextView_Maxlength_" data-uid="Terminal.Gui.TextView.Maxlength*"></a>
  1104. <h4 id="Terminal_Gui_TextView_Maxlength" data-uid="Terminal.Gui.TextView.Maxlength">Maxlength</h4>
  1105. <div class="markdown level1 summary">
  1106. Gets the maximum visible length line.
  1107. </div>
  1108. <div class="markdown level1 conceptual"></div>
  1109. <h5 class="decalaration">Declaration</h5>
  1110. <div class="codewrapper">
  1111. <pre><code class="lang-csharp hljs">public int Maxlength { get; }</code></pre>
  1112. </div>
  1113. <h5 class="propertyValue">Property Value</h5>
  1114. <table class="table table-bordered table-striped table-condensed">
  1115. <thead>
  1116. <tr>
  1117. <th>Type</th>
  1118. <th>Description</th>
  1119. </tr>
  1120. </thead>
  1121. <tbody>
  1122. <tr>
  1123. <td><span class="xref">System.Int32</span></td>
  1124. <td></td>
  1125. </tr>
  1126. </tbody>
  1127. </table>
  1128. <span class="small pull-right mobile-hide">
  1129. <span class="divider">|</span>
  1130. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Multiline.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Multiline%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1131. </span>
  1132. <span class="small pull-right mobile-hide">
  1133. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1749">View Source</a>
  1134. </span>
  1135. <a id="Terminal_Gui_TextView_Multiline_" data-uid="Terminal.Gui.TextView.Multiline*"></a>
  1136. <h4 id="Terminal_Gui_TextView_Multiline" data-uid="Terminal.Gui.TextView.Multiline">Multiline</h4>
  1137. <div class="markdown level1 summary">
  1138. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> is a multiline text view.
  1139. </div>
  1140. <div class="markdown level1 conceptual"></div>
  1141. <h5 class="decalaration">Declaration</h5>
  1142. <div class="codewrapper">
  1143. <pre><code class="lang-csharp hljs">public bool Multiline { get; set; }</code></pre>
  1144. </div>
  1145. <h5 class="propertyValue">Property Value</h5>
  1146. <table class="table table-bordered table-striped table-condensed">
  1147. <thead>
  1148. <tr>
  1149. <th>Type</th>
  1150. <th>Description</th>
  1151. </tr>
  1152. </thead>
  1153. <tbody>
  1154. <tr>
  1155. <td><span class="xref">System.Boolean</span></td>
  1156. <td></td>
  1157. </tr>
  1158. </tbody>
  1159. </table>
  1160. <span class="small pull-right mobile-hide">
  1161. <span class="divider">|</span>
  1162. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_ReadOnly.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.ReadOnly%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1163. </span>
  1164. <span class="small pull-right mobile-hide">
  1165. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2006">View Source</a>
  1166. </span>
  1167. <a id="Terminal_Gui_TextView_ReadOnly_" data-uid="Terminal.Gui.TextView.ReadOnly*"></a>
  1168. <h4 id="Terminal_Gui_TextView_ReadOnly" data-uid="Terminal.Gui.TextView.ReadOnly">ReadOnly</h4>
  1169. <div class="markdown level1 summary">
  1170. Gets or sets whether the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> is in read-only mode or not
  1171. </div>
  1172. <div class="markdown level1 conceptual"></div>
  1173. <h5 class="decalaration">Declaration</h5>
  1174. <div class="codewrapper">
  1175. <pre><code class="lang-csharp hljs">public bool ReadOnly { get; set; }</code></pre>
  1176. </div>
  1177. <h5 class="propertyValue">Property Value</h5>
  1178. <table class="table table-bordered table-striped table-condensed">
  1179. <thead>
  1180. <tr>
  1181. <th>Type</th>
  1182. <th>Description</th>
  1183. </tr>
  1184. </thead>
  1185. <tbody>
  1186. <tr>
  1187. <td><span class="xref">System.Boolean</span></td>
  1188. <td>Boolean value(Default false)</td>
  1189. </tr>
  1190. </tbody>
  1191. </table>
  1192. <span class="small pull-right mobile-hide">
  1193. <span class="divider">|</span>
  1194. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_RightOffset.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.RightOffset%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1195. </span>
  1196. <span class="small pull-right mobile-hide">
  1197. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1677">View Source</a>
  1198. </span>
  1199. <a id="Terminal_Gui_TextView_RightOffset_" data-uid="Terminal.Gui.TextView.RightOffset*"></a>
  1200. <h4 id="Terminal_Gui_TextView_RightOffset" data-uid="Terminal.Gui.TextView.RightOffset">RightOffset</h4>
  1201. <div class="markdown level1 summary">
  1202. The right offset needed to use a vertical scrollbar or for another reason.
  1203. This is only needed with the keyboard navigation.
  1204. </div>
  1205. <div class="markdown level1 conceptual"></div>
  1206. <h5 class="decalaration">Declaration</h5>
  1207. <div class="codewrapper">
  1208. <pre><code class="lang-csharp hljs">public int RightOffset { get; set; }</code></pre>
  1209. </div>
  1210. <h5 class="propertyValue">Property Value</h5>
  1211. <table class="table table-bordered table-striped table-condensed">
  1212. <thead>
  1213. <tr>
  1214. <th>Type</th>
  1215. <th>Description</th>
  1216. </tr>
  1217. </thead>
  1218. <tbody>
  1219. <tr>
  1220. <td><span class="xref">System.Int32</span></td>
  1221. <td></td>
  1222. </tr>
  1223. </tbody>
  1224. </table>
  1225. <span class="small pull-right mobile-hide">
  1226. <span class="divider">|</span>
  1227. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SelectedLength.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SelectedLength%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1228. </span>
  1229. <span class="small pull-right mobile-hide">
  1230. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1625">View Source</a>
  1231. </span>
  1232. <a id="Terminal_Gui_TextView_SelectedLength_" data-uid="Terminal.Gui.TextView.SelectedLength*"></a>
  1233. <h4 id="Terminal_Gui_TextView_SelectedLength" data-uid="Terminal.Gui.TextView.SelectedLength">SelectedLength</h4>
  1234. <div class="markdown level1 summary">
  1235. Length of the selected text.
  1236. </div>
  1237. <div class="markdown level1 conceptual"></div>
  1238. <h5 class="decalaration">Declaration</h5>
  1239. <div class="codewrapper">
  1240. <pre><code class="lang-csharp hljs">public int SelectedLength { get; }</code></pre>
  1241. </div>
  1242. <h5 class="propertyValue">Property Value</h5>
  1243. <table class="table table-bordered table-striped table-condensed">
  1244. <thead>
  1245. <tr>
  1246. <th>Type</th>
  1247. <th>Description</th>
  1248. </tr>
  1249. </thead>
  1250. <tbody>
  1251. <tr>
  1252. <td><span class="xref">System.Int32</span></td>
  1253. <td></td>
  1254. </tr>
  1255. </tbody>
  1256. </table>
  1257. <span class="small pull-right mobile-hide">
  1258. <span class="divider">|</span>
  1259. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SelectedText.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SelectedText%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1260. </span>
  1261. <span class="small pull-right mobile-hide">
  1262. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1612">View Source</a>
  1263. </span>
  1264. <a id="Terminal_Gui_TextView_SelectedText_" data-uid="Terminal.Gui.TextView.SelectedText*"></a>
  1265. <h4 id="Terminal_Gui_TextView_SelectedText" data-uid="Terminal.Gui.TextView.SelectedText">SelectedText</h4>
  1266. <div class="markdown level1 summary">
  1267. The selected text.
  1268. </div>
  1269. <div class="markdown level1 conceptual"></div>
  1270. <h5 class="decalaration">Declaration</h5>
  1271. <div class="codewrapper">
  1272. <pre><code class="lang-csharp hljs">public ustring SelectedText { get; }</code></pre>
  1273. </div>
  1274. <h5 class="propertyValue">Property Value</h5>
  1275. <table class="table table-bordered table-striped table-condensed">
  1276. <thead>
  1277. <tr>
  1278. <th>Type</th>
  1279. <th>Description</th>
  1280. </tr>
  1281. </thead>
  1282. <tbody>
  1283. <tr>
  1284. <td><span class="xref">NStack.ustring</span></td>
  1285. <td></td>
  1286. </tr>
  1287. </tbody>
  1288. </table>
  1289. <span class="small pull-right mobile-hide">
  1290. <span class="divider">|</span>
  1291. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Selecting.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Selecting%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1292. </span>
  1293. <span class="small pull-right mobile-hide">
  1294. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1630">View Source</a>
  1295. </span>
  1296. <a id="Terminal_Gui_TextView_Selecting_" data-uid="Terminal.Gui.TextView.Selecting*"></a>
  1297. <h4 id="Terminal_Gui_TextView_Selecting" data-uid="Terminal.Gui.TextView.Selecting">Selecting</h4>
  1298. <div class="markdown level1 summary">
  1299. Get or sets the selecting.
  1300. </div>
  1301. <div class="markdown level1 conceptual"></div>
  1302. <h5 class="decalaration">Declaration</h5>
  1303. <div class="codewrapper">
  1304. <pre><code class="lang-csharp hljs">public bool Selecting { get; set; }</code></pre>
  1305. </div>
  1306. <h5 class="propertyValue">Property Value</h5>
  1307. <table class="table table-bordered table-striped table-condensed">
  1308. <thead>
  1309. <tr>
  1310. <th>Type</th>
  1311. <th>Description</th>
  1312. </tr>
  1313. </thead>
  1314. <tbody>
  1315. <tr>
  1316. <td><span class="xref">System.Boolean</span></td>
  1317. <td></td>
  1318. </tr>
  1319. </tbody>
  1320. </table>
  1321. <span class="small pull-right mobile-hide">
  1322. <span class="divider">|</span>
  1323. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SelectionStartColumn.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SelectionStartColumn%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1324. </span>
  1325. <span class="small pull-right mobile-hide">
  1326. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1584">View Source</a>
  1327. </span>
  1328. <a id="Terminal_Gui_TextView_SelectionStartColumn_" data-uid="Terminal.Gui.TextView.SelectionStartColumn*"></a>
  1329. <h4 id="Terminal_Gui_TextView_SelectionStartColumn" data-uid="Terminal.Gui.TextView.SelectionStartColumn">SelectionStartColumn</h4>
  1330. <div class="markdown level1 summary">
  1331. Start column position of the selected text.
  1332. </div>
  1333. <div class="markdown level1 conceptual"></div>
  1334. <h5 class="decalaration">Declaration</h5>
  1335. <div class="codewrapper">
  1336. <pre><code class="lang-csharp hljs">public int SelectionStartColumn { get; set; }</code></pre>
  1337. </div>
  1338. <h5 class="propertyValue">Property Value</h5>
  1339. <table class="table table-bordered table-striped table-condensed">
  1340. <thead>
  1341. <tr>
  1342. <th>Type</th>
  1343. <th>Description</th>
  1344. </tr>
  1345. </thead>
  1346. <tbody>
  1347. <tr>
  1348. <td><span class="xref">System.Int32</span></td>
  1349. <td></td>
  1350. </tr>
  1351. </tbody>
  1352. </table>
  1353. <span class="small pull-right mobile-hide">
  1354. <span class="divider">|</span>
  1355. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SelectionStartRow.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SelectionStartRow%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1356. </span>
  1357. <span class="small pull-right mobile-hide">
  1358. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1598">View Source</a>
  1359. </span>
  1360. <a id="Terminal_Gui_TextView_SelectionStartRow_" data-uid="Terminal.Gui.TextView.SelectionStartRow*"></a>
  1361. <h4 id="Terminal_Gui_TextView_SelectionStartRow" data-uid="Terminal.Gui.TextView.SelectionStartRow">SelectionStartRow</h4>
  1362. <div class="markdown level1 summary">
  1363. Start row position of the selected text.
  1364. </div>
  1365. <div class="markdown level1 conceptual"></div>
  1366. <h5 class="decalaration">Declaration</h5>
  1367. <div class="codewrapper">
  1368. <pre><code class="lang-csharp hljs">public int SelectionStartRow { get; set; }</code></pre>
  1369. </div>
  1370. <h5 class="propertyValue">Property Value</h5>
  1371. <table class="table table-bordered table-striped table-condensed">
  1372. <thead>
  1373. <tr>
  1374. <th>Type</th>
  1375. <th>Description</th>
  1376. </tr>
  1377. </thead>
  1378. <tbody>
  1379. <tr>
  1380. <td><span class="xref">System.Int32</span></td>
  1381. <td></td>
  1382. </tr>
  1383. </tbody>
  1384. </table>
  1385. <span class="small pull-right mobile-hide">
  1386. <span class="divider">|</span>
  1387. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_TabWidth.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.TabWidth%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1388. </span>
  1389. <span class="small pull-right mobile-hide">
  1390. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1733">View Source</a>
  1391. </span>
  1392. <a id="Terminal_Gui_TextView_TabWidth_" data-uid="Terminal.Gui.TextView.TabWidth*"></a>
  1393. <h4 id="Terminal_Gui_TextView_TabWidth" data-uid="Terminal.Gui.TextView.TabWidth">TabWidth</h4>
  1394. <div class="markdown level1 summary">
  1395. Gets or sets a value indicating the number of whitespace when pressing the TAB key.
  1396. </div>
  1397. <div class="markdown level1 conceptual"></div>
  1398. <h5 class="decalaration">Declaration</h5>
  1399. <div class="codewrapper">
  1400. <pre><code class="lang-csharp hljs">public int TabWidth { get; set; }</code></pre>
  1401. </div>
  1402. <h5 class="propertyValue">Property Value</h5>
  1403. <table class="table table-bordered table-striped table-condensed">
  1404. <thead>
  1405. <tr>
  1406. <th>Type</th>
  1407. <th>Description</th>
  1408. </tr>
  1409. </thead>
  1410. <tbody>
  1411. <tr>
  1412. <td><span class="xref">System.Int32</span></td>
  1413. <td></td>
  1414. </tr>
  1415. </tbody>
  1416. </table>
  1417. <span class="small pull-right mobile-hide">
  1418. <span class="divider">|</span>
  1419. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Text%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1420. </span>
  1421. <span class="small pull-right mobile-hide">
  1422. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1487">View Source</a>
  1423. </span>
  1424. <a id="Terminal_Gui_TextView_Text_" data-uid="Terminal.Gui.TextView.Text*"></a>
  1425. <h4 id="Terminal_Gui_TextView_Text" data-uid="Terminal.Gui.TextView.Text">Text</h4>
  1426. <div class="markdown level1 summary">
  1427. Sets or gets the text in the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1428. </div>
  1429. <div class="markdown level1 conceptual"></div>
  1430. <h5 class="decalaration">Declaration</h5>
  1431. <div class="codewrapper">
  1432. <pre><code class="lang-csharp hljs">public override ustring Text { get; set; }</code></pre>
  1433. </div>
  1434. <h5 class="propertyValue">Property Value</h5>
  1435. <table class="table table-bordered table-striped table-condensed">
  1436. <thead>
  1437. <tr>
  1438. <th>Type</th>
  1439. <th>Description</th>
  1440. </tr>
  1441. </thead>
  1442. <tbody>
  1443. <tr>
  1444. <td><span class="xref">NStack.ustring</span></td>
  1445. <td></td>
  1446. </tr>
  1447. </tbody>
  1448. </table>
  1449. <h5 class="overrides">Overrides</h5>
  1450. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a></div>
  1451. <span class="small pull-right mobile-hide">
  1452. <span class="divider">|</span>
  1453. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_TopRow.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.TopRow%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1454. </span>
  1455. <span class="small pull-right mobile-hide">
  1456. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1542">View Source</a>
  1457. </span>
  1458. <a id="Terminal_Gui_TextView_TopRow_" data-uid="Terminal.Gui.TextView.TopRow*"></a>
  1459. <h4 id="Terminal_Gui_TextView_TopRow" data-uid="Terminal.Gui.TextView.TopRow">TopRow</h4>
  1460. <div class="markdown level1 summary">
  1461. Gets or sets the top row.
  1462. </div>
  1463. <div class="markdown level1 conceptual"></div>
  1464. <h5 class="decalaration">Declaration</h5>
  1465. <div class="codewrapper">
  1466. <pre><code class="lang-csharp hljs">public int TopRow { get; set; }</code></pre>
  1467. </div>
  1468. <h5 class="propertyValue">Property Value</h5>
  1469. <table class="table table-bordered table-striped table-condensed">
  1470. <thead>
  1471. <tr>
  1472. <th>Type</th>
  1473. <th>Description</th>
  1474. </tr>
  1475. </thead>
  1476. <tbody>
  1477. <tr>
  1478. <td><span class="xref">System.Int32</span></td>
  1479. <td></td>
  1480. </tr>
  1481. </tbody>
  1482. </table>
  1483. <span class="small pull-right mobile-hide">
  1484. <span class="divider">|</span>
  1485. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Used.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Used%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1486. </span>
  1487. <span class="small pull-right mobile-hide">
  1488. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1473">View Source</a>
  1489. </span>
  1490. <a id="Terminal_Gui_TextView_Used_" data-uid="Terminal.Gui.TextView.Used*"></a>
  1491. <h4 id="Terminal_Gui_TextView_Used" data-uid="Terminal.Gui.TextView.Used">Used</h4>
  1492. <div class="markdown level1 summary">
  1493. Tracks whether the text view should be considered &quot;used&quot;, that is, that the user has moved in the entry,
  1494. so new input should be appended at the cursor position, rather than clearing the entry
  1495. </div>
  1496. <div class="markdown level1 conceptual"></div>
  1497. <h5 class="decalaration">Declaration</h5>
  1498. <div class="codewrapper">
  1499. <pre><code class="lang-csharp hljs">public bool Used { get; set; }</code></pre>
  1500. </div>
  1501. <h5 class="propertyValue">Property Value</h5>
  1502. <table class="table table-bordered table-striped table-condensed">
  1503. <thead>
  1504. <tr>
  1505. <th>Type</th>
  1506. <th>Description</th>
  1507. </tr>
  1508. </thead>
  1509. <tbody>
  1510. <tr>
  1511. <td><span class="xref">System.Boolean</span></td>
  1512. <td></td>
  1513. </tr>
  1514. </tbody>
  1515. </table>
  1516. <span class="small pull-right mobile-hide">
  1517. <span class="divider">|</span>
  1518. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_WordWrap.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.WordWrap%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1519. </span>
  1520. <span class="small pull-right mobile-hide">
  1521. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1637">View Source</a>
  1522. </span>
  1523. <a id="Terminal_Gui_TextView_WordWrap_" data-uid="Terminal.Gui.TextView.WordWrap*"></a>
  1524. <h4 id="Terminal_Gui_TextView_WordWrap" data-uid="Terminal.Gui.TextView.WordWrap">WordWrap</h4>
  1525. <div class="markdown level1 summary">
  1526. Allows word wrap the to fit the available container width.
  1527. </div>
  1528. <div class="markdown level1 conceptual"></div>
  1529. <h5 class="decalaration">Declaration</h5>
  1530. <div class="codewrapper">
  1531. <pre><code class="lang-csharp hljs">public bool WordWrap { get; set; }</code></pre>
  1532. </div>
  1533. <h5 class="propertyValue">Property Value</h5>
  1534. <table class="table table-bordered table-striped table-condensed">
  1535. <thead>
  1536. <tr>
  1537. <th>Type</th>
  1538. <th>Description</th>
  1539. </tr>
  1540. </thead>
  1541. <tbody>
  1542. <tr>
  1543. <td><span class="xref">System.Boolean</span></td>
  1544. <td></td>
  1545. </tr>
  1546. </tbody>
  1547. </table>
  1548. <h3 id="methods">Methods
  1549. </h3>
  1550. <span class="small pull-right mobile-hide">
  1551. <span class="divider">|</span>
  1552. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_ClearHistoryChanges.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.ClearHistoryChanges%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1553. </span>
  1554. <span class="small pull-right mobile-hide">
  1555. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L4420">View Source</a>
  1556. </span>
  1557. <a id="Terminal_Gui_TextView_ClearHistoryChanges_" data-uid="Terminal.Gui.TextView.ClearHistoryChanges*"></a>
  1558. <h4 id="Terminal_Gui_TextView_ClearHistoryChanges" data-uid="Terminal.Gui.TextView.ClearHistoryChanges">ClearHistoryChanges()</h4>
  1559. <div class="markdown level1 summary">
  1560. Allows clearing the <span class="xref">Terminal.Gui.HistoryText.HistoryTextItem</span> items updating the original text.
  1561. </div>
  1562. <div class="markdown level1 conceptual"></div>
  1563. <h5 class="decalaration">Declaration</h5>
  1564. <div class="codewrapper">
  1565. <pre><code class="lang-csharp hljs">public void ClearHistoryChanges()</code></pre>
  1566. </div>
  1567. <span class="small pull-right mobile-hide">
  1568. <span class="divider">|</span>
  1569. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_CloseFile.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.CloseFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1570. </span>
  1571. <span class="small pull-right mobile-hide">
  1572. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1868">View Source</a>
  1573. </span>
  1574. <a id="Terminal_Gui_TextView_CloseFile_" data-uid="Terminal.Gui.TextView.CloseFile*"></a>
  1575. <h4 id="Terminal_Gui_TextView_CloseFile" data-uid="Terminal.Gui.TextView.CloseFile">CloseFile()</h4>
  1576. <div class="markdown level1 summary">
  1577. Closes the contents of the stream into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1578. </div>
  1579. <div class="markdown level1 conceptual"></div>
  1580. <h5 class="decalaration">Declaration</h5>
  1581. <div class="codewrapper">
  1582. <pre><code class="lang-csharp hljs">public bool CloseFile()</code></pre>
  1583. </div>
  1584. <h5 class="returns">Returns</h5>
  1585. <table class="table table-bordered table-striped table-condensed">
  1586. <thead>
  1587. <tr>
  1588. <th>Type</th>
  1589. <th>Description</th>
  1590. </tr>
  1591. </thead>
  1592. <tbody>
  1593. <tr>
  1594. <td><span class="xref">System.Boolean</span></td>
  1595. <td><code>true</code>, if stream was closed, <code>false</code> otherwise.</td>
  1596. </tr>
  1597. </tbody>
  1598. </table>
  1599. <span class="small pull-right mobile-hide">
  1600. <span class="divider">|</span>
  1601. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Copy.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Copy%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1602. </span>
  1603. <span class="small pull-right mobile-hide">
  1604. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3855">View Source</a>
  1605. </span>
  1606. <a id="Terminal_Gui_TextView_Copy_" data-uid="Terminal.Gui.TextView.Copy*"></a>
  1607. <h4 id="Terminal_Gui_TextView_Copy" data-uid="Terminal.Gui.TextView.Copy">Copy()</h4>
  1608. <div class="markdown level1 summary">
  1609. Copy the selected text to the clipboard contents.
  1610. </div>
  1611. <div class="markdown level1 conceptual"></div>
  1612. <h5 class="decalaration">Declaration</h5>
  1613. <div class="codewrapper">
  1614. <pre><code class="lang-csharp hljs">public void Copy()</code></pre>
  1615. </div>
  1616. <span class="small pull-right mobile-hide">
  1617. <span class="divider">|</span>
  1618. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Cut.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Cut%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1619. </span>
  1620. <span class="small pull-right mobile-hide">
  1621. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3873">View Source</a>
  1622. </span>
  1623. <a id="Terminal_Gui_TextView_Cut_" data-uid="Terminal.Gui.TextView.Cut*"></a>
  1624. <h4 id="Terminal_Gui_TextView_Cut" data-uid="Terminal.Gui.TextView.Cut">Cut()</h4>
  1625. <div class="markdown level1 summary">
  1626. Cut the selected text to the clipboard contents.
  1627. </div>
  1628. <div class="markdown level1 conceptual"></div>
  1629. <h5 class="decalaration">Declaration</h5>
  1630. <div class="codewrapper">
  1631. <pre><code class="lang-csharp hljs">public void Cut()</code></pre>
  1632. </div>
  1633. <span class="small pull-right mobile-hide">
  1634. <span class="divider">|</span>
  1635. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_DeleteAll.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.DeleteAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1636. </span>
  1637. <span class="small pull-right mobile-hide">
  1638. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3695">View Source</a>
  1639. </span>
  1640. <a id="Terminal_Gui_TextView_DeleteAll_" data-uid="Terminal.Gui.TextView.DeleteAll*"></a>
  1641. <h4 id="Terminal_Gui_TextView_DeleteAll" data-uid="Terminal.Gui.TextView.DeleteAll">DeleteAll()</h4>
  1642. <div class="markdown level1 summary">
  1643. Deletes all text.
  1644. </div>
  1645. <div class="markdown level1 conceptual"></div>
  1646. <h5 class="decalaration">Declaration</h5>
  1647. <div class="codewrapper">
  1648. <pre><code class="lang-csharp hljs">public void DeleteAll()</code></pre>
  1649. </div>
  1650. <span class="small pull-right mobile-hide">
  1651. <span class="divider">|</span>
  1652. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_DeleteCharLeft.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.DeleteCharLeft%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1653. </span>
  1654. <span class="small pull-right mobile-hide">
  1655. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3508">View Source</a>
  1656. </span>
  1657. <a id="Terminal_Gui_TextView_DeleteCharLeft_" data-uid="Terminal.Gui.TextView.DeleteCharLeft*"></a>
  1658. <h4 id="Terminal_Gui_TextView_DeleteCharLeft" data-uid="Terminal.Gui.TextView.DeleteCharLeft">DeleteCharLeft()</h4>
  1659. <div class="markdown level1 summary">
  1660. Deletes all the selected or a single character at left from the position of the cursor.
  1661. </div>
  1662. <div class="markdown level1 conceptual"></div>
  1663. <h5 class="decalaration">Declaration</h5>
  1664. <div class="codewrapper">
  1665. <pre><code class="lang-csharp hljs">public void DeleteCharLeft()</code></pre>
  1666. </div>
  1667. <span class="small pull-right mobile-hide">
  1668. <span class="divider">|</span>
  1669. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_DeleteCharRight.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.DeleteCharRight%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1670. </span>
  1671. <span class="small pull-right mobile-hide">
  1672. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3472">View Source</a>
  1673. </span>
  1674. <a id="Terminal_Gui_TextView_DeleteCharRight_" data-uid="Terminal.Gui.TextView.DeleteCharRight*"></a>
  1675. <h4 id="Terminal_Gui_TextView_DeleteCharRight" data-uid="Terminal.Gui.TextView.DeleteCharRight">DeleteCharRight()</h4>
  1676. <div class="markdown level1 summary">
  1677. Deletes all the selected or a single character at right from the position of the cursor.
  1678. </div>
  1679. <div class="markdown level1 conceptual"></div>
  1680. <h5 class="decalaration">Declaration</h5>
  1681. <div class="codewrapper">
  1682. <pre><code class="lang-csharp hljs">public void DeleteCharRight()</code></pre>
  1683. </div>
  1684. <span class="small pull-right mobile-hide">
  1685. <span class="divider">|</span>
  1686. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_FindNextText_NStack_ustring_System_Boolean__System_Boolean_System_Boolean_NStack_ustring_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.FindNextText(NStack.ustring%2CSystem.Boolean%40%2CSystem.Boolean%2CSystem.Boolean%2CNStack.ustring%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1687. </span>
  1688. <span class="small pull-right mobile-hide">
  1689. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2194">View Source</a>
  1690. </span>
  1691. <a id="Terminal_Gui_TextView_FindNextText_" data-uid="Terminal.Gui.TextView.FindNextText*"></a>
  1692. <h4 id="Terminal_Gui_TextView_FindNextText_NStack_ustring_System_Boolean__System_Boolean_System_Boolean_NStack_ustring_System_Boolean_" data-uid="Terminal.Gui.TextView.FindNextText(NStack.ustring,System.Boolean@,System.Boolean,System.Boolean,NStack.ustring,System.Boolean)">FindNextText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean)</h4>
  1693. <div class="markdown level1 summary">
  1694. Find the next text based on the match case with the option to replace it.
  1695. </div>
  1696. <div class="markdown level1 conceptual"></div>
  1697. <h5 class="decalaration">Declaration</h5>
  1698. <div class="codewrapper">
  1699. <pre><code class="lang-csharp hljs">public bool FindNextText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false)</code></pre>
  1700. </div>
  1701. <h5 class="parameters">Parameters</h5>
  1702. <table class="table table-bordered table-striped table-condensed">
  1703. <thead>
  1704. <tr>
  1705. <th>Type</th>
  1706. <th>Name</th>
  1707. <th>Description</th>
  1708. </tr>
  1709. </thead>
  1710. <tbody>
  1711. <tr>
  1712. <td><span class="xref">NStack.ustring</span></td>
  1713. <td><span class="parametername">textToFind</span></td>
  1714. <td>The text to find.</td>
  1715. </tr>
  1716. <tr>
  1717. <td><span class="xref">System.Boolean</span></td>
  1718. <td><span class="parametername">gaveFullTurn</span></td>
  1719. <td><code>true</code>If all the text was forward searched.<code>false</code>otherwise.</td>
  1720. </tr>
  1721. <tr>
  1722. <td><span class="xref">System.Boolean</span></td>
  1723. <td><span class="parametername">matchCase</span></td>
  1724. <td>The match case setting.</td>
  1725. </tr>
  1726. <tr>
  1727. <td><span class="xref">System.Boolean</span></td>
  1728. <td><span class="parametername">matchWholeWord</span></td>
  1729. <td>The match whole word setting.</td>
  1730. </tr>
  1731. <tr>
  1732. <td><span class="xref">NStack.ustring</span></td>
  1733. <td><span class="parametername">textToReplace</span></td>
  1734. <td>The text to replace.</td>
  1735. </tr>
  1736. <tr>
  1737. <td><span class="xref">System.Boolean</span></td>
  1738. <td><span class="parametername">replace</span></td>
  1739. <td><code>true</code>If is replacing.<code>false</code>otherwise.</td>
  1740. </tr>
  1741. </tbody>
  1742. </table>
  1743. <h5 class="returns">Returns</h5>
  1744. <table class="table table-bordered table-striped table-condensed">
  1745. <thead>
  1746. <tr>
  1747. <th>Type</th>
  1748. <th>Description</th>
  1749. </tr>
  1750. </thead>
  1751. <tbody>
  1752. <tr>
  1753. <td><span class="xref">System.Boolean</span></td>
  1754. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  1755. </tr>
  1756. </tbody>
  1757. </table>
  1758. <span class="small pull-right mobile-hide">
  1759. <span class="divider">|</span>
  1760. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_FindPreviousText_NStack_ustring_System_Boolean__System_Boolean_System_Boolean_NStack_ustring_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.FindPreviousText(NStack.ustring%2CSystem.Boolean%40%2CSystem.Boolean%2CSystem.Boolean%2CNStack.ustring%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1761. </span>
  1762. <span class="small pull-right mobile-hide">
  1763. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2219">View Source</a>
  1764. </span>
  1765. <a id="Terminal_Gui_TextView_FindPreviousText_" data-uid="Terminal.Gui.TextView.FindPreviousText*"></a>
  1766. <h4 id="Terminal_Gui_TextView_FindPreviousText_NStack_ustring_System_Boolean__System_Boolean_System_Boolean_NStack_ustring_System_Boolean_" data-uid="Terminal.Gui.TextView.FindPreviousText(NStack.ustring,System.Boolean@,System.Boolean,System.Boolean,NStack.ustring,System.Boolean)">FindPreviousText(ustring, out Boolean, Boolean, Boolean, ustring, Boolean)</h4>
  1767. <div class="markdown level1 summary">
  1768. Find the previous text based on the match case with the option to replace it.
  1769. </div>
  1770. <div class="markdown level1 conceptual"></div>
  1771. <h5 class="decalaration">Declaration</h5>
  1772. <div class="codewrapper">
  1773. <pre><code class="lang-csharp hljs">public bool FindPreviousText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false)</code></pre>
  1774. </div>
  1775. <h5 class="parameters">Parameters</h5>
  1776. <table class="table table-bordered table-striped table-condensed">
  1777. <thead>
  1778. <tr>
  1779. <th>Type</th>
  1780. <th>Name</th>
  1781. <th>Description</th>
  1782. </tr>
  1783. </thead>
  1784. <tbody>
  1785. <tr>
  1786. <td><span class="xref">NStack.ustring</span></td>
  1787. <td><span class="parametername">textToFind</span></td>
  1788. <td>The text to find.</td>
  1789. </tr>
  1790. <tr>
  1791. <td><span class="xref">System.Boolean</span></td>
  1792. <td><span class="parametername">gaveFullTurn</span></td>
  1793. <td><code>true</code>If all the text was backward searched.<code>false</code>otherwise.</td>
  1794. </tr>
  1795. <tr>
  1796. <td><span class="xref">System.Boolean</span></td>
  1797. <td><span class="parametername">matchCase</span></td>
  1798. <td>The match case setting.</td>
  1799. </tr>
  1800. <tr>
  1801. <td><span class="xref">System.Boolean</span></td>
  1802. <td><span class="parametername">matchWholeWord</span></td>
  1803. <td>The match whole word setting.</td>
  1804. </tr>
  1805. <tr>
  1806. <td><span class="xref">NStack.ustring</span></td>
  1807. <td><span class="parametername">textToReplace</span></td>
  1808. <td>The text to replace.</td>
  1809. </tr>
  1810. <tr>
  1811. <td><span class="xref">System.Boolean</span></td>
  1812. <td><span class="parametername">replace</span></td>
  1813. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  1814. </tr>
  1815. </tbody>
  1816. </table>
  1817. <h5 class="returns">Returns</h5>
  1818. <table class="table table-bordered table-striped table-condensed">
  1819. <thead>
  1820. <tr>
  1821. <th>Type</th>
  1822. <th>Description</th>
  1823. </tr>
  1824. </thead>
  1825. <tbody>
  1826. <tr>
  1827. <td><span class="xref">System.Boolean</span></td>
  1828. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  1829. </tr>
  1830. </tbody>
  1831. </table>
  1832. <span class="small pull-right mobile-hide">
  1833. <span class="divider">|</span>
  1834. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_FindTextChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.FindTextChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1835. </span>
  1836. <span class="small pull-right mobile-hide">
  1837. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2237">View Source</a>
  1838. </span>
  1839. <a id="Terminal_Gui_TextView_FindTextChanged_" data-uid="Terminal.Gui.TextView.FindTextChanged*"></a>
  1840. <h4 id="Terminal_Gui_TextView_FindTextChanged" data-uid="Terminal.Gui.TextView.FindTextChanged">FindTextChanged()</h4>
  1841. <div class="markdown level1 summary">
  1842. Reset the flag to stop continuous find.
  1843. </div>
  1844. <div class="markdown level1 conceptual"></div>
  1845. <h5 class="decalaration">Declaration</h5>
  1846. <div class="codewrapper">
  1847. <pre><code class="lang-csharp hljs">public void FindTextChanged()</code></pre>
  1848. </div>
  1849. <span class="small pull-right mobile-hide">
  1850. <span class="divider">|</span>
  1851. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_GetCurrentLine.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.GetCurrentLine%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1852. </span>
  1853. <span class="small pull-right mobile-hide">
  1854. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2548">View Source</a>
  1855. </span>
  1856. <a id="Terminal_Gui_TextView_GetCurrentLine_" data-uid="Terminal.Gui.TextView.GetCurrentLine*"></a>
  1857. <h4 id="Terminal_Gui_TextView_GetCurrentLine" data-uid="Terminal.Gui.TextView.GetCurrentLine">GetCurrentLine()</h4>
  1858. <div class="markdown level1 summary">
  1859. Returns the characters on the current line (where the cursor is positioned).
  1860. Use <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_CurrentColumn">CurrentColumn</a> to determine the position of the cursor within
  1861. that line
  1862. </div>
  1863. <div class="markdown level1 conceptual"></div>
  1864. <h5 class="decalaration">Declaration</h5>
  1865. <div class="codewrapper">
  1866. <pre><code class="lang-csharp hljs">public List&lt;Rune&gt; GetCurrentLine()</code></pre>
  1867. </div>
  1868. <h5 class="returns">Returns</h5>
  1869. <table class="table table-bordered table-striped table-condensed">
  1870. <thead>
  1871. <tr>
  1872. <th>Type</th>
  1873. <th>Description</th>
  1874. </tr>
  1875. </thead>
  1876. <tbody>
  1877. <tr>
  1878. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  1879. <td></td>
  1880. </tr>
  1881. </tbody>
  1882. </table>
  1883. <span class="small pull-right mobile-hide">
  1884. <span class="divider">|</span>
  1885. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_GetNormalColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.GetNormalColor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1886. </span>
  1887. <span class="small pull-right mobile-hide">
  1888. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2462">View Source</a>
  1889. </span>
  1890. <a id="Terminal_Gui_TextView_GetNormalColor_" data-uid="Terminal.Gui.TextView.GetNormalColor*"></a>
  1891. <h4 id="Terminal_Gui_TextView_GetNormalColor" data-uid="Terminal.Gui.TextView.GetNormalColor">GetNormalColor()</h4>
  1892. <div class="markdown level1 summary"></div>
  1893. <div class="markdown level1 conceptual"></div>
  1894. <h5 class="decalaration">Declaration</h5>
  1895. <div class="codewrapper">
  1896. <pre><code class="lang-csharp hljs">public override Attribute GetNormalColor()</code></pre>
  1897. </div>
  1898. <h5 class="returns">Returns</h5>
  1899. <table class="table table-bordered table-striped table-condensed">
  1900. <thead>
  1901. <tr>
  1902. <th>Type</th>
  1903. <th>Description</th>
  1904. </tr>
  1905. </thead>
  1906. <tbody>
  1907. <tr>
  1908. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  1909. <td></td>
  1910. </tr>
  1911. </tbody>
  1912. </table>
  1913. <h5 class="overrides">Overrides</h5>
  1914. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a></div>
  1915. <span class="small pull-right mobile-hide">
  1916. <span class="divider">|</span>
  1917. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_InsertText_System_String_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.InsertText(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1918. </span>
  1919. <span class="small pull-right mobile-hide">
  1920. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2491">View Source</a>
  1921. </span>
  1922. <a id="Terminal_Gui_TextView_InsertText_" data-uid="Terminal.Gui.TextView.InsertText*"></a>
  1923. <h4 id="Terminal_Gui_TextView_InsertText_System_String_" data-uid="Terminal.Gui.TextView.InsertText(System.String)">InsertText(String)</h4>
  1924. <div class="markdown level1 summary">
  1925. Inserts the given <code data-dev-comment-type="paramref" class="paramref">toAdd</code> text at the current cursor position
  1926. exactly as if the user had just typed it
  1927. </div>
  1928. <div class="markdown level1 conceptual"></div>
  1929. <h5 class="decalaration">Declaration</h5>
  1930. <div class="codewrapper">
  1931. <pre><code class="lang-csharp hljs">public void InsertText(string toAdd)</code></pre>
  1932. </div>
  1933. <h5 class="parameters">Parameters</h5>
  1934. <table class="table table-bordered table-striped table-condensed">
  1935. <thead>
  1936. <tr>
  1937. <th>Type</th>
  1938. <th>Name</th>
  1939. <th>Description</th>
  1940. </tr>
  1941. </thead>
  1942. <tbody>
  1943. <tr>
  1944. <td><span class="xref">System.String</span></td>
  1945. <td><span class="parametername">toAdd</span></td>
  1946. <td>Text to add</td>
  1947. </tr>
  1948. </tbody>
  1949. </table>
  1950. <span class="small pull-right mobile-hide">
  1951. <span class="divider">|</span>
  1952. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_LoadFile_System_String_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.LoadFile(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1953. </span>
  1954. <span class="small pull-right mobile-hide">
  1955. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1835">View Source</a>
  1956. </span>
  1957. <a id="Terminal_Gui_TextView_LoadFile_" data-uid="Terminal.Gui.TextView.LoadFile*"></a>
  1958. <h4 id="Terminal_Gui_TextView_LoadFile_System_String_" data-uid="Terminal.Gui.TextView.LoadFile(System.String)">LoadFile(String)</h4>
  1959. <div class="markdown level1 summary">
  1960. Loads the contents of the file into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1961. </div>
  1962. <div class="markdown level1 conceptual"></div>
  1963. <h5 class="decalaration">Declaration</h5>
  1964. <div class="codewrapper">
  1965. <pre><code class="lang-csharp hljs">public bool LoadFile(string path)</code></pre>
  1966. </div>
  1967. <h5 class="parameters">Parameters</h5>
  1968. <table class="table table-bordered table-striped table-condensed">
  1969. <thead>
  1970. <tr>
  1971. <th>Type</th>
  1972. <th>Name</th>
  1973. <th>Description</th>
  1974. </tr>
  1975. </thead>
  1976. <tbody>
  1977. <tr>
  1978. <td><span class="xref">System.String</span></td>
  1979. <td><span class="parametername">path</span></td>
  1980. <td>Path to the file to load.</td>
  1981. </tr>
  1982. </tbody>
  1983. </table>
  1984. <h5 class="returns">Returns</h5>
  1985. <table class="table table-bordered table-striped table-condensed">
  1986. <thead>
  1987. <tr>
  1988. <th>Type</th>
  1989. <th>Description</th>
  1990. </tr>
  1991. </thead>
  1992. <tbody>
  1993. <tr>
  1994. <td><span class="xref">System.Boolean</span></td>
  1995. <td><code>true</code>, if file was loaded, <code>false</code> otherwise.</td>
  1996. </tr>
  1997. </tbody>
  1998. </table>
  1999. <span class="small pull-right mobile-hide">
  2000. <span class="divider">|</span>
  2001. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_LoadStream_System_IO_Stream_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.LoadStream(System.IO.Stream)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2002. </span>
  2003. <span class="small pull-right mobile-hide">
  2004. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1857">View Source</a>
  2005. </span>
  2006. <a id="Terminal_Gui_TextView_LoadStream_" data-uid="Terminal.Gui.TextView.LoadStream*"></a>
  2007. <h4 id="Terminal_Gui_TextView_LoadStream_System_IO_Stream_" data-uid="Terminal.Gui.TextView.LoadStream(System.IO.Stream)">LoadStream(Stream)</h4>
  2008. <div class="markdown level1 summary">
  2009. Loads the contents of the stream into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  2010. </div>
  2011. <div class="markdown level1 conceptual"></div>
  2012. <h5 class="decalaration">Declaration</h5>
  2013. <div class="codewrapper">
  2014. <pre><code class="lang-csharp hljs">public void LoadStream(Stream stream)</code></pre>
  2015. </div>
  2016. <h5 class="parameters">Parameters</h5>
  2017. <table class="table table-bordered table-striped table-condensed">
  2018. <thead>
  2019. <tr>
  2020. <th>Type</th>
  2021. <th>Name</th>
  2022. <th>Description</th>
  2023. </tr>
  2024. </thead>
  2025. <tbody>
  2026. <tr>
  2027. <td><span class="xref">System.IO.Stream</span></td>
  2028. <td><span class="parametername">stream</span></td>
  2029. <td>Stream to load the contents from.</td>
  2030. </tr>
  2031. </tbody>
  2032. </table>
  2033. <span class="small pull-right mobile-hide">
  2034. <span class="divider">|</span>
  2035. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.MouseEvent(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2036. </span>
  2037. <span class="small pull-right mobile-hide">
  2038. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L4231">View Source</a>
  2039. </span>
  2040. <a id="Terminal_Gui_TextView_MouseEvent_" data-uid="Terminal.Gui.TextView.MouseEvent*"></a>
  2041. <h4 id="Terminal_Gui_TextView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.TextView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  2042. <div class="markdown level1 summary"></div>
  2043. <div class="markdown level1 conceptual"></div>
  2044. <h5 class="decalaration">Declaration</h5>
  2045. <div class="codewrapper">
  2046. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent ev)</code></pre>
  2047. </div>
  2048. <h5 class="parameters">Parameters</h5>
  2049. <table class="table table-bordered table-striped table-condensed">
  2050. <thead>
  2051. <tr>
  2052. <th>Type</th>
  2053. <th>Name</th>
  2054. <th>Description</th>
  2055. </tr>
  2056. </thead>
  2057. <tbody>
  2058. <tr>
  2059. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  2060. <td><span class="parametername">ev</span></td>
  2061. <td></td>
  2062. </tr>
  2063. </tbody>
  2064. </table>
  2065. <h5 class="returns">Returns</h5>
  2066. <table class="table table-bordered table-striped table-condensed">
  2067. <thead>
  2068. <tr>
  2069. <th>Type</th>
  2070. <th>Description</th>
  2071. </tr>
  2072. </thead>
  2073. <tbody>
  2074. <tr>
  2075. <td><span class="xref">System.Boolean</span></td>
  2076. <td></td>
  2077. </tr>
  2078. </tbody>
  2079. </table>
  2080. <h5 class="overrides">Overrides</h5>
  2081. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  2082. <span class="small pull-right mobile-hide">
  2083. <span class="divider">|</span>
  2084. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_MoveEnd.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.MoveEnd%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2085. </span>
  2086. <span class="small pull-right mobile-hide">
  2087. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L4031">View Source</a>
  2088. </span>
  2089. <a id="Terminal_Gui_TextView_MoveEnd_" data-uid="Terminal.Gui.TextView.MoveEnd*"></a>
  2090. <h4 id="Terminal_Gui_TextView_MoveEnd" data-uid="Terminal.Gui.TextView.MoveEnd">MoveEnd()</h4>
  2091. <div class="markdown level1 summary">
  2092. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to the last line and position the cursor there.
  2093. </div>
  2094. <div class="markdown level1 conceptual"></div>
  2095. <h5 class="decalaration">Declaration</h5>
  2096. <div class="codewrapper">
  2097. <pre><code class="lang-csharp hljs">public void MoveEnd()</code></pre>
  2098. </div>
  2099. <span class="small pull-right mobile-hide">
  2100. <span class="divider">|</span>
  2101. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_MoveHome.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.MoveHome%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2102. </span>
  2103. <span class="small pull-right mobile-hide">
  2104. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L4043">View Source</a>
  2105. </span>
  2106. <a id="Terminal_Gui_TextView_MoveHome_" data-uid="Terminal.Gui.TextView.MoveHome*"></a>
  2107. <h4 id="Terminal_Gui_TextView_MoveHome" data-uid="Terminal.Gui.TextView.MoveHome">MoveHome()</h4>
  2108. <div class="markdown level1 summary">
  2109. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to the first line and position the cursor there.
  2110. </div>
  2111. <div class="markdown level1 conceptual"></div>
  2112. <h5 class="decalaration">Declaration</h5>
  2113. <div class="codewrapper">
  2114. <pre><code class="lang-csharp hljs">public void MoveHome()</code></pre>
  2115. </div>
  2116. <span class="small pull-right mobile-hide">
  2117. <span class="divider">|</span>
  2118. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.OnEnter(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2119. </span>
  2120. <span class="small pull-right mobile-hide">
  2121. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2036">View Source</a>
  2122. </span>
  2123. <a id="Terminal_Gui_TextView_OnEnter_" data-uid="Terminal.Gui.TextView.OnEnter*"></a>
  2124. <h4 id="Terminal_Gui_TextView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.TextView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  2125. <div class="markdown level1 summary"></div>
  2126. <div class="markdown level1 conceptual"></div>
  2127. <h5 class="decalaration">Declaration</h5>
  2128. <div class="codewrapper">
  2129. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  2130. </div>
  2131. <h5 class="parameters">Parameters</h5>
  2132. <table class="table table-bordered table-striped table-condensed">
  2133. <thead>
  2134. <tr>
  2135. <th>Type</th>
  2136. <th>Name</th>
  2137. <th>Description</th>
  2138. </tr>
  2139. </thead>
  2140. <tbody>
  2141. <tr>
  2142. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  2143. <td><span class="parametername">view</span></td>
  2144. <td></td>
  2145. </tr>
  2146. </tbody>
  2147. </table>
  2148. <h5 class="returns">Returns</h5>
  2149. <table class="table table-bordered table-striped table-condensed">
  2150. <thead>
  2151. <tr>
  2152. <th>Type</th>
  2153. <th>Description</th>
  2154. </tr>
  2155. </thead>
  2156. <tbody>
  2157. <tr>
  2158. <td><span class="xref">System.Boolean</span></td>
  2159. <td></td>
  2160. </tr>
  2161. </tbody>
  2162. </table>
  2163. <h5 class="overrides">Overrides</h5>
  2164. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  2165. <span class="small pull-right mobile-hide">
  2166. <span class="divider">|</span>
  2167. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_OnKeyUp_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.OnKeyUp(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2168. </span>
  2169. <span class="small pull-right mobile-hide">
  2170. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3709">View Source</a>
  2171. </span>
  2172. <a id="Terminal_Gui_TextView_OnKeyUp_" data-uid="Terminal.Gui.TextView.OnKeyUp*"></a>
  2173. <h4 id="Terminal_Gui_TextView_OnKeyUp_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TextView.OnKeyUp(Terminal.Gui.KeyEvent)">OnKeyUp(KeyEvent)</h4>
  2174. <div class="markdown level1 summary"></div>
  2175. <div class="markdown level1 conceptual"></div>
  2176. <h5 class="decalaration">Declaration</h5>
  2177. <div class="codewrapper">
  2178. <pre><code class="lang-csharp hljs">public override bool OnKeyUp(KeyEvent kb)</code></pre>
  2179. </div>
  2180. <h5 class="parameters">Parameters</h5>
  2181. <table class="table table-bordered table-striped table-condensed">
  2182. <thead>
  2183. <tr>
  2184. <th>Type</th>
  2185. <th>Name</th>
  2186. <th>Description</th>
  2187. </tr>
  2188. </thead>
  2189. <tbody>
  2190. <tr>
  2191. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  2192. <td><span class="parametername">kb</span></td>
  2193. <td></td>
  2194. </tr>
  2195. </tbody>
  2196. </table>
  2197. <h5 class="returns">Returns</h5>
  2198. <table class="table table-bordered table-striped table-condensed">
  2199. <thead>
  2200. <tr>
  2201. <th>Type</th>
  2202. <th>Description</th>
  2203. </tr>
  2204. </thead>
  2205. <tbody>
  2206. <tr>
  2207. <td><span class="xref">System.Boolean</span></td>
  2208. <td></td>
  2209. </tr>
  2210. </tbody>
  2211. </table>
  2212. <h5 class="overrides">Overrides</h5>
  2213. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a></div>
  2214. <span class="small pull-right mobile-hide">
  2215. <span class="divider">|</span>
  2216. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_OnLeave_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.OnLeave(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2217. </span>
  2218. <span class="small pull-right mobile-hide">
  2219. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L4408">View Source</a>
  2220. </span>
  2221. <a id="Terminal_Gui_TextView_OnLeave_" data-uid="Terminal.Gui.TextView.OnLeave*"></a>
  2222. <h4 id="Terminal_Gui_TextView_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.TextView.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  2223. <div class="markdown level1 summary"></div>
  2224. <div class="markdown level1 conceptual"></div>
  2225. <h5 class="decalaration">Declaration</h5>
  2226. <div class="codewrapper">
  2227. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  2228. </div>
  2229. <h5 class="parameters">Parameters</h5>
  2230. <table class="table table-bordered table-striped table-condensed">
  2231. <thead>
  2232. <tr>
  2233. <th>Type</th>
  2234. <th>Name</th>
  2235. <th>Description</th>
  2236. </tr>
  2237. </thead>
  2238. <tbody>
  2239. <tr>
  2240. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  2241. <td><span class="parametername">view</span></td>
  2242. <td></td>
  2243. </tr>
  2244. </tbody>
  2245. </table>
  2246. <h5 class="returns">Returns</h5>
  2247. <table class="table table-bordered table-striped table-condensed">
  2248. <thead>
  2249. <tr>
  2250. <th>Type</th>
  2251. <th>Description</th>
  2252. </tr>
  2253. </thead>
  2254. <tbody>
  2255. <tr>
  2256. <td><span class="xref">System.Boolean</span></td>
  2257. <td></td>
  2258. </tr>
  2259. </tbody>
  2260. </table>
  2261. <h5 class="overrides">Overrides</h5>
  2262. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  2263. <span class="small pull-right mobile-hide">
  2264. <span class="divider">|</span>
  2265. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_OnUnwrappedCursorPosition_System_Nullable_System_Int32__System_Nullable_System_Int32__.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.OnUnwrappedCursorPosition(System.Nullable%7BSystem.Int32%7D%2CSystem.Nullable%7BSystem.Int32%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2266. </span>
  2267. <span class="small pull-right mobile-hide">
  2268. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2355">View Source</a>
  2269. </span>
  2270. <a id="Terminal_Gui_TextView_OnUnwrappedCursorPosition_" data-uid="Terminal.Gui.TextView.OnUnwrappedCursorPosition*"></a>
  2271. <h4 id="Terminal_Gui_TextView_OnUnwrappedCursorPosition_System_Nullable_System_Int32__System_Nullable_System_Int32__" data-uid="Terminal.Gui.TextView.OnUnwrappedCursorPosition(System.Nullable{System.Int32},System.Nullable{System.Int32})">OnUnwrappedCursorPosition(Nullable&lt;Int32&gt;, Nullable&lt;Int32&gt;)</h4>
  2272. <div class="markdown level1 summary">
  2273. Invoke the <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_UnwrappedCursorPosition">UnwrappedCursorPosition</a> event with the unwrapped <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_CursorPosition">CursorPosition</a>.
  2274. </div>
  2275. <div class="markdown level1 conceptual"></div>
  2276. <h5 class="decalaration">Declaration</h5>
  2277. <div class="codewrapper">
  2278. <pre><code class="lang-csharp hljs">public virtual void OnUnwrappedCursorPosition(int? cRow = null, int? cCol = null)</code></pre>
  2279. </div>
  2280. <h5 class="parameters">Parameters</h5>
  2281. <table class="table table-bordered table-striped table-condensed">
  2282. <thead>
  2283. <tr>
  2284. <th>Type</th>
  2285. <th>Name</th>
  2286. <th>Description</th>
  2287. </tr>
  2288. </thead>
  2289. <tbody>
  2290. <tr>
  2291. <td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;</td>
  2292. <td><span class="parametername">cRow</span></td>
  2293. <td></td>
  2294. </tr>
  2295. <tr>
  2296. <td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;</td>
  2297. <td><span class="parametername">cCol</span></td>
  2298. <td></td>
  2299. </tr>
  2300. </tbody>
  2301. </table>
  2302. <span class="small pull-right mobile-hide">
  2303. <span class="divider">|</span>
  2304. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Paste.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Paste%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2305. </span>
  2306. <span class="small pull-right mobile-hide">
  2307. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L3891">View Source</a>
  2308. </span>
  2309. <a id="Terminal_Gui_TextView_Paste_" data-uid="Terminal.Gui.TextView.Paste*"></a>
  2310. <h4 id="Terminal_Gui_TextView_Paste" data-uid="Terminal.Gui.TextView.Paste">Paste()</h4>
  2311. <div class="markdown level1 summary">
  2312. Paste the clipboard contents into the current selected position.
  2313. </div>
  2314. <div class="markdown level1 conceptual"></div>
  2315. <h5 class="decalaration">Declaration</h5>
  2316. <div class="codewrapper">
  2317. <pre><code class="lang-csharp hljs">public void Paste()</code></pre>
  2318. </div>
  2319. <span class="small pull-right mobile-hide">
  2320. <span class="divider">|</span>
  2321. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_PositionCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.PositionCursor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2322. </span>
  2323. <span class="small pull-right mobile-hide">
  2324. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1890">View Source</a>
  2325. </span>
  2326. <a id="Terminal_Gui_TextView_PositionCursor_" data-uid="Terminal.Gui.TextView.PositionCursor*"></a>
  2327. <h4 id="Terminal_Gui_TextView_PositionCursor" data-uid="Terminal.Gui.TextView.PositionCursor">PositionCursor()</h4>
  2328. <div class="markdown level1 summary">
  2329. Positions the cursor on the current row and column
  2330. </div>
  2331. <div class="markdown level1 conceptual"></div>
  2332. <h5 class="decalaration">Declaration</h5>
  2333. <div class="codewrapper">
  2334. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  2335. </div>
  2336. <h5 class="overrides">Overrides</h5>
  2337. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  2338. <span class="small pull-right mobile-hide">
  2339. <span class="divider">|</span>
  2340. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.ProcessKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2341. </span>
  2342. <span class="small pull-right mobile-hide">
  2343. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2732">View Source</a>
  2344. </span>
  2345. <a id="Terminal_Gui_TextView_ProcessKey_" data-uid="Terminal.Gui.TextView.ProcessKey*"></a>
  2346. <h4 id="Terminal_Gui_TextView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TextView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  2347. <div class="markdown level1 summary"></div>
  2348. <div class="markdown level1 conceptual"></div>
  2349. <h5 class="decalaration">Declaration</h5>
  2350. <div class="codewrapper">
  2351. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  2352. </div>
  2353. <h5 class="parameters">Parameters</h5>
  2354. <table class="table table-bordered table-striped table-condensed">
  2355. <thead>
  2356. <tr>
  2357. <th>Type</th>
  2358. <th>Name</th>
  2359. <th>Description</th>
  2360. </tr>
  2361. </thead>
  2362. <tbody>
  2363. <tr>
  2364. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  2365. <td><span class="parametername">kb</span></td>
  2366. <td></td>
  2367. </tr>
  2368. </tbody>
  2369. </table>
  2370. <h5 class="returns">Returns</h5>
  2371. <table class="table table-bordered table-striped table-condensed">
  2372. <thead>
  2373. <tr>
  2374. <th>Type</th>
  2375. <th>Description</th>
  2376. </tr>
  2377. </thead>
  2378. <tbody>
  2379. <tr>
  2380. <td><span class="xref">System.Boolean</span></td>
  2381. <td></td>
  2382. </tr>
  2383. </tbody>
  2384. </table>
  2385. <h5 class="overrides">Overrides</h5>
  2386. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  2387. <span class="small pull-right mobile-hide">
  2388. <span class="divider">|</span>
  2389. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.Redraw(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2390. </span>
  2391. <span class="small pull-right mobile-hide">
  2392. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2385">View Source</a>
  2393. </span>
  2394. <a id="Terminal_Gui_TextView_Redraw_" data-uid="Terminal.Gui.TextView.Redraw*"></a>
  2395. <h4 id="Terminal_Gui_TextView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TextView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  2396. <div class="markdown level1 summary"></div>
  2397. <div class="markdown level1 conceptual"></div>
  2398. <h5 class="decalaration">Declaration</h5>
  2399. <div class="codewrapper">
  2400. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  2401. </div>
  2402. <h5 class="parameters">Parameters</h5>
  2403. <table class="table table-bordered table-striped table-condensed">
  2404. <thead>
  2405. <tr>
  2406. <th>Type</th>
  2407. <th>Name</th>
  2408. <th>Description</th>
  2409. </tr>
  2410. </thead>
  2411. <tbody>
  2412. <tr>
  2413. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  2414. <td><span class="parametername">bounds</span></td>
  2415. <td></td>
  2416. </tr>
  2417. </tbody>
  2418. </table>
  2419. <h5 class="overrides">Overrides</h5>
  2420. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  2421. <span class="small pull-right mobile-hide">
  2422. <span class="divider">|</span>
  2423. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_ReplaceAllText_NStack_ustring_System_Boolean_System_Boolean_NStack_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.ReplaceAllText(NStack.ustring%2CSystem.Boolean%2CSystem.Boolean%2CNStack.ustring)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2424. </span>
  2425. <span class="small pull-right mobile-hide">
  2426. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2250">View Source</a>
  2427. </span>
  2428. <a id="Terminal_Gui_TextView_ReplaceAllText_" data-uid="Terminal.Gui.TextView.ReplaceAllText*"></a>
  2429. <h4 id="Terminal_Gui_TextView_ReplaceAllText_NStack_ustring_System_Boolean_System_Boolean_NStack_ustring_" data-uid="Terminal.Gui.TextView.ReplaceAllText(NStack.ustring,System.Boolean,System.Boolean,NStack.ustring)">ReplaceAllText(ustring, Boolean, Boolean, ustring)</h4>
  2430. <div class="markdown level1 summary">
  2431. Replaces all the text based on the match case.
  2432. </div>
  2433. <div class="markdown level1 conceptual"></div>
  2434. <h5 class="decalaration">Declaration</h5>
  2435. <div class="codewrapper">
  2436. <pre><code class="lang-csharp hljs">public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null)</code></pre>
  2437. </div>
  2438. <h5 class="parameters">Parameters</h5>
  2439. <table class="table table-bordered table-striped table-condensed">
  2440. <thead>
  2441. <tr>
  2442. <th>Type</th>
  2443. <th>Name</th>
  2444. <th>Description</th>
  2445. </tr>
  2446. </thead>
  2447. <tbody>
  2448. <tr>
  2449. <td><span class="xref">NStack.ustring</span></td>
  2450. <td><span class="parametername">textToFind</span></td>
  2451. <td>The text to find.</td>
  2452. </tr>
  2453. <tr>
  2454. <td><span class="xref">System.Boolean</span></td>
  2455. <td><span class="parametername">matchCase</span></td>
  2456. <td>The match case setting.</td>
  2457. </tr>
  2458. <tr>
  2459. <td><span class="xref">System.Boolean</span></td>
  2460. <td><span class="parametername">matchWholeWord</span></td>
  2461. <td>The match whole word setting.</td>
  2462. </tr>
  2463. <tr>
  2464. <td><span class="xref">NStack.ustring</span></td>
  2465. <td><span class="parametername">textToReplace</span></td>
  2466. <td>The text to replace.</td>
  2467. </tr>
  2468. </tbody>
  2469. </table>
  2470. <h5 class="returns">Returns</h5>
  2471. <table class="table table-bordered table-striped table-condensed">
  2472. <thead>
  2473. <tr>
  2474. <th>Type</th>
  2475. <th>Description</th>
  2476. </tr>
  2477. </thead>
  2478. <tbody>
  2479. <tr>
  2480. <td><span class="xref">System.Boolean</span></td>
  2481. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  2482. </tr>
  2483. </tbody>
  2484. </table>
  2485. <span class="small pull-right mobile-hide">
  2486. <span class="divider">|</span>
  2487. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_ScrollTo_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.ScrollTo(System.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2488. </span>
  2489. <span class="small pull-right mobile-hide">
  2490. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2713">View Source</a>
  2491. </span>
  2492. <a id="Terminal_Gui_TextView_ScrollTo_" data-uid="Terminal.Gui.TextView.ScrollTo*"></a>
  2493. <h4 id="Terminal_Gui_TextView_ScrollTo_System_Int32_System_Boolean_" data-uid="Terminal.Gui.TextView.ScrollTo(System.Int32,System.Boolean)">ScrollTo(Int32, Boolean)</h4>
  2494. <div class="markdown level1 summary">
  2495. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to display the specified row at the top if <code data-dev-comment-type="paramref" class="paramref">isRow</code> is true or
  2496. will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to display the specified column at the left if <code data-dev-comment-type="paramref" class="paramref">isRow</code> is false.
  2497. </div>
  2498. <div class="markdown level1 conceptual"></div>
  2499. <h5 class="decalaration">Declaration</h5>
  2500. <div class="codewrapper">
  2501. <pre><code class="lang-csharp hljs">public void ScrollTo(int idx, bool isRow = true)</code></pre>
  2502. </div>
  2503. <h5 class="parameters">Parameters</h5>
  2504. <table class="table table-bordered table-striped table-condensed">
  2505. <thead>
  2506. <tr>
  2507. <th>Type</th>
  2508. <th>Name</th>
  2509. <th>Description</th>
  2510. </tr>
  2511. </thead>
  2512. <tbody>
  2513. <tr>
  2514. <td><span class="xref">System.Int32</span></td>
  2515. <td><span class="parametername">idx</span></td>
  2516. <td>Row that should be displayed at the top or Column that should be displayed at the left,
  2517. if the value is negative it will be reset to zero</td>
  2518. </tr>
  2519. <tr>
  2520. <td><span class="xref">System.Boolean</span></td>
  2521. <td><span class="parametername">isRow</span></td>
  2522. <td>If true (default) the <code data-dev-comment-type="paramref" class="paramref">idx</code> is a row, column otherwise.</td>
  2523. </tr>
  2524. </tbody>
  2525. </table>
  2526. <span class="small pull-right mobile-hide">
  2527. <span class="divider">|</span>
  2528. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SelectAll.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SelectAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2529. </span>
  2530. <span class="small pull-right mobile-hide">
  2531. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L2170">View Source</a>
  2532. </span>
  2533. <a id="Terminal_Gui_TextView_SelectAll_" data-uid="Terminal.Gui.TextView.SelectAll*"></a>
  2534. <h4 id="Terminal_Gui_TextView_SelectAll" data-uid="Terminal.Gui.TextView.SelectAll">SelectAll()</h4>
  2535. <div class="markdown level1 summary">
  2536. Select all text.
  2537. </div>
  2538. <div class="markdown level1 conceptual"></div>
  2539. <h5 class="decalaration">Declaration</h5>
  2540. <div class="codewrapper">
  2541. <pre><code class="lang-csharp hljs">public void SelectAll()</code></pre>
  2542. </div>
  2543. <span class="small pull-right mobile-hide">
  2544. <span class="divider">|</span>
  2545. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SetNormalColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SetNormalColor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2546. </span>
  2547. <span class="small pull-right mobile-hide">
  2548. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1941">View Source</a>
  2549. </span>
  2550. <a id="Terminal_Gui_TextView_SetNormalColor_" data-uid="Terminal.Gui.TextView.SetNormalColor*"></a>
  2551. <h4 id="Terminal_Gui_TextView_SetNormalColor" data-uid="Terminal.Gui.TextView.SetNormalColor">SetNormalColor()</h4>
  2552. <div class="markdown level1 summary">
  2553. Sets the driver to the default color for the control where no text is being rendered. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Normal">Normal</a>.
  2554. </div>
  2555. <div class="markdown level1 conceptual"></div>
  2556. <h5 class="decalaration">Declaration</h5>
  2557. <div class="codewrapper">
  2558. <pre><code class="lang-csharp hljs">protected virtual void SetNormalColor()</code></pre>
  2559. </div>
  2560. <span class="small pull-right mobile-hide">
  2561. <span class="divider">|</span>
  2562. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SetNormalColor_System_Collections_Generic_List_System_Rune__System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SetNormalColor(System.Collections.Generic.List%7BSystem.Rune%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2563. </span>
  2564. <span class="small pull-right mobile-hide">
  2565. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1953">View Source</a>
  2566. </span>
  2567. <a id="Terminal_Gui_TextView_SetNormalColor_" data-uid="Terminal.Gui.TextView.SetNormalColor*"></a>
  2568. <h4 id="Terminal_Gui_TextView_SetNormalColor_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.SetNormalColor(System.Collections.Generic.List{System.Rune},System.Int32)">SetNormalColor(List&lt;Rune&gt;, Int32)</h4>
  2569. <div class="markdown level1 summary">
  2570. Sets the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">Driver</a> to an appropriate color for rendering the given <code data-dev-comment-type="paramref" class="paramref">idx</code> of the
  2571. current <code data-dev-comment-type="paramref" class="paramref">line</code>. Override to provide custom coloring by calling <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_">SetAttribute(Attribute)</a>
  2572. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Normal">Normal</a>.
  2573. </div>
  2574. <div class="markdown level1 conceptual"></div>
  2575. <h5 class="decalaration">Declaration</h5>
  2576. <div class="codewrapper">
  2577. <pre><code class="lang-csharp hljs">protected virtual void SetNormalColor(List&lt;Rune&gt; line, int idx)</code></pre>
  2578. </div>
  2579. <h5 class="parameters">Parameters</h5>
  2580. <table class="table table-bordered table-striped table-condensed">
  2581. <thead>
  2582. <tr>
  2583. <th>Type</th>
  2584. <th>Name</th>
  2585. <th>Description</th>
  2586. </tr>
  2587. </thead>
  2588. <tbody>
  2589. <tr>
  2590. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  2591. <td><span class="parametername">line</span></td>
  2592. <td></td>
  2593. </tr>
  2594. <tr>
  2595. <td><span class="xref">System.Int32</span></td>
  2596. <td><span class="parametername">idx</span></td>
  2597. <td></td>
  2598. </tr>
  2599. </tbody>
  2600. </table>
  2601. <span class="small pull-right mobile-hide">
  2602. <span class="divider">|</span>
  2603. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SetReadOnlyColor_System_Collections_Generic_List_System_Rune__System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SetReadOnlyColor(System.Collections.Generic.List%7BSystem.Rune%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2604. </span>
  2605. <span class="small pull-right mobile-hide">
  2606. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1977">View Source</a>
  2607. </span>
  2608. <a id="Terminal_Gui_TextView_SetReadOnlyColor_" data-uid="Terminal.Gui.TextView.SetReadOnlyColor*"></a>
  2609. <h4 id="Terminal_Gui_TextView_SetReadOnlyColor_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.SetReadOnlyColor(System.Collections.Generic.List{System.Rune},System.Int32)">SetReadOnlyColor(List&lt;Rune&gt;, Int32)</h4>
  2610. <div class="markdown level1 summary">
  2611. Sets the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">Driver</a> to an appropriate color for rendering the given <code data-dev-comment-type="paramref" class="paramref">idx</code> of the
  2612. current <code data-dev-comment-type="paramref" class="paramref">line</code>. Override to provide custom coloring by calling <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_">SetAttribute(Attribute)</a>
  2613. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Focus">Focus</a>.
  2614. </div>
  2615. <div class="markdown level1 conceptual"></div>
  2616. <h5 class="decalaration">Declaration</h5>
  2617. <div class="codewrapper">
  2618. <pre><code class="lang-csharp hljs">protected virtual void SetReadOnlyColor(List&lt;Rune&gt; line, int idx)</code></pre>
  2619. </div>
  2620. <h5 class="parameters">Parameters</h5>
  2621. <table class="table table-bordered table-striped table-condensed">
  2622. <thead>
  2623. <tr>
  2624. <th>Type</th>
  2625. <th>Name</th>
  2626. <th>Description</th>
  2627. </tr>
  2628. </thead>
  2629. <tbody>
  2630. <tr>
  2631. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  2632. <td><span class="parametername">line</span></td>
  2633. <td></td>
  2634. </tr>
  2635. <tr>
  2636. <td><span class="xref">System.Int32</span></td>
  2637. <td><span class="parametername">idx</span></td>
  2638. <td></td>
  2639. </tr>
  2640. </tbody>
  2641. </table>
  2642. <span class="small pull-right mobile-hide">
  2643. <span class="divider">|</span>
  2644. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SetSelectionColor_System_Collections_Generic_List_System_Rune__System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SetSelectionColor(System.Collections.Generic.List%7BSystem.Rune%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2645. </span>
  2646. <span class="small pull-right mobile-hide">
  2647. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1965">View Source</a>
  2648. </span>
  2649. <a id="Terminal_Gui_TextView_SetSelectionColor_" data-uid="Terminal.Gui.TextView.SetSelectionColor*"></a>
  2650. <h4 id="Terminal_Gui_TextView_SetSelectionColor_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.SetSelectionColor(System.Collections.Generic.List{System.Rune},System.Int32)">SetSelectionColor(List&lt;Rune&gt;, Int32)</h4>
  2651. <div class="markdown level1 summary">
  2652. Sets the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">Driver</a> to an appropriate color for rendering the given <code data-dev-comment-type="paramref" class="paramref">idx</code> of the
  2653. current <code data-dev-comment-type="paramref" class="paramref">line</code>. Override to provide custom coloring by calling <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_">SetAttribute(Attribute)</a>
  2654. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Focus">Focus</a>.
  2655. </div>
  2656. <div class="markdown level1 conceptual"></div>
  2657. <h5 class="decalaration">Declaration</h5>
  2658. <div class="codewrapper">
  2659. <pre><code class="lang-csharp hljs">protected virtual void SetSelectionColor(List&lt;Rune&gt; line, int idx)</code></pre>
  2660. </div>
  2661. <h5 class="parameters">Parameters</h5>
  2662. <table class="table table-bordered table-striped table-condensed">
  2663. <thead>
  2664. <tr>
  2665. <th>Type</th>
  2666. <th>Name</th>
  2667. <th>Description</th>
  2668. </tr>
  2669. </thead>
  2670. <tbody>
  2671. <tr>
  2672. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  2673. <td><span class="parametername">line</span></td>
  2674. <td></td>
  2675. </tr>
  2676. <tr>
  2677. <td><span class="xref">System.Int32</span></td>
  2678. <td><span class="parametername">idx</span></td>
  2679. <td></td>
  2680. </tr>
  2681. </tbody>
  2682. </table>
  2683. <span class="small pull-right mobile-hide">
  2684. <span class="divider">|</span>
  2685. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_SetUsedColor_System_Collections_Generic_List_System_Rune__System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.SetUsedColor(System.Collections.Generic.List%7BSystem.Rune%7D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2686. </span>
  2687. <span class="small pull-right mobile-hide">
  2688. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1995">View Source</a>
  2689. </span>
  2690. <a id="Terminal_Gui_TextView_SetUsedColor_" data-uid="Terminal.Gui.TextView.SetUsedColor*"></a>
  2691. <h4 id="Terminal_Gui_TextView_SetUsedColor_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.SetUsedColor(System.Collections.Generic.List{System.Rune},System.Int32)">SetUsedColor(List&lt;Rune&gt;, Int32)</h4>
  2692. <div class="markdown level1 summary">
  2693. Sets the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">Driver</a> to an appropriate color for rendering the given <code data-dev-comment-type="paramref" class="paramref">idx</code> of the
  2694. current <code data-dev-comment-type="paramref" class="paramref">line</code>. Override to provide custom coloring by calling <a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_SetAttribute_Terminal_Gui_Attribute_">SetAttribute(Attribute)</a>
  2695. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_HotFocus">HotFocus</a>.
  2696. </div>
  2697. <div class="markdown level1 conceptual"></div>
  2698. <h5 class="decalaration">Declaration</h5>
  2699. <div class="codewrapper">
  2700. <pre><code class="lang-csharp hljs">protected virtual void SetUsedColor(List&lt;Rune&gt; line, int idx)</code></pre>
  2701. </div>
  2702. <h5 class="parameters">Parameters</h5>
  2703. <table class="table table-bordered table-striped table-condensed">
  2704. <thead>
  2705. <tr>
  2706. <th>Type</th>
  2707. <th>Name</th>
  2708. <th>Description</th>
  2709. </tr>
  2710. </thead>
  2711. <tbody>
  2712. <tr>
  2713. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  2714. <td><span class="parametername">line</span></td>
  2715. <td></td>
  2716. </tr>
  2717. <tr>
  2718. <td><span class="xref">System.Int32</span></td>
  2719. <td><span class="parametername">idx</span></td>
  2720. <td></td>
  2721. </tr>
  2722. </tbody>
  2723. </table>
  2724. <h3 id="events">Events
  2725. </h3>
  2726. <span class="small pull-right mobile-hide">
  2727. <span class="divider">|</span>
  2728. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_TextChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.TextChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2729. </span>
  2730. <span class="small pull-right mobile-hide">
  2731. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1177">View Source</a>
  2732. </span>
  2733. <h4 id="Terminal_Gui_TextView_TextChanged" data-uid="Terminal.Gui.TextView.TextChanged">TextChanged</h4>
  2734. <div class="markdown level1 summary">
  2735. Raised when the <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_Text">Text</a> of the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> changes.
  2736. </div>
  2737. <div class="markdown level1 conceptual"></div>
  2738. <h5 class="decalaration">Declaration</h5>
  2739. <div class="codewrapper">
  2740. <pre><code class="lang-csharp hljs">public event Action TextChanged</code></pre>
  2741. </div>
  2742. <h5 class="eventType">Event Type</h5>
  2743. <table class="table table-bordered table-striped table-condensed">
  2744. <thead>
  2745. <tr>
  2746. <th>Type</th>
  2747. <th>Description</th>
  2748. </tr>
  2749. </thead>
  2750. <tbody>
  2751. <tr>
  2752. <td><span class="xref">System.Action</span></td>
  2753. <td></td>
  2754. </tr>
  2755. </tbody>
  2756. </table>
  2757. <span class="small pull-right mobile-hide">
  2758. <span class="divider">|</span>
  2759. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView_UnwrappedCursorPosition.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView.UnwrappedCursorPosition%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2760. </span>
  2761. <span class="small pull-right mobile-hide">
  2762. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1182">View Source</a>
  2763. </span>
  2764. <h4 id="Terminal_Gui_TextView_UnwrappedCursorPosition" data-uid="Terminal.Gui.TextView.UnwrappedCursorPosition">UnwrappedCursorPosition</h4>
  2765. <div class="markdown level1 summary">
  2766. Invoked with the unwrapped <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_CursorPosition">CursorPosition</a>.
  2767. </div>
  2768. <div class="markdown level1 conceptual"></div>
  2769. <h5 class="decalaration">Declaration</h5>
  2770. <div class="codewrapper">
  2771. <pre><code class="lang-csharp hljs">public event Action&lt;Point&gt; UnwrappedCursorPosition</code></pre>
  2772. </div>
  2773. <h5 class="eventType">Event Type</h5>
  2774. <table class="table table-bordered table-striped table-condensed">
  2775. <thead>
  2776. <tr>
  2777. <th>Type</th>
  2778. <th>Description</th>
  2779. </tr>
  2780. </thead>
  2781. <tbody>
  2782. <tr>
  2783. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Point.html">Point</a>&gt;</td>
  2784. <td></td>
  2785. </tr>
  2786. </tbody>
  2787. </table>
  2788. <h3 id="implements">Implements</h3>
  2789. <div>
  2790. <span class="xref">System.IDisposable</span>
  2791. </div>
  2792. <div>
  2793. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  2794. </div>
  2795. <div>
  2796. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  2797. </div>
  2798. </article>
  2799. </div>
  2800. <div class="hidden-sm col-md-2" role="complementary">
  2801. <div class="sideaffix">
  2802. <div class="contribution">
  2803. <ul class="nav">
  2804. <li>
  2805. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_TextView.md&amp;value=---%0Auid%3A%20Terminal.Gui.TextView%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  2806. </li>
  2807. <li>
  2808. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Views/TextView.cs/#L1155" class="contribution-link">View Source</a>
  2809. </li>
  2810. </ul>
  2811. </div>
  2812. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  2813. <h5>In This Article</h5>
  2814. <div></div>
  2815. </nav>
  2816. </div>
  2817. </div>
  2818. </div>
  2819. </div>
  2820. <footer>
  2821. <div class="grad-bottom"></div>
  2822. <div class="footer">
  2823. <div class="container">
  2824. <span class="pull-right">
  2825. <a href="#top">Back to top</a>
  2826. </span>
  2827. <span>Generated by <strong>DocFX</strong></span>
  2828. </div>
  2829. </div>
  2830. </footer>
  2831. </div>
  2832. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  2833. <script type="text/javascript" src="../../styles/docfx.js"></script>
  2834. <script type="text/javascript" src="../../styles/main.js"></script>
  2835. </body>
  2836. </html>