Terminal.Gui.TextView.html 83 KB

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