Terminal.Gui.TextView.html 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216
  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.56.7.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_HotKey">View.HotKey</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  231. </div>
  232. <div>
  233. <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>
  234. </div>
  235. <div>
  236. <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>
  237. </div>
  238. <div>
  239. <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>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  372. </div>
  373. <div>
  374. <span class="xref">System.Object.Equals(System.Object)</span>
  375. </div>
  376. <div>
  377. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  378. </div>
  379. <div>
  380. <span class="xref">System.Object.GetHashCode()</span>
  381. </div>
  382. <div>
  383. <span class="xref">System.Object.GetType()</span>
  384. </div>
  385. <div>
  386. <span class="xref">System.Object.MemberwiseClone()</span>
  387. </div>
  388. <div>
  389. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  390. </div>
  391. </div>
  392. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  393. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  394. <h5 id="Terminal_Gui_TextView_syntax">Syntax</h5>
  395. <div class="codewrapper">
  396. <pre><code class="lang-csharp hljs">public class TextView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  397. </div>
  398. <h5 id="Terminal_Gui_TextView_remarks"><strong>Remarks</strong></h5>
  399. <div class="markdown level0 remarks">
  400. <p>
  401. <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> provides a multi-line text editor. Users interact
  402. with it with the standard Emacs commands for movement or the arrow
  403. keys.
  404. </p>
  405. <table><thead><tr><th>Shortcut</th><th>Action performed</th></tr></thead><tbody><tr><td>Left cursor, Control-b</td><td>
  406. Moves the editing point left.
  407. </td></tr><tr><td>Right cursor, Control-f</td><td>
  408. Moves the editing point right.
  409. </td></tr><tr><td>Alt-b</td><td>
  410. Moves one word back.
  411. </td></tr><tr><td>Alt-f</td><td>
  412. Moves one word forward.
  413. </td></tr><tr><td>Up cursor, Control-p</td><td>
  414. Moves the editing point one line up.
  415. </td></tr><tr><td>Down cursor, Control-n</td><td>
  416. Moves the editing point one line down
  417. </td></tr><tr><td>Home key, Control-a</td><td>
  418. Moves the cursor to the beginning of the line.
  419. </td></tr><tr><td>End key, Control-e</td><td>
  420. Moves the cursor to the end of the line.
  421. </td></tr><tr><td>Control-Home</td><td>
  422. Scrolls to the first line and moves the cursor there.
  423. </td></tr><tr><td>Control-End</td><td>
  424. Scrolls to the last line and moves the cursor there.
  425. </td></tr><tr><td>Delete, Control-d</td><td>
  426. Deletes the character in front of the cursor.
  427. </td></tr><tr><td>Backspace</td><td>
  428. Deletes the character behind the cursor.
  429. </td></tr><tr><td>Control-k</td><td>
  430. Deletes the text until the end of the line and replaces the kill buffer
  431. with the deleted text. You can paste this text in a different place by
  432. using Control-y.
  433. </td></tr><tr><td>Control-y</td><td>
  434. Pastes the content of the kill ring into the current position.
  435. </td></tr><tr><td>Alt-d</td><td>
  436. Deletes the word above the cursor and adds it to the kill ring. You
  437. can paste the contents of the kill ring with Control-y.
  438. </td></tr><tr><td>Control-q</td><td>
  439. Quotes the next input character, to prevent the normal processing of
  440. key handling to take place.
  441. </td></tr></tbody></table>
  442. </div>
  443. <h3 id="constructors">Constructors
  444. </h3>
  445. <a id="Terminal_Gui_TextView__ctor_" data-uid="Terminal.Gui.TextView.#ctor*"></a>
  446. <h4 id="Terminal_Gui_TextView__ctor" data-uid="Terminal.Gui.TextView.#ctor">TextView()</h4>
  447. <div class="markdown level1 summary">
  448. Initializes a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> on the specified area,
  449. with dimensions controlled with the X, Y, Width and Height properties.
  450. </div>
  451. <div class="markdown level1 conceptual"></div>
  452. <h5 class="decalaration">Declaration</h5>
  453. <div class="codewrapper">
  454. <pre><code class="lang-csharp hljs">public TextView()</code></pre>
  455. </div>
  456. <a id="Terminal_Gui_TextView__ctor_" data-uid="Terminal.Gui.TextView.#ctor*"></a>
  457. <h4 id="Terminal_Gui_TextView__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TextView.#ctor(Terminal.Gui.Rect)">TextView(Rect)</h4>
  458. <div class="markdown level1 summary">
  459. Initializes a <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> on the specified area, with absolute position and size.
  460. </div>
  461. <div class="markdown level1 conceptual"></div>
  462. <h5 class="decalaration">Declaration</h5>
  463. <div class="codewrapper">
  464. <pre><code class="lang-csharp hljs">public TextView(Rect frame)</code></pre>
  465. </div>
  466. <h5 class="parameters">Parameters</h5>
  467. <table class="table table-bordered table-striped table-condensed">
  468. <thead>
  469. <tr>
  470. <th>Type</th>
  471. <th>Name</th>
  472. <th>Description</th>
  473. </tr>
  474. </thead>
  475. <tbody>
  476. <tr>
  477. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  478. <td><span class="parametername">frame</span></td>
  479. <td></td>
  480. </tr>
  481. </tbody>
  482. </table>
  483. <h5 id="Terminal_Gui_TextView__ctor_Terminal_Gui_Rect__remarks">Remarks</h5>
  484. <div class="markdown level1 remarks">
  485. </div>
  486. <h3 id="properties">Properties
  487. </h3>
  488. <a id="Terminal_Gui_TextView_CanFocus_" data-uid="Terminal.Gui.TextView.CanFocus*"></a>
  489. <h4 id="Terminal_Gui_TextView_CanFocus" data-uid="Terminal.Gui.TextView.CanFocus">CanFocus</h4>
  490. <div class="markdown level1 summary"></div>
  491. <div class="markdown level1 conceptual"></div>
  492. <h5 class="decalaration">Declaration</h5>
  493. <div class="codewrapper">
  494. <pre><code class="lang-csharp hljs">public override bool CanFocus { get; set; }</code></pre>
  495. </div>
  496. <h5 class="propertyValue">Property Value</h5>
  497. <table class="table table-bordered table-striped table-condensed">
  498. <thead>
  499. <tr>
  500. <th>Type</th>
  501. <th>Description</th>
  502. </tr>
  503. </thead>
  504. <tbody>
  505. <tr>
  506. <td><span class="xref">System.Boolean</span></td>
  507. <td></td>
  508. </tr>
  509. </tbody>
  510. </table>
  511. <h5 class="overrides">Overrides</h5>
  512. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a></div>
  513. <a id="Terminal_Gui_TextView_CurrentColumn_" data-uid="Terminal.Gui.TextView.CurrentColumn*"></a>
  514. <h4 id="Terminal_Gui_TextView_CurrentColumn" data-uid="Terminal.Gui.TextView.CurrentColumn">CurrentColumn</h4>
  515. <div class="markdown level1 summary">
  516. Gets the cursor column.
  517. </div>
  518. <div class="markdown level1 conceptual"></div>
  519. <h5 class="decalaration">Declaration</h5>
  520. <div class="codewrapper">
  521. <pre><code class="lang-csharp hljs">public int CurrentColumn { get; }</code></pre>
  522. </div>
  523. <h5 class="propertyValue">Property Value</h5>
  524. <table class="table table-bordered table-striped table-condensed">
  525. <thead>
  526. <tr>
  527. <th>Type</th>
  528. <th>Description</th>
  529. </tr>
  530. </thead>
  531. <tbody>
  532. <tr>
  533. <td><span class="xref">System.Int32</span></td>
  534. <td>The cursor column.</td>
  535. </tr>
  536. </tbody>
  537. </table>
  538. <a id="Terminal_Gui_TextView_CurrentRow_" data-uid="Terminal.Gui.TextView.CurrentRow*"></a>
  539. <h4 id="Terminal_Gui_TextView_CurrentRow" data-uid="Terminal.Gui.TextView.CurrentRow">CurrentRow</h4>
  540. <div class="markdown level1 summary">
  541. Gets the current cursor row.
  542. </div>
  543. <div class="markdown level1 conceptual"></div>
  544. <h5 class="decalaration">Declaration</h5>
  545. <div class="codewrapper">
  546. <pre><code class="lang-csharp hljs">public int CurrentRow { get; }</code></pre>
  547. </div>
  548. <h5 class="propertyValue">Property Value</h5>
  549. <table class="table table-bordered table-striped table-condensed">
  550. <thead>
  551. <tr>
  552. <th>Type</th>
  553. <th>Description</th>
  554. </tr>
  555. </thead>
  556. <tbody>
  557. <tr>
  558. <td><span class="xref">System.Int32</span></td>
  559. <td></td>
  560. </tr>
  561. </tbody>
  562. </table>
  563. <a id="Terminal_Gui_TextView_DesiredCursorVisibility_" data-uid="Terminal.Gui.TextView.DesiredCursorVisibility*"></a>
  564. <h4 id="Terminal_Gui_TextView_DesiredCursorVisibility" data-uid="Terminal.Gui.TextView.DesiredCursorVisibility">DesiredCursorVisibility</h4>
  565. <div class="markdown level1 summary">
  566. Get / Set the wished cursor when the field is focused
  567. </div>
  568. <div class="markdown level1 conceptual"></div>
  569. <h5 class="decalaration">Declaration</h5>
  570. <div class="codewrapper">
  571. <pre><code class="lang-csharp hljs">public CursorVisibility DesiredCursorVisibility { get; set; }</code></pre>
  572. </div>
  573. <h5 class="propertyValue">Property Value</h5>
  574. <table class="table table-bordered table-striped table-condensed">
  575. <thead>
  576. <tr>
  577. <th>Type</th>
  578. <th>Description</th>
  579. </tr>
  580. </thead>
  581. <tbody>
  582. <tr>
  583. <td><a class="xref" href="Terminal.Gui.CursorVisibility.html">CursorVisibility</a></td>
  584. <td></td>
  585. </tr>
  586. </tbody>
  587. </table>
  588. <a id="Terminal_Gui_TextView_Frame_" data-uid="Terminal.Gui.TextView.Frame*"></a>
  589. <h4 id="Terminal_Gui_TextView_Frame" data-uid="Terminal.Gui.TextView.Frame">Frame</h4>
  590. <div class="markdown level1 summary"></div>
  591. <div class="markdown level1 conceptual"></div>
  592. <h5 class="decalaration">Declaration</h5>
  593. <div class="codewrapper">
  594. <pre><code class="lang-csharp hljs">public override Rect Frame { get; set; }</code></pre>
  595. </div>
  596. <h5 class="propertyValue">Property Value</h5>
  597. <table class="table table-bordered table-striped table-condensed">
  598. <thead>
  599. <tr>
  600. <th>Type</th>
  601. <th>Description</th>
  602. </tr>
  603. </thead>
  604. <tbody>
  605. <tr>
  606. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  607. <td></td>
  608. </tr>
  609. </tbody>
  610. </table>
  611. <h5 class="overrides">Overrides</h5>
  612. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a></div>
  613. <a id="Terminal_Gui_TextView_LeftColumn_" data-uid="Terminal.Gui.TextView.LeftColumn*"></a>
  614. <h4 id="Terminal_Gui_TextView_LeftColumn" data-uid="Terminal.Gui.TextView.LeftColumn">LeftColumn</h4>
  615. <div class="markdown level1 summary">
  616. Gets or sets the left column.
  617. </div>
  618. <div class="markdown level1 conceptual"></div>
  619. <h5 class="decalaration">Declaration</h5>
  620. <div class="codewrapper">
  621. <pre><code class="lang-csharp hljs">public int LeftColumn { get; set; }</code></pre>
  622. </div>
  623. <h5 class="propertyValue">Property Value</h5>
  624. <table class="table table-bordered table-striped table-condensed">
  625. <thead>
  626. <tr>
  627. <th>Type</th>
  628. <th>Description</th>
  629. </tr>
  630. </thead>
  631. <tbody>
  632. <tr>
  633. <td><span class="xref">System.Int32</span></td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <a id="Terminal_Gui_TextView_Lines_" data-uid="Terminal.Gui.TextView.Lines*"></a>
  639. <h4 id="Terminal_Gui_TextView_Lines" data-uid="Terminal.Gui.TextView.Lines">Lines</h4>
  640. <div class="markdown level1 summary">
  641. Gets the number of lines.
  642. </div>
  643. <div class="markdown level1 conceptual"></div>
  644. <h5 class="decalaration">Declaration</h5>
  645. <div class="codewrapper">
  646. <pre><code class="lang-csharp hljs">public int Lines { get; }</code></pre>
  647. </div>
  648. <h5 class="propertyValue">Property Value</h5>
  649. <table class="table table-bordered table-striped table-condensed">
  650. <thead>
  651. <tr>
  652. <th>Type</th>
  653. <th>Description</th>
  654. </tr>
  655. </thead>
  656. <tbody>
  657. <tr>
  658. <td><span class="xref">System.Int32</span></td>
  659. <td></td>
  660. </tr>
  661. </tbody>
  662. </table>
  663. <a id="Terminal_Gui_TextView_Maxlength_" data-uid="Terminal.Gui.TextView.Maxlength*"></a>
  664. <h4 id="Terminal_Gui_TextView_Maxlength" data-uid="Terminal.Gui.TextView.Maxlength">Maxlength</h4>
  665. <div class="markdown level1 summary">
  666. Gets the maximum visible length line.
  667. </div>
  668. <div class="markdown level1 conceptual"></div>
  669. <h5 class="decalaration">Declaration</h5>
  670. <div class="codewrapper">
  671. <pre><code class="lang-csharp hljs">public int Maxlength { get; }</code></pre>
  672. </div>
  673. <h5 class="propertyValue">Property Value</h5>
  674. <table class="table table-bordered table-striped table-condensed">
  675. <thead>
  676. <tr>
  677. <th>Type</th>
  678. <th>Description</th>
  679. </tr>
  680. </thead>
  681. <tbody>
  682. <tr>
  683. <td><span class="xref">System.Int32</span></td>
  684. <td></td>
  685. </tr>
  686. </tbody>
  687. </table>
  688. <a id="Terminal_Gui_TextView_ReadOnly_" data-uid="Terminal.Gui.TextView.ReadOnly*"></a>
  689. <h4 id="Terminal_Gui_TextView_ReadOnly" data-uid="Terminal.Gui.TextView.ReadOnly">ReadOnly</h4>
  690. <div class="markdown level1 summary">
  691. Gets or sets whether the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> is in read-only mode or not
  692. </div>
  693. <div class="markdown level1 conceptual"></div>
  694. <h5 class="decalaration">Declaration</h5>
  695. <div class="codewrapper">
  696. <pre><code class="lang-csharp hljs">public bool ReadOnly { get; set; }</code></pre>
  697. </div>
  698. <h5 class="propertyValue">Property Value</h5>
  699. <table class="table table-bordered table-striped table-condensed">
  700. <thead>
  701. <tr>
  702. <th>Type</th>
  703. <th>Description</th>
  704. </tr>
  705. </thead>
  706. <tbody>
  707. <tr>
  708. <td><span class="xref">System.Boolean</span></td>
  709. <td>Boolean value(Default false)</td>
  710. </tr>
  711. </tbody>
  712. </table>
  713. <a id="Terminal_Gui_TextView_Text_" data-uid="Terminal.Gui.TextView.Text*"></a>
  714. <h4 id="Terminal_Gui_TextView_Text" data-uid="Terminal.Gui.TextView.Text">Text</h4>
  715. <div class="markdown level1 summary">
  716. Sets or gets the text in the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  717. </div>
  718. <div class="markdown level1 conceptual"></div>
  719. <h5 class="decalaration">Declaration</h5>
  720. <div class="codewrapper">
  721. <pre><code class="lang-csharp hljs">public override ustring Text { get; set; }</code></pre>
  722. </div>
  723. <h5 class="propertyValue">Property Value</h5>
  724. <table class="table table-bordered table-striped table-condensed">
  725. <thead>
  726. <tr>
  727. <th>Type</th>
  728. <th>Description</th>
  729. </tr>
  730. </thead>
  731. <tbody>
  732. <tr>
  733. <td><span class="xref">NStack.ustring</span></td>
  734. <td></td>
  735. </tr>
  736. </tbody>
  737. </table>
  738. <h5 class="overrides">Overrides</h5>
  739. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a></div>
  740. <h5 id="Terminal_Gui_TextView_Text_remarks">Remarks</h5>
  741. <div class="markdown level1 remarks">
  742. </div>
  743. <a id="Terminal_Gui_TextView_TopRow_" data-uid="Terminal.Gui.TextView.TopRow*"></a>
  744. <h4 id="Terminal_Gui_TextView_TopRow" data-uid="Terminal.Gui.TextView.TopRow">TopRow</h4>
  745. <div class="markdown level1 summary">
  746. Gets or sets the top row.
  747. </div>
  748. <div class="markdown level1 conceptual"></div>
  749. <h5 class="decalaration">Declaration</h5>
  750. <div class="codewrapper">
  751. <pre><code class="lang-csharp hljs">public int TopRow { get; set; }</code></pre>
  752. </div>
  753. <h5 class="propertyValue">Property Value</h5>
  754. <table class="table table-bordered table-striped table-condensed">
  755. <thead>
  756. <tr>
  757. <th>Type</th>
  758. <th>Description</th>
  759. </tr>
  760. </thead>
  761. <tbody>
  762. <tr>
  763. <td><span class="xref">System.Int32</span></td>
  764. <td></td>
  765. </tr>
  766. </tbody>
  767. </table>
  768. <h3 id="methods">Methods
  769. </h3>
  770. <a id="Terminal_Gui_TextView_CloseFile_" data-uid="Terminal.Gui.TextView.CloseFile*"></a>
  771. <h4 id="Terminal_Gui_TextView_CloseFile" data-uid="Terminal.Gui.TextView.CloseFile">CloseFile()</h4>
  772. <div class="markdown level1 summary">
  773. Closes the contents of the stream into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  774. </div>
  775. <div class="markdown level1 conceptual"></div>
  776. <h5 class="decalaration">Declaration</h5>
  777. <div class="codewrapper">
  778. <pre><code class="lang-csharp hljs">public bool CloseFile()</code></pre>
  779. </div>
  780. <h5 class="returns">Returns</h5>
  781. <table class="table table-bordered table-striped table-condensed">
  782. <thead>
  783. <tr>
  784. <th>Type</th>
  785. <th>Description</th>
  786. </tr>
  787. </thead>
  788. <tbody>
  789. <tr>
  790. <td><span class="xref">System.Boolean</span></td>
  791. <td><code>true</code>, if stream was closed, <code>false</code> otherwise.</td>
  792. </tr>
  793. </tbody>
  794. </table>
  795. <a id="Terminal_Gui_TextView_LoadFile_" data-uid="Terminal.Gui.TextView.LoadFile*"></a>
  796. <h4 id="Terminal_Gui_TextView_LoadFile_System_String_" data-uid="Terminal.Gui.TextView.LoadFile(System.String)">LoadFile(String)</h4>
  797. <div class="markdown level1 summary">
  798. Loads the contents of the file into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  799. </div>
  800. <div class="markdown level1 conceptual"></div>
  801. <h5 class="decalaration">Declaration</h5>
  802. <div class="codewrapper">
  803. <pre><code class="lang-csharp hljs">public bool LoadFile(string path)</code></pre>
  804. </div>
  805. <h5 class="parameters">Parameters</h5>
  806. <table class="table table-bordered table-striped table-condensed">
  807. <thead>
  808. <tr>
  809. <th>Type</th>
  810. <th>Name</th>
  811. <th>Description</th>
  812. </tr>
  813. </thead>
  814. <tbody>
  815. <tr>
  816. <td><span class="xref">System.String</span></td>
  817. <td><span class="parametername">path</span></td>
  818. <td>Path to the file to load.</td>
  819. </tr>
  820. </tbody>
  821. </table>
  822. <h5 class="returns">Returns</h5>
  823. <table class="table table-bordered table-striped table-condensed">
  824. <thead>
  825. <tr>
  826. <th>Type</th>
  827. <th>Description</th>
  828. </tr>
  829. </thead>
  830. <tbody>
  831. <tr>
  832. <td><span class="xref">System.Boolean</span></td>
  833. <td><code>true</code>, if file was loaded, <code>false</code> otherwise.</td>
  834. </tr>
  835. </tbody>
  836. </table>
  837. <a id="Terminal_Gui_TextView_LoadStream_" data-uid="Terminal.Gui.TextView.LoadStream*"></a>
  838. <h4 id="Terminal_Gui_TextView_LoadStream_System_IO_Stream_" data-uid="Terminal.Gui.TextView.LoadStream(System.IO.Stream)">LoadStream(Stream)</h4>
  839. <div class="markdown level1 summary">
  840. Loads the contents of the stream into the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a>.
  841. </div>
  842. <div class="markdown level1 conceptual"></div>
  843. <h5 class="decalaration">Declaration</h5>
  844. <div class="codewrapper">
  845. <pre><code class="lang-csharp hljs">public void LoadStream(Stream stream)</code></pre>
  846. </div>
  847. <h5 class="parameters">Parameters</h5>
  848. <table class="table table-bordered table-striped table-condensed">
  849. <thead>
  850. <tr>
  851. <th>Type</th>
  852. <th>Name</th>
  853. <th>Description</th>
  854. </tr>
  855. </thead>
  856. <tbody>
  857. <tr>
  858. <td><span class="xref">System.IO.Stream</span></td>
  859. <td><span class="parametername">stream</span></td>
  860. <td>Stream to load the contents from.</td>
  861. </tr>
  862. </tbody>
  863. </table>
  864. <a id="Terminal_Gui_TextView_MouseEvent_" data-uid="Terminal.Gui.TextView.MouseEvent*"></a>
  865. <h4 id="Terminal_Gui_TextView_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.TextView.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  866. <div class="markdown level1 summary"></div>
  867. <div class="markdown level1 conceptual"></div>
  868. <h5 class="decalaration">Declaration</h5>
  869. <div class="codewrapper">
  870. <pre><code class="lang-csharp hljs">public override bool MouseEvent(MouseEvent ev)</code></pre>
  871. </div>
  872. <h5 class="parameters">Parameters</h5>
  873. <table class="table table-bordered table-striped table-condensed">
  874. <thead>
  875. <tr>
  876. <th>Type</th>
  877. <th>Name</th>
  878. <th>Description</th>
  879. </tr>
  880. </thead>
  881. <tbody>
  882. <tr>
  883. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  884. <td><span class="parametername">ev</span></td>
  885. <td></td>
  886. </tr>
  887. </tbody>
  888. </table>
  889. <h5 class="returns">Returns</h5>
  890. <table class="table table-bordered table-striped table-condensed">
  891. <thead>
  892. <tr>
  893. <th>Type</th>
  894. <th>Description</th>
  895. </tr>
  896. </thead>
  897. <tbody>
  898. <tr>
  899. <td><span class="xref">System.Boolean</span></td>
  900. <td></td>
  901. </tr>
  902. </tbody>
  903. </table>
  904. <h5 class="overrides">Overrides</h5>
  905. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a></div>
  906. <a id="Terminal_Gui_TextView_MoveEnd_" data-uid="Terminal.Gui.TextView.MoveEnd*"></a>
  907. <h4 id="Terminal_Gui_TextView_MoveEnd" data-uid="Terminal.Gui.TextView.MoveEnd">MoveEnd()</h4>
  908. <div class="markdown level1 summary">
  909. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to the last line and position the cursor there.
  910. </div>
  911. <div class="markdown level1 conceptual"></div>
  912. <h5 class="decalaration">Declaration</h5>
  913. <div class="codewrapper">
  914. <pre><code class="lang-csharp hljs">public void MoveEnd()</code></pre>
  915. </div>
  916. <a id="Terminal_Gui_TextView_MoveHome_" data-uid="Terminal.Gui.TextView.MoveHome*"></a>
  917. <h4 id="Terminal_Gui_TextView_MoveHome" data-uid="Terminal.Gui.TextView.MoveHome">MoveHome()</h4>
  918. <div class="markdown level1 summary">
  919. Will scroll the <a class="xref" href="Terminal.Gui.TextView.html">TextView</a> to the first line and position the cursor there.
  920. </div>
  921. <div class="markdown level1 conceptual"></div>
  922. <h5 class="decalaration">Declaration</h5>
  923. <div class="codewrapper">
  924. <pre><code class="lang-csharp hljs">public void MoveHome()</code></pre>
  925. </div>
  926. <a id="Terminal_Gui_TextView_OnEnter_" data-uid="Terminal.Gui.TextView.OnEnter*"></a>
  927. <h4 id="Terminal_Gui_TextView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.TextView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  928. <div class="markdown level1 summary"></div>
  929. <div class="markdown level1 conceptual"></div>
  930. <h5 class="decalaration">Declaration</h5>
  931. <div class="codewrapper">
  932. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  933. </div>
  934. <h5 class="parameters">Parameters</h5>
  935. <table class="table table-bordered table-striped table-condensed">
  936. <thead>
  937. <tr>
  938. <th>Type</th>
  939. <th>Name</th>
  940. <th>Description</th>
  941. </tr>
  942. </thead>
  943. <tbody>
  944. <tr>
  945. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  946. <td><span class="parametername">view</span></td>
  947. <td></td>
  948. </tr>
  949. </tbody>
  950. </table>
  951. <h5 class="returns">Returns</h5>
  952. <table class="table table-bordered table-striped table-condensed">
  953. <thead>
  954. <tr>
  955. <th>Type</th>
  956. <th>Description</th>
  957. </tr>
  958. </thead>
  959. <tbody>
  960. <tr>
  961. <td><span class="xref">System.Boolean</span></td>
  962. <td></td>
  963. </tr>
  964. </tbody>
  965. </table>
  966. <h5 class="overrides">Overrides</h5>
  967. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  968. <a id="Terminal_Gui_TextView_PositionCursor_" data-uid="Terminal.Gui.TextView.PositionCursor*"></a>
  969. <h4 id="Terminal_Gui_TextView_PositionCursor" data-uid="Terminal.Gui.TextView.PositionCursor">PositionCursor()</h4>
  970. <div class="markdown level1 summary">
  971. Positions the cursor on the current row and column
  972. </div>
  973. <div class="markdown level1 conceptual"></div>
  974. <h5 class="decalaration">Declaration</h5>
  975. <div class="codewrapper">
  976. <pre><code class="lang-csharp hljs">public override void PositionCursor()</code></pre>
  977. </div>
  978. <h5 class="overrides">Overrides</h5>
  979. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a></div>
  980. <a id="Terminal_Gui_TextView_ProcessKey_" data-uid="Terminal.Gui.TextView.ProcessKey*"></a>
  981. <h4 id="Terminal_Gui_TextView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.TextView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  982. <div class="markdown level1 summary"></div>
  983. <div class="markdown level1 conceptual"></div>
  984. <h5 class="decalaration">Declaration</h5>
  985. <div class="codewrapper">
  986. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent kb)</code></pre>
  987. </div>
  988. <h5 class="parameters">Parameters</h5>
  989. <table class="table table-bordered table-striped table-condensed">
  990. <thead>
  991. <tr>
  992. <th>Type</th>
  993. <th>Name</th>
  994. <th>Description</th>
  995. </tr>
  996. </thead>
  997. <tbody>
  998. <tr>
  999. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1000. <td><span class="parametername">kb</span></td>
  1001. <td></td>
  1002. </tr>
  1003. </tbody>
  1004. </table>
  1005. <h5 class="returns">Returns</h5>
  1006. <table class="table table-bordered table-striped table-condensed">
  1007. <thead>
  1008. <tr>
  1009. <th>Type</th>
  1010. <th>Description</th>
  1011. </tr>
  1012. </thead>
  1013. <tbody>
  1014. <tr>
  1015. <td><span class="xref">System.Boolean</span></td>
  1016. <td></td>
  1017. </tr>
  1018. </tbody>
  1019. </table>
  1020. <h5 class="overrides">Overrides</h5>
  1021. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1022. <a id="Terminal_Gui_TextView_Redraw_" data-uid="Terminal.Gui.TextView.Redraw*"></a>
  1023. <h4 id="Terminal_Gui_TextView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.TextView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1024. <div class="markdown level1 summary"></div>
  1025. <div class="markdown level1 conceptual"></div>
  1026. <h5 class="decalaration">Declaration</h5>
  1027. <div class="codewrapper">
  1028. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1029. </div>
  1030. <h5 class="parameters">Parameters</h5>
  1031. <table class="table table-bordered table-striped table-condensed">
  1032. <thead>
  1033. <tr>
  1034. <th>Type</th>
  1035. <th>Name</th>
  1036. <th>Description</th>
  1037. </tr>
  1038. </thead>
  1039. <tbody>
  1040. <tr>
  1041. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1042. <td><span class="parametername">bounds</span></td>
  1043. <td></td>
  1044. </tr>
  1045. </tbody>
  1046. </table>
  1047. <h5 class="overrides">Overrides</h5>
  1048. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1049. <a id="Terminal_Gui_TextView_ScrollTo_" data-uid="Terminal.Gui.TextView.ScrollTo*"></a>
  1050. <h4 id="Terminal_Gui_TextView_ScrollTo_System_Int32_System_Boolean_" data-uid="Terminal.Gui.TextView.ScrollTo(System.Int32,System.Boolean)">ScrollTo(Int32, Boolean)</h4>
  1051. <div class="markdown level1 summary">
  1052. 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
  1053. 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.
  1054. </div>
  1055. <div class="markdown level1 conceptual"></div>
  1056. <h5 class="decalaration">Declaration</h5>
  1057. <div class="codewrapper">
  1058. <pre><code class="lang-csharp hljs">public void ScrollTo(int idx, bool isRow = true)</code></pre>
  1059. </div>
  1060. <h5 class="parameters">Parameters</h5>
  1061. <table class="table table-bordered table-striped table-condensed">
  1062. <thead>
  1063. <tr>
  1064. <th>Type</th>
  1065. <th>Name</th>
  1066. <th>Description</th>
  1067. </tr>
  1068. </thead>
  1069. <tbody>
  1070. <tr>
  1071. <td><span class="xref">System.Int32</span></td>
  1072. <td><span class="parametername">idx</span></td>
  1073. <td>Row that should be displayed at the top or Column that should be displayed at the left,
  1074. if the value is negative it will be reset to zero</td>
  1075. </tr>
  1076. <tr>
  1077. <td><span class="xref">System.Boolean</span></td>
  1078. <td><span class="parametername">isRow</span></td>
  1079. <td>If true (default) the <code data-dev-comment-type="paramref" class="paramref">idx</code> is a row, column otherwise.</td>
  1080. </tr>
  1081. </tbody>
  1082. </table>
  1083. <h3 id="events">Events
  1084. </h3>
  1085. <h4 id="Terminal_Gui_TextView_TextChanged" data-uid="Terminal.Gui.TextView.TextChanged">TextChanged</h4>
  1086. <div class="markdown level1 summary">
  1087. 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.
  1088. </div>
  1089. <div class="markdown level1 conceptual"></div>
  1090. <h5 class="decalaration">Declaration</h5>
  1091. <div class="codewrapper">
  1092. <pre><code class="lang-csharp hljs">public event Action TextChanged</code></pre>
  1093. </div>
  1094. <h5 class="eventType">Event Type</h5>
  1095. <table class="table table-bordered table-striped table-condensed">
  1096. <thead>
  1097. <tr>
  1098. <th>Type</th>
  1099. <th>Description</th>
  1100. </tr>
  1101. </thead>
  1102. <tbody>
  1103. <tr>
  1104. <td><span class="xref">System.Action</span></td>
  1105. <td></td>
  1106. </tr>
  1107. </tbody>
  1108. </table>
  1109. <h3 id="implements">Implements</h3>
  1110. <div>
  1111. <span class="xref">System.IDisposable</span>
  1112. </div>
  1113. <div>
  1114. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1115. </div>
  1116. <div>
  1117. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1118. </div>
  1119. </article>
  1120. </div>
  1121. <div class="hidden-sm col-md-2" role="complementary">
  1122. <div class="sideaffix">
  1123. <div class="contribution">
  1124. <ul class="nav">
  1125. </ul>
  1126. </div>
  1127. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1128. <h5>In This Article</h5>
  1129. <div></div>
  1130. </nav>
  1131. </div>
  1132. </div>
  1133. </div>
  1134. </div>
  1135. <footer>
  1136. <div class="grad-bottom"></div>
  1137. <div class="footer">
  1138. <div class="container">
  1139. <span class="pull-right">
  1140. <a href="#top">Back to top</a>
  1141. </span>
  1142. <span>Generated by <strong>DocFX</strong></span>
  1143. </div>
  1144. </div>
  1145. </footer>
  1146. </div>
  1147. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1148. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1149. <script type="text/javascript" src="../../styles/main.js"></script>
  1150. </body>
  1151. </html>