Terminal.Gui.TextView.html 93 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307
  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.3.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. <meta property="docfx:navrel" content="../../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../../index.html">
  34. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list">Search Results for <span></span></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Terminal.Gui.TextView">
  73. <h1 id="Terminal_Gui_TextView" data-uid="Terminal.Gui.TextView" class="text-break">Class TextView
  74. </h1>
  75. <div class="markdown level0 summary">
  76. Multi-line text editing <a class="xref" href="Terminal.Gui.View.html">View</a>
  77. </div>
  78. <div class="markdown level0 conceptual"></div>
  79. <div class="inheritance">
  80. <h5>Inheritance</h5>
  81. <div class="level0"><span class="xref">System.Object</span></div>
  82. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  83. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  84. <div class="level3"><span class="xref">TextView</span></div>
  85. </div>
  86. <div class="implements">
  87. <h5>Implements</h5>
  88. <div><span class="xref">System.IDisposable</span></div>
  89. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  91. </div>
  92. <div class="inheritedMembers">
  93. <h5>Inherited Members</h5>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  156. </div>
  157. <div>
  158. <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>
  159. </div>
  160. <div>
  161. <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>
  162. </div>
  163. <div>
  164. <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>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command_">View.AddKeyBinding(Key, Command)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command_">View.ClearKeybinding(Command)</a>
  210. </div>
  211. <div>
  212. <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>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command_">View.GetKeyFromCommand(Command)</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  414. </div>
  415. <div>
  416. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  417. </div>
  418. <div>
  419. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  420. </div>
  421. <div>
  422. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  423. </div>
  424. <div>
  425. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  426. </div>
  427. <div>
  428. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  429. </div>
  430. <div>
  431. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  432. </div>
  433. <div>
  434. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  435. </div>
  436. <div>
  437. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  438. </div>
  439. <div>
  440. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  441. </div>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  444. </div>
  445. <div>
  446. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  447. </div>
  448. <div>
  449. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  450. </div>
  451. <div>
  452. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  453. </div>
  454. <div>
  455. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  456. </div>
  457. <div>
  458. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  459. </div>
  460. <div>
  461. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  465. </div>
  466. <div>
  467. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  468. </div>
  469. <div>
  470. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  471. </div>
  472. <div>
  473. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  474. </div>
  475. <div>
  476. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  477. </div>
  478. <div>
  479. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  480. </div>
  481. <div>
  482. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  483. </div>
  484. </div>
  485. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  486. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  487. <h5 id="Terminal_Gui_TextView_syntax">Syntax</h5>
  488. <div class="codewrapper">
  489. <pre><code class="lang-csharp hljs">public class TextView : View</code></pre>
  490. </div>
  491. <h5 id="Terminal_Gui_TextView_remarks"><strong>Remarks</strong></h5>
  492. <div class="markdown level0 remarks">
  493. <p>
  494. <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> provides a multi-line text editor. Users interact
  495. with it with the standard Emacs commands for movement or the arrow
  496. keys.
  497. </p>
  498. <table><thead><tr><th>Shortcut</th><th>Action performed</th></tr></thead><tbody><tr><td>Left cursor, Control-b</td><td>
  499. Moves the editing point left.
  500. </td></tr><tr><td>Right cursor, Control-f</td><td>
  501. Moves the editing point right.
  502. </td></tr><tr><td>Alt-b</td><td>
  503. Moves one word back.
  504. </td></tr><tr><td>Alt-f</td><td>
  505. Moves one word forward.
  506. </td></tr><tr><td>Up cursor, Control-p</td><td>
  507. Moves the editing point one line up.
  508. </td></tr><tr><td>Down cursor, Control-n</td><td>
  509. Moves the editing point one line down
  510. </td></tr><tr><td>Home key, Control-a</td><td>
  511. Moves the cursor to the beginning of the line.
  512. </td></tr><tr><td>End key, Control-e</td><td>
  513. Moves the cursor to the end of the line.
  514. </td></tr><tr><td>Control-Home</td><td>
  515. Scrolls to the first line and moves the cursor there.
  516. </td></tr><tr><td>Control-End</td><td>
  517. Scrolls to the last line and moves the cursor there.
  518. </td></tr><tr><td>Delete, Control-d</td><td>
  519. Deletes the character in front of the cursor.
  520. </td></tr><tr><td>Backspace</td><td>
  521. Deletes the character behind the cursor.
  522. </td></tr><tr><td>Control-k</td><td>
  523. Deletes the text until the end of the line and replaces the kill buffer
  524. with the deleted text. You can paste this text in a different place by
  525. using Control-y.
  526. </td></tr><tr><td>Control-y</td><td>
  527. Pastes the content of the kill ring into the current position.
  528. </td></tr><tr><td>Alt-d</td><td>
  529. Deletes the word above the cursor and adds it to the kill ring. You
  530. can paste the contents of the kill ring with Control-y.
  531. </td></tr><tr><td>Control-q</td><td>
  532. Quotes the next input character, to prevent the normal processing of
  533. key handling to take place.
  534. </td></tr></tbody></table>
  535. </div>
  536. <h3 id="constructors">Constructors
  537. </h3>
  538. <a id="Terminal_Gui_TextView__ctor_" data-uid="Terminal.Gui.TextView.#ctor*"></a>
  539. <h4 id="Terminal_Gui_TextView__ctor" data-uid="Terminal.Gui.TextView.#ctor">TextView()</h4>
  540. <div class="markdown level1 summary">
  541. Initializes a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> on the specified area,
  542. with dimensions controlled with the X, Y, Width and Height properties.
  543. </div>
  544. <div class="markdown level1 conceptual"></div>
  545. <h5 class="decalaration">Declaration</h5>
  546. <div class="codewrapper">
  547. <pre><code class="lang-csharp hljs">public TextView()</code></pre>
  548. </div>
  549. <a id="Terminal_Gui_TextView__ctor_" data-uid="Terminal.Gui.TextView.#ctor*"></a>
  550. <h4 id="Terminal_Gui_TextView__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TextView.#ctor(Terminal.Gui.Rect)">TextView(Rect)</h4>
  551. <div class="markdown level1 summary">
  552. Initializes a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> on the specified area, with absolute position and size.
  553. </div>
  554. <div class="markdown level1 conceptual"></div>
  555. <h5 class="decalaration">Declaration</h5>
  556. <div class="codewrapper">
  557. <pre><code class="lang-csharp hljs">public TextView(Rect frame)</code></pre>
  558. </div>
  559. <h5 class="parameters">Parameters</h5>
  560. <table class="table table-bordered table-striped table-condensed">
  561. <thead>
  562. <tr>
  563. <th>Type</th>
  564. <th>Name</th>
  565. <th>Description</th>
  566. </tr>
  567. </thead>
  568. <tbody>
  569. <tr>
  570. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  571. <td><span class="parametername">frame</span></td>
  572. <td></td>
  573. </tr>
  574. </tbody>
  575. </table>
  576. <h5 id="Terminal_Gui_TextView__ctor_Terminal_Gui_Rect__remarks">Remarks</h5>
  577. <div class="markdown level1 remarks">
  578. </div>
  579. <h3 id="properties">Properties
  580. </h3>
  581. <a id="Terminal_Gui_TextView_AllowsReturn_" data-uid="Terminal.Gui.TextView.AllowsReturn*"></a>
  582. <h4 id="Terminal_Gui_TextView_AllowsReturn" data-uid="Terminal.Gui.TextView.AllowsReturn">AllowsReturn</h4>
  583. <div class="markdown level1 summary">
  584. Gets or sets a value indicating whether pressing ENTER in a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>
  585. creates a new line of text in the view or activates the default button for the toplevel.
  586. </div>
  587. <div class="markdown level1 conceptual"></div>
  588. <h5 class="decalaration">Declaration</h5>
  589. <div class="codewrapper">
  590. <pre><code class="lang-csharp hljs">public bool AllowsReturn { get; set; }</code></pre>
  591. </div>
  592. <h5 class="propertyValue">Property Value</h5>
  593. <table class="table table-bordered table-striped table-condensed">
  594. <thead>
  595. <tr>
  596. <th>Type</th>
  597. <th>Description</th>
  598. </tr>
  599. </thead>
  600. <tbody>
  601. <tr>
  602. <td><span class="xref">System.Boolean</span></td>
  603. <td></td>
  604. </tr>
  605. </tbody>
  606. </table>
  607. <a id="Terminal_Gui_TextView_AllowsTab_" data-uid="Terminal.Gui.TextView.AllowsTab*"></a>
  608. <h4 id="Terminal_Gui_TextView_AllowsTab" data-uid="Terminal.Gui.TextView.AllowsTab">AllowsTab</h4>
  609. <div class="markdown level1 summary">
  610. Gets or sets whether the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> inserts a tab character into the text or ignores
  611. tab input. If set to `false` and the user presses the tab key (or shift-tab) the focus will move to the
  612. next view (or previous with shift-tab). The default is `true`; if the user presses the tab key, a tab
  613. character will be inserted into the text.
  614. </div>
  615. <div class="markdown level1 conceptual"></div>
  616. <h5 class="decalaration">Declaration</h5>
  617. <div class="codewrapper">
  618. <pre><code class="lang-csharp hljs">public bool AllowsTab { get; set; }</code></pre>
  619. </div>
  620. <h5 class="propertyValue">Property Value</h5>
  621. <table class="table table-bordered table-striped table-condensed">
  622. <thead>
  623. <tr>
  624. <th>Type</th>
  625. <th>Description</th>
  626. </tr>
  627. </thead>
  628. <tbody>
  629. <tr>
  630. <td><span class="xref">System.Boolean</span></td>
  631. <td></td>
  632. </tr>
  633. </tbody>
  634. </table>
  635. <a id="Terminal_Gui_TextView_Autocomplete_" data-uid="Terminal.Gui.TextView.Autocomplete*"></a>
  636. <h4 id="Terminal_Gui_TextView_Autocomplete" data-uid="Terminal.Gui.TextView.Autocomplete">Autocomplete</h4>
  637. <div class="markdown level1 summary">
  638. Provides autocomplete context menu based on suggestions at the current cursor
  639. position. Populate <a class="xref" href="Terminal.Gui.Autocomplete.html#Terminal_Gui_Autocomplete_AllSuggestions">AllSuggestions</a> to enable this feature
  640. </div>
  641. <div class="markdown level1 conceptual"></div>
  642. <h5 class="decalaration">Declaration</h5>
  643. <div class="codewrapper">
  644. <pre><code class="lang-csharp hljs">public IAutocomplete Autocomplete { get; protected set; }</code></pre>
  645. </div>
  646. <h5 class="propertyValue">Property Value</h5>
  647. <table class="table table-bordered table-striped table-condensed">
  648. <thead>
  649. <tr>
  650. <th>Type</th>
  651. <th>Description</th>
  652. </tr>
  653. </thead>
  654. <tbody>
  655. <tr>
  656. <td><a class="xref" href="Terminal.Gui.IAutocomplete.html">IAutocomplete</a></td>
  657. <td></td>
  658. </tr>
  659. </tbody>
  660. </table>
  661. <a id="Terminal_Gui_TextView_BottomOffset_" data-uid="Terminal.Gui.TextView.BottomOffset*"></a>
  662. <h4 id="Terminal_Gui_TextView_BottomOffset" data-uid="Terminal.Gui.TextView.BottomOffset">BottomOffset</h4>
  663. <div class="markdown level1 summary">
  664. The bottom offset needed to use a horizontal scrollbar or for another reason.
  665. This is only needed with the keyboard navigation.
  666. </div>
  667. <div class="markdown level1 conceptual"></div>
  668. <h5 class="decalaration">Declaration</h5>
  669. <div class="codewrapper">
  670. <pre><code class="lang-csharp hljs">public int BottomOffset { get; set; }</code></pre>
  671. </div>
  672. <h5 class="propertyValue">Property Value</h5>
  673. <table class="table table-bordered table-striped table-condensed">
  674. <thead>
  675. <tr>
  676. <th>Type</th>
  677. <th>Description</th>
  678. </tr>
  679. </thead>
  680. <tbody>
  681. <tr>
  682. <td><span class="xref">System.Int32</span></td>
  683. <td></td>
  684. </tr>
  685. </tbody>
  686. </table>
  687. <a id="Terminal_Gui_TextView_CanFocus_" data-uid="Terminal.Gui.TextView.CanFocus*"></a>
  688. <h4 id="Terminal_Gui_TextView_CanFocus" data-uid="Terminal.Gui.TextView.CanFocus">CanFocus</h4>
  689. <div class="markdown level1 summary">
  690. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Responder.html">Responder</a> can focus.
  691. </div>
  692. <div class="markdown level1 conceptual"></div>
  693. <h5 class="decalaration">Declaration</h5>
  694. <div class="codewrapper">
  695. <pre><code class="lang-csharp hljs">public override bool CanFocus { get; set; }</code></pre>
  696. </div>
  697. <h5 class="propertyValue">Property Value</h5>
  698. <table class="table table-bordered table-striped table-condensed">
  699. <thead>
  700. <tr>
  701. <th>Type</th>
  702. <th>Description</th>
  703. </tr>
  704. </thead>
  705. <tbody>
  706. <tr>
  707. <td><span class="xref">System.Boolean</span></td>
  708. <td><code>true</code> if can focus; otherwise, <code>false</code>.</td>
  709. </tr>
  710. </tbody>
  711. </table>
  712. <h5 class="overrides">Overrides</h5>
  713. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a></div>
  714. <a id="Terminal_Gui_TextView_ContextMenu_" data-uid="Terminal.Gui.TextView.ContextMenu*"></a>
  715. <h4 id="Terminal_Gui_TextView_ContextMenu" data-uid="Terminal.Gui.TextView.ContextMenu">ContextMenu</h4>
  716. <div class="markdown level1 summary">
  717. Get the <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_ContextMenu">ContextMenu</a> for this view.
  718. </div>
  719. <div class="markdown level1 conceptual"></div>
  720. <h5 class="decalaration">Declaration</h5>
  721. <div class="codewrapper">
  722. <pre><code class="lang-csharp hljs">public ContextMenu ContextMenu { get; }</code></pre>
  723. </div>
  724. <h5 class="propertyValue">Property Value</h5>
  725. <table class="table table-bordered table-striped table-condensed">
  726. <thead>
  727. <tr>
  728. <th>Type</th>
  729. <th>Description</th>
  730. </tr>
  731. </thead>
  732. <tbody>
  733. <tr>
  734. <td><a class="xref" href="Terminal.Gui.ContextMenu.html">ContextMenu</a></td>
  735. <td></td>
  736. </tr>
  737. </tbody>
  738. </table>
  739. <a id="Terminal_Gui_TextView_CurrentColumn_" data-uid="Terminal.Gui.TextView.CurrentColumn*"></a>
  740. <h4 id="Terminal_Gui_TextView_CurrentColumn" data-uid="Terminal.Gui.TextView.CurrentColumn">CurrentColumn</h4>
  741. <div class="markdown level1 summary">
  742. Gets the cursor column.
  743. </div>
  744. <div class="markdown level1 conceptual"></div>
  745. <h5 class="decalaration">Declaration</h5>
  746. <div class="codewrapper">
  747. <pre><code class="lang-csharp hljs">public int CurrentColumn { get; }</code></pre>
  748. </div>
  749. <h5 class="propertyValue">Property Value</h5>
  750. <table class="table table-bordered table-striped table-condensed">
  751. <thead>
  752. <tr>
  753. <th>Type</th>
  754. <th>Description</th>
  755. </tr>
  756. </thead>
  757. <tbody>
  758. <tr>
  759. <td><span class="xref">System.Int32</span></td>
  760. <td>The cursor column.</td>
  761. </tr>
  762. </tbody>
  763. </table>
  764. <a id="Terminal_Gui_TextView_CurrentRow_" data-uid="Terminal.Gui.TextView.CurrentRow*"></a>
  765. <h4 id="Terminal_Gui_TextView_CurrentRow" data-uid="Terminal.Gui.TextView.CurrentRow">CurrentRow</h4>
  766. <div class="markdown level1 summary">
  767. Gets the current cursor row.
  768. </div>
  769. <div class="markdown level1 conceptual"></div>
  770. <h5 class="decalaration">Declaration</h5>
  771. <div class="codewrapper">
  772. <pre><code class="lang-csharp hljs">public int CurrentRow { get; }</code></pre>
  773. </div>
  774. <h5 class="propertyValue">Property Value</h5>
  775. <table class="table table-bordered table-striped table-condensed">
  776. <thead>
  777. <tr>
  778. <th>Type</th>
  779. <th>Description</th>
  780. </tr>
  781. </thead>
  782. <tbody>
  783. <tr>
  784. <td><span class="xref">System.Int32</span></td>
  785. <td></td>
  786. </tr>
  787. </tbody>
  788. </table>
  789. <a id="Terminal_Gui_TextView_CursorPosition_" data-uid="Terminal.Gui.TextView.CursorPosition*"></a>
  790. <h4 id="Terminal_Gui_TextView_CursorPosition" data-uid="Terminal.Gui.TextView.CursorPosition">CursorPosition</h4>
  791. <div class="markdown level1 summary">
  792. Sets or gets the current cursor position.
  793. </div>
  794. <div class="markdown level1 conceptual"></div>
  795. <h5 class="decalaration">Declaration</h5>
  796. <div class="codewrapper">
  797. <pre><code class="lang-csharp hljs">public Point CursorPosition { get; set; }</code></pre>
  798. </div>
  799. <h5 class="propertyValue">Property Value</h5>
  800. <table class="table table-bordered table-striped table-condensed">
  801. <thead>
  802. <tr>
  803. <th>Type</th>
  804. <th>Description</th>
  805. </tr>
  806. </thead>
  807. <tbody>
  808. <tr>
  809. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  810. <td></td>
  811. </tr>
  812. </tbody>
  813. </table>
  814. <a id="Terminal_Gui_TextView_DesiredCursorVisibility_" data-uid="Terminal.Gui.TextView.DesiredCursorVisibility*"></a>
  815. <h4 id="Terminal_Gui_TextView_DesiredCursorVisibility" data-uid="Terminal.Gui.TextView.DesiredCursorVisibility">DesiredCursorVisibility</h4>
  816. <div class="markdown level1 summary">
  817. Get / Set the wished cursor when the field is focused
  818. </div>
  819. <div class="markdown level1 conceptual"></div>
  820. <h5 class="decalaration">Declaration</h5>
  821. <div class="codewrapper">
  822. <pre><code class="lang-csharp hljs">public CursorVisibility DesiredCursorVisibility { get; set; }</code></pre>
  823. </div>
  824. <h5 class="propertyValue">Property Value</h5>
  825. <table class="table table-bordered table-striped table-condensed">
  826. <thead>
  827. <tr>
  828. <th>Type</th>
  829. <th>Description</th>
  830. </tr>
  831. </thead>
  832. <tbody>
  833. <tr>
  834. <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  835. <td></td>
  836. </tr>
  837. </tbody>
  838. </table>
  839. <a id="Terminal_Gui_TextView_Frame_" data-uid="Terminal.Gui.TextView.Frame*"></a>
  840. <h4 id="Terminal_Gui_TextView_Frame" data-uid="Terminal.Gui.TextView.Frame">Frame</h4>
  841. <div class="markdown level1 summary">
  842. Gets or sets the frame for the view. The frame is relative to the view&apos;s container (<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>).
  843. </div>
  844. <div class="markdown level1 conceptual"></div>
  845. <h5 class="decalaration">Declaration</h5>
  846. <div class="codewrapper">
  847. <pre><code class="lang-csharp hljs">public override Rect Frame { get; set; }</code></pre>
  848. </div>
  849. <h5 class="propertyValue">Property Value</h5>
  850. <table class="table table-bordered table-striped table-condensed">
  851. <thead>
  852. <tr>
  853. <th>Type</th>
  854. <th>Description</th>
  855. </tr>
  856. </thead>
  857. <tbody>
  858. <tr>
  859. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  860. <td>The frame.</td>
  861. </tr>
  862. </tbody>
  863. </table>
  864. <h5 class="overrides">Overrides</h5>
  865. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a></div>
  866. <h5 id="Terminal_Gui_TextView_Frame_remarks">Remarks</h5>
  867. <div class="markdown level1 remarks">
  868. <p>
  869. Change the Frame when using the <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout style to move or resize views.
  870. </p>
  871. <p>
  872. Altering the Frame of a view will trigger the redrawing of the
  873. view as well as the redrawing of the affected regions of the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>.
  874. </p>
  875. </div>
  876. <a id="Terminal_Gui_TextView_HasHistoryChanges_" data-uid="Terminal.Gui.TextView.HasHistoryChanges*"></a>
  877. <h4 id="Terminal_Gui_TextView_HasHistoryChanges" data-uid="Terminal.Gui.TextView.HasHistoryChanges">HasHistoryChanges</h4>
  878. <div class="markdown level1 summary">
  879. Indicates whatever the text has history changes or not.
  880. <span class="xref">true</span> if the text has history changes <span class="xref">false</span> otherwise.
  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 bool HasHistoryChanges { get; }</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><span class="xref">System.Boolean</span></td>
  898. <td></td>
  899. </tr>
  900. </tbody>
  901. </table>
  902. <a id="Terminal_Gui_TextView_IsDirty_" data-uid="Terminal.Gui.TextView.IsDirty*"></a>
  903. <h4 id="Terminal_Gui_TextView_IsDirty" data-uid="Terminal.Gui.TextView.IsDirty">IsDirty</h4>
  904. <div class="markdown level1 summary">
  905. Indicates whatever the text was changed or not.
  906. <span class="xref">true</span> if the text was changed <span class="xref">false</span> otherwise.
  907. </div>
  908. <div class="markdown level1 conceptual"></div>
  909. <h5 class="decalaration">Declaration</h5>
  910. <div class="codewrapper">
  911. <pre><code class="lang-csharp hljs">public bool IsDirty { get; }</code></pre>
  912. </div>
  913. <h5 class="propertyValue">Property Value</h5>
  914. <table class="table table-bordered table-striped table-condensed">
  915. <thead>
  916. <tr>
  917. <th>Type</th>
  918. <th>Description</th>
  919. </tr>
  920. </thead>
  921. <tbody>
  922. <tr>
  923. <td><span class="xref">System.Boolean</span></td>
  924. <td></td>
  925. </tr>
  926. </tbody>
  927. </table>
  928. <a id="Terminal_Gui_TextView_LeftColumn_" data-uid="Terminal.Gui.TextView.LeftColumn*"></a>
  929. <h4 id="Terminal_Gui_TextView_LeftColumn" data-uid="Terminal.Gui.TextView.LeftColumn">LeftColumn</h4>
  930. <div class="markdown level1 summary">
  931. Gets or sets the left column.
  932. </div>
  933. <div class="markdown level1 conceptual"></div>
  934. <h5 class="decalaration">Declaration</h5>
  935. <div class="codewrapper">
  936. <pre><code class="lang-csharp hljs">public int LeftColumn { get; set; }</code></pre>
  937. </div>
  938. <h5 class="propertyValue">Property Value</h5>
  939. <table class="table table-bordered table-striped table-condensed">
  940. <thead>
  941. <tr>
  942. <th>Type</th>
  943. <th>Description</th>
  944. </tr>
  945. </thead>
  946. <tbody>
  947. <tr>
  948. <td><span class="xref">System.Int32</span></td>
  949. <td></td>
  950. </tr>
  951. </tbody>
  952. </table>
  953. <a id="Terminal_Gui_TextView_Lines_" data-uid="Terminal.Gui.TextView.Lines*"></a>
  954. <h4 id="Terminal_Gui_TextView_Lines" data-uid="Terminal.Gui.TextView.Lines">Lines</h4>
  955. <div class="markdown level1 summary">
  956. Gets the number of lines.
  957. </div>
  958. <div class="markdown level1 conceptual"></div>
  959. <h5 class="decalaration">Declaration</h5>
  960. <div class="codewrapper">
  961. <pre><code class="lang-csharp hljs">public int Lines { get; }</code></pre>
  962. </div>
  963. <h5 class="propertyValue">Property Value</h5>
  964. <table class="table table-bordered table-striped table-condensed">
  965. <thead>
  966. <tr>
  967. <th>Type</th>
  968. <th>Description</th>
  969. </tr>
  970. </thead>
  971. <tbody>
  972. <tr>
  973. <td><span class="xref">System.Int32</span></td>
  974. <td></td>
  975. </tr>
  976. </tbody>
  977. </table>
  978. <a id="Terminal_Gui_TextView_Maxlength_" data-uid="Terminal.Gui.TextView.Maxlength*"></a>
  979. <h4 id="Terminal_Gui_TextView_Maxlength" data-uid="Terminal.Gui.TextView.Maxlength">Maxlength</h4>
  980. <div class="markdown level1 summary">
  981. Gets the maximum visible length line.
  982. </div>
  983. <div class="markdown level1 conceptual"></div>
  984. <h5 class="decalaration">Declaration</h5>
  985. <div class="codewrapper">
  986. <pre><code class="lang-csharp hljs">public int Maxlength { get; }</code></pre>
  987. </div>
  988. <h5 class="propertyValue">Property Value</h5>
  989. <table class="table table-bordered table-striped table-condensed">
  990. <thead>
  991. <tr>
  992. <th>Type</th>
  993. <th>Description</th>
  994. </tr>
  995. </thead>
  996. <tbody>
  997. <tr>
  998. <td><span class="xref">System.Int32</span></td>
  999. <td></td>
  1000. </tr>
  1001. </tbody>
  1002. </table>
  1003. <a id="Terminal_Gui_TextView_Multiline_" data-uid="Terminal.Gui.TextView.Multiline*"></a>
  1004. <h4 id="Terminal_Gui_TextView_Multiline" data-uid="Terminal.Gui.TextView.Multiline">Multiline</h4>
  1005. <div class="markdown level1 summary">
  1006. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> is a multiline text view.
  1007. </div>
  1008. <div class="markdown level1 conceptual"></div>
  1009. <h5 class="decalaration">Declaration</h5>
  1010. <div class="codewrapper">
  1011. <pre><code class="lang-csharp hljs">public bool Multiline { get; set; }</code></pre>
  1012. </div>
  1013. <h5 class="propertyValue">Property Value</h5>
  1014. <table class="table table-bordered table-striped table-condensed">
  1015. <thead>
  1016. <tr>
  1017. <th>Type</th>
  1018. <th>Description</th>
  1019. </tr>
  1020. </thead>
  1021. <tbody>
  1022. <tr>
  1023. <td><span class="xref">System.Boolean</span></td>
  1024. <td></td>
  1025. </tr>
  1026. </tbody>
  1027. </table>
  1028. <a id="Terminal_Gui_TextView_ReadOnly_" data-uid="Terminal.Gui.TextView.ReadOnly*"></a>
  1029. <h4 id="Terminal_Gui_TextView_ReadOnly" data-uid="Terminal.Gui.TextView.ReadOnly">ReadOnly</h4>
  1030. <div class="markdown level1 summary">
  1031. Gets or sets whether the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> is in read-only mode or not
  1032. </div>
  1033. <div class="markdown level1 conceptual"></div>
  1034. <h5 class="decalaration">Declaration</h5>
  1035. <div class="codewrapper">
  1036. <pre><code class="lang-csharp hljs">public bool ReadOnly { get; set; }</code></pre>
  1037. </div>
  1038. <h5 class="propertyValue">Property Value</h5>
  1039. <table class="table table-bordered table-striped table-condensed">
  1040. <thead>
  1041. <tr>
  1042. <th>Type</th>
  1043. <th>Description</th>
  1044. </tr>
  1045. </thead>
  1046. <tbody>
  1047. <tr>
  1048. <td><span class="xref">System.Boolean</span></td>
  1049. <td>Boolean value(Default false)</td>
  1050. </tr>
  1051. </tbody>
  1052. </table>
  1053. <a id="Terminal_Gui_TextView_RightOffset_" data-uid="Terminal.Gui.TextView.RightOffset*"></a>
  1054. <h4 id="Terminal_Gui_TextView_RightOffset" data-uid="Terminal.Gui.TextView.RightOffset">RightOffset</h4>
  1055. <div class="markdown level1 summary">
  1056. The right offset needed to use a vertical scrollbar or for another reason.
  1057. This is only needed with the keyboard navigation.
  1058. </div>
  1059. <div class="markdown level1 conceptual"></div>
  1060. <h5 class="decalaration">Declaration</h5>
  1061. <div class="codewrapper">
  1062. <pre><code class="lang-csharp hljs">public int RightOffset { get; set; }</code></pre>
  1063. </div>
  1064. <h5 class="propertyValue">Property Value</h5>
  1065. <table class="table table-bordered table-striped table-condensed">
  1066. <thead>
  1067. <tr>
  1068. <th>Type</th>
  1069. <th>Description</th>
  1070. </tr>
  1071. </thead>
  1072. <tbody>
  1073. <tr>
  1074. <td><span class="xref">System.Int32</span></td>
  1075. <td></td>
  1076. </tr>
  1077. </tbody>
  1078. </table>
  1079. <a id="Terminal_Gui_TextView_SelectedLength_" data-uid="Terminal.Gui.TextView.SelectedLength*"></a>
  1080. <h4 id="Terminal_Gui_TextView_SelectedLength" data-uid="Terminal.Gui.TextView.SelectedLength">SelectedLength</h4>
  1081. <div class="markdown level1 summary">
  1082. Length of the selected text.
  1083. </div>
  1084. <div class="markdown level1 conceptual"></div>
  1085. <h5 class="decalaration">Declaration</h5>
  1086. <div class="codewrapper">
  1087. <pre><code class="lang-csharp hljs">public int SelectedLength { get; }</code></pre>
  1088. </div>
  1089. <h5 class="propertyValue">Property Value</h5>
  1090. <table class="table table-bordered table-striped table-condensed">
  1091. <thead>
  1092. <tr>
  1093. <th>Type</th>
  1094. <th>Description</th>
  1095. </tr>
  1096. </thead>
  1097. <tbody>
  1098. <tr>
  1099. <td><span class="xref">System.Int32</span></td>
  1100. <td></td>
  1101. </tr>
  1102. </tbody>
  1103. </table>
  1104. <a id="Terminal_Gui_TextView_SelectedText_" data-uid="Terminal.Gui.TextView.SelectedText*"></a>
  1105. <h4 id="Terminal_Gui_TextView_SelectedText" data-uid="Terminal.Gui.TextView.SelectedText">SelectedText</h4>
  1106. <div class="markdown level1 summary">
  1107. The selected text.
  1108. </div>
  1109. <div class="markdown level1 conceptual"></div>
  1110. <h5 class="decalaration">Declaration</h5>
  1111. <div class="codewrapper">
  1112. <pre><code class="lang-csharp hljs">public ustring SelectedText { get; }</code></pre>
  1113. </div>
  1114. <h5 class="propertyValue">Property Value</h5>
  1115. <table class="table table-bordered table-striped table-condensed">
  1116. <thead>
  1117. <tr>
  1118. <th>Type</th>
  1119. <th>Description</th>
  1120. </tr>
  1121. </thead>
  1122. <tbody>
  1123. <tr>
  1124. <td><span class="xref">NStack.ustring</span></td>
  1125. <td></td>
  1126. </tr>
  1127. </tbody>
  1128. </table>
  1129. <a id="Terminal_Gui_TextView_Selecting_" data-uid="Terminal.Gui.TextView.Selecting*"></a>
  1130. <h4 id="Terminal_Gui_TextView_Selecting" data-uid="Terminal.Gui.TextView.Selecting">Selecting</h4>
  1131. <div class="markdown level1 summary">
  1132. Get or sets the selecting.
  1133. </div>
  1134. <div class="markdown level1 conceptual"></div>
  1135. <h5 class="decalaration">Declaration</h5>
  1136. <div class="codewrapper">
  1137. <pre><code class="lang-csharp hljs">public bool Selecting { get; set; }</code></pre>
  1138. </div>
  1139. <h5 class="propertyValue">Property Value</h5>
  1140. <table class="table table-bordered table-striped table-condensed">
  1141. <thead>
  1142. <tr>
  1143. <th>Type</th>
  1144. <th>Description</th>
  1145. </tr>
  1146. </thead>
  1147. <tbody>
  1148. <tr>
  1149. <td><span class="xref">System.Boolean</span></td>
  1150. <td></td>
  1151. </tr>
  1152. </tbody>
  1153. </table>
  1154. <a id="Terminal_Gui_TextView_SelectionStartColumn_" data-uid="Terminal.Gui.TextView.SelectionStartColumn*"></a>
  1155. <h4 id="Terminal_Gui_TextView_SelectionStartColumn" data-uid="Terminal.Gui.TextView.SelectionStartColumn">SelectionStartColumn</h4>
  1156. <div class="markdown level1 summary">
  1157. Start column position of the selected text.
  1158. </div>
  1159. <div class="markdown level1 conceptual"></div>
  1160. <h5 class="decalaration">Declaration</h5>
  1161. <div class="codewrapper">
  1162. <pre><code class="lang-csharp hljs">public int SelectionStartColumn { get; set; }</code></pre>
  1163. </div>
  1164. <h5 class="propertyValue">Property Value</h5>
  1165. <table class="table table-bordered table-striped table-condensed">
  1166. <thead>
  1167. <tr>
  1168. <th>Type</th>
  1169. <th>Description</th>
  1170. </tr>
  1171. </thead>
  1172. <tbody>
  1173. <tr>
  1174. <td><span class="xref">System.Int32</span></td>
  1175. <td></td>
  1176. </tr>
  1177. </tbody>
  1178. </table>
  1179. <a id="Terminal_Gui_TextView_SelectionStartRow_" data-uid="Terminal.Gui.TextView.SelectionStartRow*"></a>
  1180. <h4 id="Terminal_Gui_TextView_SelectionStartRow" data-uid="Terminal.Gui.TextView.SelectionStartRow">SelectionStartRow</h4>
  1181. <div class="markdown level1 summary">
  1182. Start row position of the selected text.
  1183. </div>
  1184. <div class="markdown level1 conceptual"></div>
  1185. <h5 class="decalaration">Declaration</h5>
  1186. <div class="codewrapper">
  1187. <pre><code class="lang-csharp hljs">public int SelectionStartRow { get; set; }</code></pre>
  1188. </div>
  1189. <h5 class="propertyValue">Property Value</h5>
  1190. <table class="table table-bordered table-striped table-condensed">
  1191. <thead>
  1192. <tr>
  1193. <th>Type</th>
  1194. <th>Description</th>
  1195. </tr>
  1196. </thead>
  1197. <tbody>
  1198. <tr>
  1199. <td><span class="xref">System.Int32</span></td>
  1200. <td></td>
  1201. </tr>
  1202. </tbody>
  1203. </table>
  1204. <a id="Terminal_Gui_TextView_TabWidth_" data-uid="Terminal.Gui.TextView.TabWidth*"></a>
  1205. <h4 id="Terminal_Gui_TextView_TabWidth" data-uid="Terminal.Gui.TextView.TabWidth">TabWidth</h4>
  1206. <div class="markdown level1 summary">
  1207. Gets or sets a value indicating the number of whitespace when pressing the TAB key.
  1208. </div>
  1209. <div class="markdown level1 conceptual"></div>
  1210. <h5 class="decalaration">Declaration</h5>
  1211. <div class="codewrapper">
  1212. <pre><code class="lang-csharp hljs">public int TabWidth { get; set; }</code></pre>
  1213. </div>
  1214. <h5 class="propertyValue">Property Value</h5>
  1215. <table class="table table-bordered table-striped table-condensed">
  1216. <thead>
  1217. <tr>
  1218. <th>Type</th>
  1219. <th>Description</th>
  1220. </tr>
  1221. </thead>
  1222. <tbody>
  1223. <tr>
  1224. <td><span class="xref">System.Int32</span></td>
  1225. <td></td>
  1226. </tr>
  1227. </tbody>
  1228. </table>
  1229. <a id="Terminal_Gui_TextView_Text_" data-uid="Terminal.Gui.TextView.Text*"></a>
  1230. <h4 id="Terminal_Gui_TextView_Text" data-uid="Terminal.Gui.TextView.Text">Text</h4>
  1231. <div class="markdown level1 summary">
  1232. Sets or gets the text in the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1233. </div>
  1234. <div class="markdown level1 conceptual"></div>
  1235. <h5 class="decalaration">Declaration</h5>
  1236. <div class="codewrapper">
  1237. <pre><code class="lang-csharp hljs">public override ustring Text { get; set; }</code></pre>
  1238. </div>
  1239. <h5 class="propertyValue">Property Value</h5>
  1240. <table class="table table-bordered table-striped table-condensed">
  1241. <thead>
  1242. <tr>
  1243. <th>Type</th>
  1244. <th>Description</th>
  1245. </tr>
  1246. </thead>
  1247. <tbody>
  1248. <tr>
  1249. <td><span class="xref">NStack.ustring</span></td>
  1250. <td></td>
  1251. </tr>
  1252. </tbody>
  1253. </table>
  1254. <h5 class="overrides">Overrides</h5>
  1255. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a></div>
  1256. <h5 id="Terminal_Gui_TextView_Text_remarks">Remarks</h5>
  1257. <div class="markdown level1 remarks">
  1258. </div>
  1259. <a id="Terminal_Gui_TextView_TopRow_" data-uid="Terminal.Gui.TextView.TopRow*"></a>
  1260. <h4 id="Terminal_Gui_TextView_TopRow" data-uid="Terminal.Gui.TextView.TopRow">TopRow</h4>
  1261. <div class="markdown level1 summary">
  1262. Gets or sets the top row.
  1263. </div>
  1264. <div class="markdown level1 conceptual"></div>
  1265. <h5 class="decalaration">Declaration</h5>
  1266. <div class="codewrapper">
  1267. <pre><code class="lang-csharp hljs">public int TopRow { get; set; }</code></pre>
  1268. </div>
  1269. <h5 class="propertyValue">Property Value</h5>
  1270. <table class="table table-bordered table-striped table-condensed">
  1271. <thead>
  1272. <tr>
  1273. <th>Type</th>
  1274. <th>Description</th>
  1275. </tr>
  1276. </thead>
  1277. <tbody>
  1278. <tr>
  1279. <td><span class="xref">System.Int32</span></td>
  1280. <td></td>
  1281. </tr>
  1282. </tbody>
  1283. </table>
  1284. <a id="Terminal_Gui_TextView_Used_" data-uid="Terminal.Gui.TextView.Used*"></a>
  1285. <h4 id="Terminal_Gui_TextView_Used" data-uid="Terminal.Gui.TextView.Used">Used</h4>
  1286. <div class="markdown level1 summary">
  1287. Tracks whether the text view should be considered &quot;used&quot;, that is, that the user has moved in the entry,
  1288. so new input should be appended at the cursor position, rather than clearing the entry
  1289. </div>
  1290. <div class="markdown level1 conceptual"></div>
  1291. <h5 class="decalaration">Declaration</h5>
  1292. <div class="codewrapper">
  1293. <pre><code class="lang-csharp hljs">public bool Used { get; set; }</code></pre>
  1294. </div>
  1295. <h5 class="propertyValue">Property Value</h5>
  1296. <table class="table table-bordered table-striped table-condensed">
  1297. <thead>
  1298. <tr>
  1299. <th>Type</th>
  1300. <th>Description</th>
  1301. </tr>
  1302. </thead>
  1303. <tbody>
  1304. <tr>
  1305. <td><span class="xref">System.Boolean</span></td>
  1306. <td></td>
  1307. </tr>
  1308. </tbody>
  1309. </table>
  1310. <a id="Terminal_Gui_TextView_WordWrap_" data-uid="Terminal.Gui.TextView.WordWrap*"></a>
  1311. <h4 id="Terminal_Gui_TextView_WordWrap" data-uid="Terminal.Gui.TextView.WordWrap">WordWrap</h4>
  1312. <div class="markdown level1 summary">
  1313. Allows word wrap the to fit the available container width.
  1314. </div>
  1315. <div class="markdown level1 conceptual"></div>
  1316. <h5 class="decalaration">Declaration</h5>
  1317. <div class="codewrapper">
  1318. <pre><code class="lang-csharp hljs">public bool WordWrap { get; set; }</code></pre>
  1319. </div>
  1320. <h5 class="propertyValue">Property Value</h5>
  1321. <table class="table table-bordered table-striped table-condensed">
  1322. <thead>
  1323. <tr>
  1324. <th>Type</th>
  1325. <th>Description</th>
  1326. </tr>
  1327. </thead>
  1328. <tbody>
  1329. <tr>
  1330. <td><span class="xref">System.Boolean</span></td>
  1331. <td></td>
  1332. </tr>
  1333. </tbody>
  1334. </table>
  1335. <h3 id="methods">Methods
  1336. </h3>
  1337. <a id="Terminal_Gui_TextView_ClearHistoryChanges_" data-uid="Terminal.Gui.TextView.ClearHistoryChanges*"></a>
  1338. <h4 id="Terminal_Gui_TextView_ClearHistoryChanges" data-uid="Terminal.Gui.TextView.ClearHistoryChanges">ClearHistoryChanges()</h4>
  1339. <div class="markdown level1 summary">
  1340. Allows clearing the <span class="xref">Terminal.Gui.HistoryText.HistoryTextItem</span> items updating the original text.
  1341. </div>
  1342. <div class="markdown level1 conceptual"></div>
  1343. <h5 class="decalaration">Declaration</h5>
  1344. <div class="codewrapper">
  1345. <pre><code class="lang-csharp hljs">public void ClearHistoryChanges()</code></pre>
  1346. </div>
  1347. <a id="Terminal_Gui_TextView_CloseFile_" data-uid="Terminal.Gui.TextView.CloseFile*"></a>
  1348. <h4 id="Terminal_Gui_TextView_CloseFile" data-uid="Terminal.Gui.TextView.CloseFile">CloseFile()</h4>
  1349. <div class="markdown level1 summary">
  1350. Closes the contents of the stream into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1351. </div>
  1352. <div class="markdown level1 conceptual"></div>
  1353. <h5 class="decalaration">Declaration</h5>
  1354. <div class="codewrapper">
  1355. <pre><code class="lang-csharp hljs">public bool CloseFile()</code></pre>
  1356. </div>
  1357. <h5 class="returns">Returns</h5>
  1358. <table class="table table-bordered table-striped table-condensed">
  1359. <thead>
  1360. <tr>
  1361. <th>Type</th>
  1362. <th>Description</th>
  1363. </tr>
  1364. </thead>
  1365. <tbody>
  1366. <tr>
  1367. <td><span class="xref">System.Boolean</span></td>
  1368. <td><code>true</code>, if stream was closed, <code>false</code> otherwise.</td>
  1369. </tr>
  1370. </tbody>
  1371. </table>
  1372. <a id="Terminal_Gui_TextView_ColorNormal_" data-uid="Terminal.Gui.TextView.ColorNormal*"></a>
  1373. <h4 id="Terminal_Gui_TextView_ColorNormal" data-uid="Terminal.Gui.TextView.ColorNormal">ColorNormal()</h4>
  1374. <div class="markdown level1 summary">
  1375. 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>.
  1376. </div>
  1377. <div class="markdown level1 conceptual"></div>
  1378. <h5 class="decalaration">Declaration</h5>
  1379. <div class="codewrapper">
  1380. <pre><code class="lang-csharp hljs">protected virtual void ColorNormal()</code></pre>
  1381. </div>
  1382. <a id="Terminal_Gui_TextView_ColorNormal_" data-uid="Terminal.Gui.TextView.ColorNormal*"></a>
  1383. <h4 id="Terminal_Gui_TextView_ColorNormal_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.ColorNormal(System.Collections.Generic.List{System.Rune},System.Int32)">ColorNormal(List&lt;Rune&gt;, Int32)</h4>
  1384. <div class="markdown level1 summary">
  1385. 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
  1386. 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>
  1387. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Normal">Normal</a>.
  1388. </div>
  1389. <div class="markdown level1 conceptual"></div>
  1390. <h5 class="decalaration">Declaration</h5>
  1391. <div class="codewrapper">
  1392. <pre><code class="lang-csharp hljs">protected virtual void ColorNormal(List&lt;Rune&gt; line, int idx)</code></pre>
  1393. </div>
  1394. <h5 class="parameters">Parameters</h5>
  1395. <table class="table table-bordered table-striped table-condensed">
  1396. <thead>
  1397. <tr>
  1398. <th>Type</th>
  1399. <th>Name</th>
  1400. <th>Description</th>
  1401. </tr>
  1402. </thead>
  1403. <tbody>
  1404. <tr>
  1405. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  1406. <td><span class="parametername">line</span></td>
  1407. <td></td>
  1408. </tr>
  1409. <tr>
  1410. <td><span class="xref">System.Int32</span></td>
  1411. <td><span class="parametername">idx</span></td>
  1412. <td></td>
  1413. </tr>
  1414. </tbody>
  1415. </table>
  1416. <a id="Terminal_Gui_TextView_ColorSelection_" data-uid="Terminal.Gui.TextView.ColorSelection*"></a>
  1417. <h4 id="Terminal_Gui_TextView_ColorSelection_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.ColorSelection(System.Collections.Generic.List{System.Rune},System.Int32)">ColorSelection(List&lt;Rune&gt;, Int32)</h4>
  1418. <div class="markdown level1 summary">
  1419. 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
  1420. 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>
  1421. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Focus">Focus</a>.
  1422. </div>
  1423. <div class="markdown level1 conceptual"></div>
  1424. <h5 class="decalaration">Declaration</h5>
  1425. <div class="codewrapper">
  1426. <pre><code class="lang-csharp hljs">protected virtual void ColorSelection(List&lt;Rune&gt; line, int idx)</code></pre>
  1427. </div>
  1428. <h5 class="parameters">Parameters</h5>
  1429. <table class="table table-bordered table-striped table-condensed">
  1430. <thead>
  1431. <tr>
  1432. <th>Type</th>
  1433. <th>Name</th>
  1434. <th>Description</th>
  1435. </tr>
  1436. </thead>
  1437. <tbody>
  1438. <tr>
  1439. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  1440. <td><span class="parametername">line</span></td>
  1441. <td></td>
  1442. </tr>
  1443. <tr>
  1444. <td><span class="xref">System.Int32</span></td>
  1445. <td><span class="parametername">idx</span></td>
  1446. <td></td>
  1447. </tr>
  1448. </tbody>
  1449. </table>
  1450. <a id="Terminal_Gui_TextView_ColorUsed_" data-uid="Terminal.Gui.TextView.ColorUsed*"></a>
  1451. <h4 id="Terminal_Gui_TextView_ColorUsed_System_Collections_Generic_List_System_Rune__System_Int32_" data-uid="Terminal.Gui.TextView.ColorUsed(System.Collections.Generic.List{System.Rune},System.Int32)">ColorUsed(List&lt;Rune&gt;, Int32)</h4>
  1452. <div class="markdown level1 summary">
  1453. 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
  1454. 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>
  1455. Defaults to <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_HotFocus">HotFocus</a>.
  1456. </div>
  1457. <div class="markdown level1 conceptual"></div>
  1458. <h5 class="decalaration">Declaration</h5>
  1459. <div class="codewrapper">
  1460. <pre><code class="lang-csharp hljs">protected virtual void ColorUsed(List&lt;Rune&gt; line, int idx)</code></pre>
  1461. </div>
  1462. <h5 class="parameters">Parameters</h5>
  1463. <table class="table table-bordered table-striped table-condensed">
  1464. <thead>
  1465. <tr>
  1466. <th>Type</th>
  1467. <th>Name</th>
  1468. <th>Description</th>
  1469. </tr>
  1470. </thead>
  1471. <tbody>
  1472. <tr>
  1473. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  1474. <td><span class="parametername">line</span></td>
  1475. <td></td>
  1476. </tr>
  1477. <tr>
  1478. <td><span class="xref">System.Int32</span></td>
  1479. <td><span class="parametername">idx</span></td>
  1480. <td></td>
  1481. </tr>
  1482. </tbody>
  1483. </table>
  1484. <a id="Terminal_Gui_TextView_Copy_" data-uid="Terminal.Gui.TextView.Copy*"></a>
  1485. <h4 id="Terminal_Gui_TextView_Copy" data-uid="Terminal.Gui.TextView.Copy">Copy()</h4>
  1486. <div class="markdown level1 summary">
  1487. Copy the selected text to the clipboard contents.
  1488. </div>
  1489. <div class="markdown level1 conceptual"></div>
  1490. <h5 class="decalaration">Declaration</h5>
  1491. <div class="codewrapper">
  1492. <pre><code class="lang-csharp hljs">public void Copy()</code></pre>
  1493. </div>
  1494. <a id="Terminal_Gui_TextView_Cut_" data-uid="Terminal.Gui.TextView.Cut*"></a>
  1495. <h4 id="Terminal_Gui_TextView_Cut" data-uid="Terminal.Gui.TextView.Cut">Cut()</h4>
  1496. <div class="markdown level1 summary">
  1497. Cut the selected text to the clipboard contents.
  1498. </div>
  1499. <div class="markdown level1 conceptual"></div>
  1500. <h5 class="decalaration">Declaration</h5>
  1501. <div class="codewrapper">
  1502. <pre><code class="lang-csharp hljs">public void Cut()</code></pre>
  1503. </div>
  1504. <a id="Terminal_Gui_TextView_DeleteAll_" data-uid="Terminal.Gui.TextView.DeleteAll*"></a>
  1505. <h4 id="Terminal_Gui_TextView_DeleteAll" data-uid="Terminal.Gui.TextView.DeleteAll">DeleteAll()</h4>
  1506. <div class="markdown level1 summary">
  1507. Deletes all text.
  1508. </div>
  1509. <div class="markdown level1 conceptual"></div>
  1510. <h5 class="decalaration">Declaration</h5>
  1511. <div class="codewrapper">
  1512. <pre><code class="lang-csharp hljs">public void DeleteAll()</code></pre>
  1513. </div>
  1514. <a id="Terminal_Gui_TextView_DeleteCharLeft_" data-uid="Terminal.Gui.TextView.DeleteCharLeft*"></a>
  1515. <h4 id="Terminal_Gui_TextView_DeleteCharLeft" data-uid="Terminal.Gui.TextView.DeleteCharLeft">DeleteCharLeft()</h4>
  1516. <div class="markdown level1 summary">
  1517. Deletes all the selected or a single character at left from the position of the cursor.
  1518. </div>
  1519. <div class="markdown level1 conceptual"></div>
  1520. <h5 class="decalaration">Declaration</h5>
  1521. <div class="codewrapper">
  1522. <pre><code class="lang-csharp hljs">public void DeleteCharLeft()</code></pre>
  1523. </div>
  1524. <a id="Terminal_Gui_TextView_DeleteCharRight_" data-uid="Terminal.Gui.TextView.DeleteCharRight*"></a>
  1525. <h4 id="Terminal_Gui_TextView_DeleteCharRight" data-uid="Terminal.Gui.TextView.DeleteCharRight">DeleteCharRight()</h4>
  1526. <div class="markdown level1 summary">
  1527. Deletes all the selected or a single character at right from the position of the cursor.
  1528. </div>
  1529. <div class="markdown level1 conceptual"></div>
  1530. <h5 class="decalaration">Declaration</h5>
  1531. <div class="codewrapper">
  1532. <pre><code class="lang-csharp hljs">public void DeleteCharRight()</code></pre>
  1533. </div>
  1534. <a id="Terminal_Gui_TextView_FindNextText_" data-uid="Terminal.Gui.TextView.FindNextText*"></a>
  1535. <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>
  1536. <div class="markdown level1 summary">
  1537. Find the next text based on the match case with the option to replace it.
  1538. </div>
  1539. <div class="markdown level1 conceptual"></div>
  1540. <h5 class="decalaration">Declaration</h5>
  1541. <div class="codewrapper">
  1542. <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>
  1543. </div>
  1544. <h5 class="parameters">Parameters</h5>
  1545. <table class="table table-bordered table-striped table-condensed">
  1546. <thead>
  1547. <tr>
  1548. <th>Type</th>
  1549. <th>Name</th>
  1550. <th>Description</th>
  1551. </tr>
  1552. </thead>
  1553. <tbody>
  1554. <tr>
  1555. <td><span class="xref">NStack.ustring</span></td>
  1556. <td><span class="parametername">textToFind</span></td>
  1557. <td>The text to find.</td>
  1558. </tr>
  1559. <tr>
  1560. <td><span class="xref">System.Boolean</span></td>
  1561. <td><span class="parametername">gaveFullTurn</span></td>
  1562. <td><code>true</code>If all the text was forward searched.<code>false</code>otherwise.</td>
  1563. </tr>
  1564. <tr>
  1565. <td><span class="xref">System.Boolean</span></td>
  1566. <td><span class="parametername">matchCase</span></td>
  1567. <td>The match case setting.</td>
  1568. </tr>
  1569. <tr>
  1570. <td><span class="xref">System.Boolean</span></td>
  1571. <td><span class="parametername">matchWholeWord</span></td>
  1572. <td>The match whole word setting.</td>
  1573. </tr>
  1574. <tr>
  1575. <td><span class="xref">NStack.ustring</span></td>
  1576. <td><span class="parametername">textToReplace</span></td>
  1577. <td>The text to replace.</td>
  1578. </tr>
  1579. <tr>
  1580. <td><span class="xref">System.Boolean</span></td>
  1581. <td><span class="parametername">replace</span></td>
  1582. <td><code>true</code>If is replacing.<code>false</code>otherwise.</td>
  1583. </tr>
  1584. </tbody>
  1585. </table>
  1586. <h5 class="returns">Returns</h5>
  1587. <table class="table table-bordered table-striped table-condensed">
  1588. <thead>
  1589. <tr>
  1590. <th>Type</th>
  1591. <th>Description</th>
  1592. </tr>
  1593. </thead>
  1594. <tbody>
  1595. <tr>
  1596. <td><span class="xref">System.Boolean</span></td>
  1597. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  1598. </tr>
  1599. </tbody>
  1600. </table>
  1601. <a id="Terminal_Gui_TextView_FindPreviousText_" data-uid="Terminal.Gui.TextView.FindPreviousText*"></a>
  1602. <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>
  1603. <div class="markdown level1 summary">
  1604. Find the previous text based on the match case with the option to replace it.
  1605. </div>
  1606. <div class="markdown level1 conceptual"></div>
  1607. <h5 class="decalaration">Declaration</h5>
  1608. <div class="codewrapper">
  1609. <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>
  1610. </div>
  1611. <h5 class="parameters">Parameters</h5>
  1612. <table class="table table-bordered table-striped table-condensed">
  1613. <thead>
  1614. <tr>
  1615. <th>Type</th>
  1616. <th>Name</th>
  1617. <th>Description</th>
  1618. </tr>
  1619. </thead>
  1620. <tbody>
  1621. <tr>
  1622. <td><span class="xref">NStack.ustring</span></td>
  1623. <td><span class="parametername">textToFind</span></td>
  1624. <td>The text to find.</td>
  1625. </tr>
  1626. <tr>
  1627. <td><span class="xref">System.Boolean</span></td>
  1628. <td><span class="parametername">gaveFullTurn</span></td>
  1629. <td><code>true</code>If all the text was backward searched.<code>false</code>otherwise.</td>
  1630. </tr>
  1631. <tr>
  1632. <td><span class="xref">System.Boolean</span></td>
  1633. <td><span class="parametername">matchCase</span></td>
  1634. <td>The match case setting.</td>
  1635. </tr>
  1636. <tr>
  1637. <td><span class="xref">System.Boolean</span></td>
  1638. <td><span class="parametername">matchWholeWord</span></td>
  1639. <td>The match whole word setting.</td>
  1640. </tr>
  1641. <tr>
  1642. <td><span class="xref">NStack.ustring</span></td>
  1643. <td><span class="parametername">textToReplace</span></td>
  1644. <td>The text to replace.</td>
  1645. </tr>
  1646. <tr>
  1647. <td><span class="xref">System.Boolean</span></td>
  1648. <td><span class="parametername">replace</span></td>
  1649. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  1650. </tr>
  1651. </tbody>
  1652. </table>
  1653. <h5 class="returns">Returns</h5>
  1654. <table class="table table-bordered table-striped table-condensed">
  1655. <thead>
  1656. <tr>
  1657. <th>Type</th>
  1658. <th>Description</th>
  1659. </tr>
  1660. </thead>
  1661. <tbody>
  1662. <tr>
  1663. <td><span class="xref">System.Boolean</span></td>
  1664. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  1665. </tr>
  1666. </tbody>
  1667. </table>
  1668. <a id="Terminal_Gui_TextView_FindTextChanged_" data-uid="Terminal.Gui.TextView.FindTextChanged*"></a>
  1669. <h4 id="Terminal_Gui_TextView_FindTextChanged" data-uid="Terminal.Gui.TextView.FindTextChanged">FindTextChanged()</h4>
  1670. <div class="markdown level1 summary">
  1671. Reset the flag to stop continuous find.
  1672. </div>
  1673. <div class="markdown level1 conceptual"></div>
  1674. <h5 class="decalaration">Declaration</h5>
  1675. <div class="codewrapper">
  1676. <pre><code class="lang-csharp hljs">public void FindTextChanged()</code></pre>
  1677. </div>
  1678. <a id="Terminal_Gui_TextView_GetCurrentLine_" data-uid="Terminal.Gui.TextView.GetCurrentLine*"></a>
  1679. <h4 id="Terminal_Gui_TextView_GetCurrentLine" data-uid="Terminal.Gui.TextView.GetCurrentLine">GetCurrentLine()</h4>
  1680. <div class="markdown level1 summary">
  1681. Returns the characters on the current line (where the cursor is positioned).
  1682. Use <a class="xref" href="Terminal.Gui.TextView.html#Terminal_Gui_TextView_CurrentColumn">CurrentColumn</a> to determine the position of the cursor within
  1683. that line
  1684. </div>
  1685. <div class="markdown level1 conceptual"></div>
  1686. <h5 class="decalaration">Declaration</h5>
  1687. <div class="codewrapper">
  1688. <pre><code class="lang-csharp hljs">public List&lt;Rune&gt; GetCurrentLine()</code></pre>
  1689. </div>
  1690. <h5 class="returns">Returns</h5>
  1691. <table class="table table-bordered table-striped table-condensed">
  1692. <thead>
  1693. <tr>
  1694. <th>Type</th>
  1695. <th>Description</th>
  1696. </tr>
  1697. </thead>
  1698. <tbody>
  1699. <tr>
  1700. <td><span class="xref">System.Collections.Generic.List</span>&lt;<span class="xref">System.Rune</span>&gt;</td>
  1701. <td></td>
  1702. </tr>
  1703. </tbody>
  1704. </table>
  1705. <a id="Terminal_Gui_TextView_InsertText_" data-uid="Terminal.Gui.TextView.InsertText*"></a>
  1706. <h4 id="Terminal_Gui_TextView_InsertText_System_String_" data-uid="Terminal.Gui.TextView.InsertText(System.String)">InsertText(String)</h4>
  1707. <div class="markdown level1 summary">
  1708. Inserts the given <code data-dev-comment-type="paramref" class="paramref">toAdd</code> text at the current cursor position
  1709. exactly as if the user had just typed it
  1710. </div>
  1711. <div class="markdown level1 conceptual"></div>
  1712. <h5 class="decalaration">Declaration</h5>
  1713. <div class="codewrapper">
  1714. <pre><code class="lang-csharp hljs">public void InsertText(string toAdd)</code></pre>
  1715. </div>
  1716. <h5 class="parameters">Parameters</h5>
  1717. <table class="table table-bordered table-striped table-condensed">
  1718. <thead>
  1719. <tr>
  1720. <th>Type</th>
  1721. <th>Name</th>
  1722. <th>Description</th>
  1723. </tr>
  1724. </thead>
  1725. <tbody>
  1726. <tr>
  1727. <td><span class="xref">System.String</span></td>
  1728. <td><span class="parametername">toAdd</span></td>
  1729. <td>Text to add</td>
  1730. </tr>
  1731. </tbody>
  1732. </table>
  1733. <a id="Terminal_Gui_TextView_LoadFile_" data-uid="Terminal.Gui.TextView.LoadFile*"></a>
  1734. <h4 id="Terminal_Gui_TextView_LoadFile_System_String_" data-uid="Terminal.Gui.TextView.LoadFile(System.String)">LoadFile(String)</h4>
  1735. <div class="markdown level1 summary">
  1736. Loads the contents of the file into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1737. </div>
  1738. <div class="markdown level1 conceptual"></div>
  1739. <h5 class="decalaration">Declaration</h5>
  1740. <div class="codewrapper">
  1741. <pre><code class="lang-csharp hljs">public bool LoadFile(string path)</code></pre>
  1742. </div>
  1743. <h5 class="parameters">Parameters</h5>
  1744. <table class="table table-bordered table-striped table-condensed">
  1745. <thead>
  1746. <tr>
  1747. <th>Type</th>
  1748. <th>Name</th>
  1749. <th>Description</th>
  1750. </tr>
  1751. </thead>
  1752. <tbody>
  1753. <tr>
  1754. <td><span class="xref">System.String</span></td>
  1755. <td><span class="parametername">path</span></td>
  1756. <td>Path to the file to load.</td>
  1757. </tr>
  1758. </tbody>
  1759. </table>
  1760. <h5 class="returns">Returns</h5>
  1761. <table class="table table-bordered table-striped table-condensed">
  1762. <thead>
  1763. <tr>
  1764. <th>Type</th>
  1765. <th>Description</th>
  1766. </tr>
  1767. </thead>
  1768. <tbody>
  1769. <tr>
  1770. <td><span class="xref">System.Boolean</span></td>
  1771. <td><code>true</code>, if file was loaded, <code>false</code> otherwise.</td>
  1772. </tr>
  1773. </tbody>
  1774. </table>
  1775. <a id="Terminal_Gui_TextView_LoadStream_" data-uid="Terminal.Gui.TextView.LoadStream*"></a>
  1776. <h4 id="Terminal_Gui_TextView_LoadStream_System_IO_Stream_" data-uid="Terminal.Gui.TextView.LoadStream(System.IO.Stream)">LoadStream(Stream)</h4>
  1777. <div class="markdown level1 summary">
  1778. Loads the contents of the stream into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  1779. </div>
  1780. <div class="markdown level1 conceptual"></div>
  1781. <h5 class="decalaration">Declaration</h5>
  1782. <div class="codewrapper">
  1783. <pre><code class="lang-csharp hljs">public void LoadStream(Stream stream)</code></pre>
  1784. </div>
  1785. <h5 class="parameters">Parameters</h5>
  1786. <table class="table table-bordered table-striped table-condensed">
  1787. <thead>
  1788. <tr>
  1789. <th>Type</th>
  1790. <th>Name</th>
  1791. <th>Description</th>
  1792. </tr>
  1793. </thead>
  1794. <tbody>
  1795. <tr>
  1796. <td><span class="xref">System.IO.Stream</span></td>
  1797. <td><span class="parametername">stream</span></td>
  1798. <td>Stream to load the contents from.</td>
  1799. </tr>
  1800. </tbody>
  1801. </table>
  1802. <a id="Terminal_Gui_TextView_MouseEvent_" data-uid="Terminal.Gui.TextView.MouseEvent*"></a>
  1803. <h4 id="Terminal_Gui_TextView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.TextView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  1804. <div class="markdown level1 summary">
  1805. Method invoked when a mouse event is generated
  1806. </div>
  1807. <div class="markdown level1 conceptual"></div>
  1808. <h5 class="decalaration">Declaration</h5>
  1809. <div class="codewrapper">
  1810. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent ev)</code></pre>
  1811. </div>
  1812. <h5 class="parameters">Parameters</h5>
  1813. <table class="table table-bordered table-striped table-condensed">
  1814. <thead>
  1815. <tr>
  1816. <th>Type</th>
  1817. <th>Name</th>
  1818. <th>Description</th>
  1819. </tr>
  1820. </thead>
  1821. <tbody>
  1822. <tr>
  1823. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  1824. <td><span class="parametername">ev</span></td>
  1825. <td></td>
  1826. </tr>
  1827. </tbody>
  1828. </table>
  1829. <h5 class="returns">Returns</h5>
  1830. <table class="table table-bordered table-striped table-condensed">
  1831. <thead>
  1832. <tr>
  1833. <th>Type</th>
  1834. <th>Description</th>
  1835. </tr>
  1836. </thead>
  1837. <tbody>
  1838. <tr>
  1839. <td><span class="xref">System.Boolean</span></td>
  1840. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1841. </tr>
  1842. </tbody>
  1843. </table>
  1844. <h5 class="overrides">Overrides</h5>
  1845. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  1846. <a id="Terminal_Gui_TextView_MoveEnd_" data-uid="Terminal.Gui.TextView.MoveEnd*"></a>
  1847. <h4 id="Terminal_Gui_TextView_MoveEnd" data-uid="Terminal.Gui.TextView.MoveEnd">MoveEnd()</h4>
  1848. <div class="markdown level1 summary">
  1849. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to the last line and position the cursor there.
  1850. </div>
  1851. <div class="markdown level1 conceptual"></div>
  1852. <h5 class="decalaration">Declaration</h5>
  1853. <div class="codewrapper">
  1854. <pre><code class="lang-csharp hljs">public void MoveEnd()</code></pre>
  1855. </div>
  1856. <a id="Terminal_Gui_TextView_MoveHome_" data-uid="Terminal.Gui.TextView.MoveHome*"></a>
  1857. <h4 id="Terminal_Gui_TextView_MoveHome" data-uid="Terminal.Gui.TextView.MoveHome">MoveHome()</h4>
  1858. <div class="markdown level1 summary">
  1859. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to the first line and position the cursor there.
  1860. </div>
  1861. <div class="markdown level1 conceptual"></div>
  1862. <h5 class="decalaration">Declaration</h5>
  1863. <div class="codewrapper">
  1864. <pre><code class="lang-csharp hljs">public void MoveHome()</code></pre>
  1865. </div>
  1866. <a id="Terminal_Gui_TextView_OnEnter_" data-uid="Terminal.Gui.TextView.OnEnter*"></a>
  1867. <h4 id="Terminal_Gui_TextView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.TextView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  1868. <div class="markdown level1 summary">
  1869. Method invoked when a view gets focus.
  1870. </div>
  1871. <div class="markdown level1 conceptual"></div>
  1872. <h5 class="decalaration">Declaration</h5>
  1873. <div class="codewrapper">
  1874. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  1875. </div>
  1876. <h5 class="parameters">Parameters</h5>
  1877. <table class="table table-bordered table-striped table-condensed">
  1878. <thead>
  1879. <tr>
  1880. <th>Type</th>
  1881. <th>Name</th>
  1882. <th>Description</th>
  1883. </tr>
  1884. </thead>
  1885. <tbody>
  1886. <tr>
  1887. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1888. <td><span class="parametername">view</span></td>
  1889. <td>The view that is losing focus.</td>
  1890. </tr>
  1891. </tbody>
  1892. </table>
  1893. <h5 class="returns">Returns</h5>
  1894. <table class="table table-bordered table-striped table-condensed">
  1895. <thead>
  1896. <tr>
  1897. <th>Type</th>
  1898. <th>Description</th>
  1899. </tr>
  1900. </thead>
  1901. <tbody>
  1902. <tr>
  1903. <td><span class="xref">System.Boolean</span></td>
  1904. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1905. </tr>
  1906. </tbody>
  1907. </table>
  1908. <h5 class="overrides">Overrides</h5>
  1909. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  1910. <a id="Terminal_Gui_TextView_OnKeyUp_" data-uid="Terminal.Gui.TextView.OnKeyUp*"></a>
  1911. <h4 id="Terminal_Gui_TextView_OnKeyUp_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TextView.OnKeyUp(Terminal.Gui.KeyEvent)">OnKeyUp(KeyEvent)</h4>
  1912. <div class="markdown level1 summary">
  1913. Method invoked when a key is released.
  1914. </div>
  1915. <div class="markdown level1 conceptual"></div>
  1916. <h5 class="decalaration">Declaration</h5>
  1917. <div class="codewrapper">
  1918. <pre><code class="lang-csharp hljs">public override bool OnKeyUp(KeyEvent kb)</code></pre>
  1919. </div>
  1920. <h5 class="parameters">Parameters</h5>
  1921. <table class="table table-bordered table-striped table-condensed">
  1922. <thead>
  1923. <tr>
  1924. <th>Type</th>
  1925. <th>Name</th>
  1926. <th>Description</th>
  1927. </tr>
  1928. </thead>
  1929. <tbody>
  1930. <tr>
  1931. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1932. <td><span class="parametername">kb</span></td>
  1933. <td></td>
  1934. </tr>
  1935. </tbody>
  1936. </table>
  1937. <h5 class="returns">Returns</h5>
  1938. <table class="table table-bordered table-striped table-condensed">
  1939. <thead>
  1940. <tr>
  1941. <th>Type</th>
  1942. <th>Description</th>
  1943. </tr>
  1944. </thead>
  1945. <tbody>
  1946. <tr>
  1947. <td><span class="xref">System.Boolean</span></td>
  1948. <td>true if the event was handled</td>
  1949. </tr>
  1950. </tbody>
  1951. </table>
  1952. <h5 class="overrides">Overrides</h5>
  1953. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a></div>
  1954. <a id="Terminal_Gui_TextView_OnLeave_" data-uid="Terminal.Gui.TextView.OnLeave*"></a>
  1955. <h4 id="Terminal_Gui_TextView_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.TextView.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  1956. <div class="markdown level1 summary">
  1957. Method invoked when a view loses focus.
  1958. </div>
  1959. <div class="markdown level1 conceptual"></div>
  1960. <h5 class="decalaration">Declaration</h5>
  1961. <div class="codewrapper">
  1962. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  1963. </div>
  1964. <h5 class="parameters">Parameters</h5>
  1965. <table class="table table-bordered table-striped table-condensed">
  1966. <thead>
  1967. <tr>
  1968. <th>Type</th>
  1969. <th>Name</th>
  1970. <th>Description</th>
  1971. </tr>
  1972. </thead>
  1973. <tbody>
  1974. <tr>
  1975. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1976. <td><span class="parametername">view</span></td>
  1977. <td>The view that is getting focus.</td>
  1978. </tr>
  1979. </tbody>
  1980. </table>
  1981. <h5 class="returns">Returns</h5>
  1982. <table class="table table-bordered table-striped table-condensed">
  1983. <thead>
  1984. <tr>
  1985. <th>Type</th>
  1986. <th>Description</th>
  1987. </tr>
  1988. </thead>
  1989. <tbody>
  1990. <tr>
  1991. <td><span class="xref">System.Boolean</span></td>
  1992. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  1993. </tr>
  1994. </tbody>
  1995. </table>
  1996. <h5 class="overrides">Overrides</h5>
  1997. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a></div>
  1998. <a id="Terminal_Gui_TextView_Paste_" data-uid="Terminal.Gui.TextView.Paste*"></a>
  1999. <h4 id="Terminal_Gui_TextView_Paste" data-uid="Terminal.Gui.TextView.Paste">Paste()</h4>
  2000. <div class="markdown level1 summary">
  2001. Paste the clipboard contents into the current selected position.
  2002. </div>
  2003. <div class="markdown level1 conceptual"></div>
  2004. <h5 class="decalaration">Declaration</h5>
  2005. <div class="codewrapper">
  2006. <pre><code class="lang-csharp hljs">public void Paste()</code></pre>
  2007. </div>
  2008. <a id="Terminal_Gui_TextView_PositionCursor_" data-uid="Terminal.Gui.TextView.PositionCursor*"></a>
  2009. <h4 id="Terminal_Gui_TextView_PositionCursor" data-uid="Terminal.Gui.TextView.PositionCursor">PositionCursor()</h4>
  2010. <div class="markdown level1 summary">
  2011. Positions the cursor on the current row and column
  2012. </div>
  2013. <div class="markdown level1 conceptual"></div>
  2014. <h5 class="decalaration">Declaration</h5>
  2015. <div class="codewrapper">
  2016. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  2017. </div>
  2018. <h5 class="overrides">Overrides</h5>
  2019. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  2020. <a id="Terminal_Gui_TextView_ProcessKey_" data-uid="Terminal.Gui.TextView.ProcessKey*"></a>
  2021. <h4 id="Terminal_Gui_TextView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TextView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  2022. <div class="markdown level1 summary">
  2023. If the view is focused, gives the view a
  2024. chance to process the keystroke.
  2025. </div>
  2026. <div class="markdown level1 conceptual"></div>
  2027. <h5 class="decalaration">Declaration</h5>
  2028. <div class="codewrapper">
  2029. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  2030. </div>
  2031. <h5 class="parameters">Parameters</h5>
  2032. <table class="table table-bordered table-striped table-condensed">
  2033. <thead>
  2034. <tr>
  2035. <th>Type</th>
  2036. <th>Name</th>
  2037. <th>Description</th>
  2038. </tr>
  2039. </thead>
  2040. <tbody>
  2041. <tr>
  2042. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  2043. <td><span class="parametername">kb</span></td>
  2044. <td></td>
  2045. </tr>
  2046. </tbody>
  2047. </table>
  2048. <h5 class="returns">Returns</h5>
  2049. <table class="table table-bordered table-striped table-condensed">
  2050. <thead>
  2051. <tr>
  2052. <th>Type</th>
  2053. <th>Description</th>
  2054. </tr>
  2055. </thead>
  2056. <tbody>
  2057. <tr>
  2058. <td><span class="xref">System.Boolean</span></td>
  2059. <td></td>
  2060. </tr>
  2061. </tbody>
  2062. </table>
  2063. <h5 class="overrides">Overrides</h5>
  2064. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  2065. <h5 id="Terminal_Gui_TextView_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  2066. <div class="markdown level1 remarks">
  2067. <p>
  2068. Views can override this method if they are
  2069. interested in processing the given keystroke.
  2070. If they consume the keystroke, they must
  2071. return true to stop the keystroke from being
  2072. processed by other widgets or consumed by the
  2073. widget engine. If they return false, the
  2074. keystroke will be passed using the ProcessColdKey
  2075. method to other views to process.
  2076. </p>
  2077. <p>
  2078. The View implementation does nothing but return false,
  2079. so it is not necessary to call base.ProcessKey if you
  2080. derive directly from View, but you should if you derive
  2081. other View subclasses.
  2082. </p>
  2083. </div>
  2084. <a id="Terminal_Gui_TextView_Redraw_" data-uid="Terminal.Gui.TextView.Redraw*"></a>
  2085. <h4 id="Terminal_Gui_TextView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TextView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  2086. <div class="markdown level1 summary">
  2087. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  2088. </div>
  2089. <div class="markdown level1 conceptual"></div>
  2090. <h5 class="decalaration">Declaration</h5>
  2091. <div class="codewrapper">
  2092. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  2093. </div>
  2094. <h5 class="parameters">Parameters</h5>
  2095. <table class="table table-bordered table-striped table-condensed">
  2096. <thead>
  2097. <tr>
  2098. <th>Type</th>
  2099. <th>Name</th>
  2100. <th>Description</th>
  2101. </tr>
  2102. </thead>
  2103. <tbody>
  2104. <tr>
  2105. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  2106. <td><span class="parametername">bounds</span></td>
  2107. <td>The bounds (view-relative region) to redraw.</td>
  2108. </tr>
  2109. </tbody>
  2110. </table>
  2111. <h5 class="overrides">Overrides</h5>
  2112. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  2113. <h5 id="Terminal_Gui_TextView_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  2114. <div class="markdown level1 remarks">
  2115. <p>
  2116. Always use <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> (view-relative) when calling <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a>, NOT <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> (superview-relative).
  2117. </p>
  2118. <p>
  2119. Views should set the color that they want to use on entry, as otherwise this will inherit
  2120. the last color that was set globally on the driver.
  2121. </p>
  2122. <p>
  2123. Overrides of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a> must ensure they do not set <code>Driver.Clip</code> to a clip region
  2124. larger than the <code>region</code> parameter.
  2125. </p>
  2126. </div>
  2127. <a id="Terminal_Gui_TextView_ReplaceAllText_" data-uid="Terminal.Gui.TextView.ReplaceAllText*"></a>
  2128. <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>
  2129. <div class="markdown level1 summary">
  2130. Replaces all the text based on the match case.
  2131. </div>
  2132. <div class="markdown level1 conceptual"></div>
  2133. <h5 class="decalaration">Declaration</h5>
  2134. <div class="codewrapper">
  2135. <pre><code class="lang-csharp hljs">public bool ReplaceAllText(ustring textToFind, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null)</code></pre>
  2136. </div>
  2137. <h5 class="parameters">Parameters</h5>
  2138. <table class="table table-bordered table-striped table-condensed">
  2139. <thead>
  2140. <tr>
  2141. <th>Type</th>
  2142. <th>Name</th>
  2143. <th>Description</th>
  2144. </tr>
  2145. </thead>
  2146. <tbody>
  2147. <tr>
  2148. <td><span class="xref">NStack.ustring</span></td>
  2149. <td><span class="parametername">textToFind</span></td>
  2150. <td>The text to find.</td>
  2151. </tr>
  2152. <tr>
  2153. <td><span class="xref">System.Boolean</span></td>
  2154. <td><span class="parametername">matchCase</span></td>
  2155. <td>The match case setting.</td>
  2156. </tr>
  2157. <tr>
  2158. <td><span class="xref">System.Boolean</span></td>
  2159. <td><span class="parametername">matchWholeWord</span></td>
  2160. <td>The match whole word setting.</td>
  2161. </tr>
  2162. <tr>
  2163. <td><span class="xref">NStack.ustring</span></td>
  2164. <td><span class="parametername">textToReplace</span></td>
  2165. <td>The text to replace.</td>
  2166. </tr>
  2167. </tbody>
  2168. </table>
  2169. <h5 class="returns">Returns</h5>
  2170. <table class="table table-bordered table-striped table-condensed">
  2171. <thead>
  2172. <tr>
  2173. <th>Type</th>
  2174. <th>Description</th>
  2175. </tr>
  2176. </thead>
  2177. <tbody>
  2178. <tr>
  2179. <td><span class="xref">System.Boolean</span></td>
  2180. <td><code>true</code>If the text was found.<code>false</code>otherwise.</td>
  2181. </tr>
  2182. </tbody>
  2183. </table>
  2184. <a id="Terminal_Gui_TextView_ScrollTo_" data-uid="Terminal.Gui.TextView.ScrollTo*"></a>
  2185. <h4 id="Terminal_Gui_TextView_ScrollTo_System_Int32_System_Boolean_" data-uid="Terminal.Gui.TextView.ScrollTo(System.Int32,System.Boolean)">ScrollTo(Int32, Boolean)</h4>
  2186. <div class="markdown level1 summary">
  2187. 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
  2188. 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.
  2189. </div>
  2190. <div class="markdown level1 conceptual"></div>
  2191. <h5 class="decalaration">Declaration</h5>
  2192. <div class="codewrapper">
  2193. <pre><code class="lang-csharp hljs">public void ScrollTo(int idx, bool isRow = true)</code></pre>
  2194. </div>
  2195. <h5 class="parameters">Parameters</h5>
  2196. <table class="table table-bordered table-striped table-condensed">
  2197. <thead>
  2198. <tr>
  2199. <th>Type</th>
  2200. <th>Name</th>
  2201. <th>Description</th>
  2202. </tr>
  2203. </thead>
  2204. <tbody>
  2205. <tr>
  2206. <td><span class="xref">System.Int32</span></td>
  2207. <td><span class="parametername">idx</span></td>
  2208. <td>Row that should be displayed at the top or Column that should be displayed at the left,
  2209. if the value is negative it will be reset to zero</td>
  2210. </tr>
  2211. <tr>
  2212. <td><span class="xref">System.Boolean</span></td>
  2213. <td><span class="parametername">isRow</span></td>
  2214. <td>If true (default) the <code data-dev-comment-type="paramref" class="paramref">idx</code> is a row, column otherwise.</td>
  2215. </tr>
  2216. </tbody>
  2217. </table>
  2218. <a id="Terminal_Gui_TextView_SelectAll_" data-uid="Terminal.Gui.TextView.SelectAll*"></a>
  2219. <h4 id="Terminal_Gui_TextView_SelectAll" data-uid="Terminal.Gui.TextView.SelectAll">SelectAll()</h4>
  2220. <div class="markdown level1 summary">
  2221. Select all text.
  2222. </div>
  2223. <div class="markdown level1 conceptual"></div>
  2224. <h5 class="decalaration">Declaration</h5>
  2225. <div class="codewrapper">
  2226. <pre><code class="lang-csharp hljs">public void SelectAll()</code></pre>
  2227. </div>
  2228. <h3 id="events">Events
  2229. </h3>
  2230. <h4 id="Terminal_Gui_TextView_TextChanged" data-uid="Terminal.Gui.TextView.TextChanged">TextChanged</h4>
  2231. <div class="markdown level1 summary">
  2232. 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.
  2233. </div>
  2234. <div class="markdown level1 conceptual"></div>
  2235. <h5 class="decalaration">Declaration</h5>
  2236. <div class="codewrapper">
  2237. <pre><code class="lang-csharp hljs">public event Action TextChanged</code></pre>
  2238. </div>
  2239. <h5 class="eventType">Event Type</h5>
  2240. <table class="table table-bordered table-striped table-condensed">
  2241. <thead>
  2242. <tr>
  2243. <th>Type</th>
  2244. <th>Description</th>
  2245. </tr>
  2246. </thead>
  2247. <tbody>
  2248. <tr>
  2249. <td><span class="xref">System.Action</span></td>
  2250. <td></td>
  2251. </tr>
  2252. </tbody>
  2253. </table>
  2254. <h3 id="implements">Implements</h3>
  2255. <div>
  2256. <span class="xref">System.IDisposable</span>
  2257. </div>
  2258. <div>
  2259. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  2260. </div>
  2261. <div>
  2262. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  2263. </div>
  2264. </article>
  2265. </div>
  2266. <div class="hidden-sm col-md-2" role="complementary">
  2267. <div class="sideaffix">
  2268. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  2269. <h5>In This Article</h5>
  2270. <div></div>
  2271. </nav>
  2272. </div>
  2273. </div>
  2274. </div>
  2275. </div>
  2276. <footer>
  2277. <div class="grad-bottom"></div>
  2278. <div class="footer">
  2279. <div class="container">
  2280. <span class="pull-right">
  2281. <a href="#top">Back to top</a>
  2282. </span>
  2283. <span>Generated by <strong>DocFX</strong></span>
  2284. </div>
  2285. </div>
  2286. </footer>
  2287. </div>
  2288. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  2289. <script type="text/javascript" src="../../styles/docfx.js"></script>
  2290. <script type="text/javascript" src="../../styles/main.js"></script>
  2291. </body>
  2292. </html>