### YamlMime:ManagedReference
items:
- uid: Terminal.Gui.TextView
commentId: T:Terminal.Gui.TextView
id: TextView
parent: Terminal.Gui
children:
- Terminal.Gui.TextView.#ctor
- Terminal.Gui.TextView.#ctor(Terminal.Gui.Rect)
- Terminal.Gui.TextView.CanFocus
- Terminal.Gui.TextView.CloseFile
- Terminal.Gui.TextView.CurrentColumn
- Terminal.Gui.TextView.CurrentRow
- Terminal.Gui.TextView.LoadFile(System.String)
- Terminal.Gui.TextView.LoadStream(System.IO.Stream)
- Terminal.Gui.TextView.MouseEvent(Terminal.Gui.MouseEvent)
- Terminal.Gui.TextView.PositionCursor
- Terminal.Gui.TextView.ProcessKey(Terminal.Gui.KeyEvent)
- Terminal.Gui.TextView.ReadOnly
- Terminal.Gui.TextView.Redraw(Terminal.Gui.Rect)
- Terminal.Gui.TextView.ScrollTo(System.Int32)
- Terminal.Gui.TextView.Text
- Terminal.Gui.TextView.TextChanged
langs:
- csharp
- vb
name: TextView
nameWithType: TextView
fullName: Terminal.Gui.TextView
type: Class
source:
remote:
path: Terminal.Gui/Views/TextView.cs
branch: docs_tweaks
repo: tig:tig/gui.cs.git
id: TextView
path: ../Terminal.Gui/Views/TextView.cs
startLine: 274
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "\nMulti-line text editing
\n
Shortcut | Action performed |
---|---|
Left cursor, Control-b | \n Moves the editing point left.\n |
Right cursor, Control-f | \n Moves the editing point right.\n |
Alt-b | \n Moves one word back.\n |
Alt-f | \n Moves one word forward.\n |
Up cursor, Control-p | \n Moves the editing point one line up.\n |
Down cursor, Control-n | \n Moves the editing point one line down\n |
Home key, Control-a | \n Moves the cursor to the beginning of the line.\n |
End key, Control-e | \n Moves the cursor to the end of the line.\n |
Delete, Control-d | \n Deletes the character in front of the cursor.\n |
Backspace | \n Deletes the character behind the cursor.\n |
Control-k | \n Deletes the text until the end of the line and replaces the kill buffer\n with the deleted text. You can paste this text in a different place by\n using Control-y.\n |
Control-y | \n Pastes the content of the kill ring into the current position.\n |
Alt-d | \n Deletes the word above the cursor and adds it to the kill ring. You \n can paste the contents of the kill ring with Control-y.\n |
Control-q | \n Quotes the next input character, to prevent the normal processing of\n key handling to take place.\n |
true
, if file was loaded, false
otherwise.
content.vb: Public Function LoadFile(path As String) As Boolean
overload: Terminal.Gui.TextView.LoadFile*
modifiers.csharp:
- public
modifiers.vb:
- Public
- uid: Terminal.Gui.TextView.LoadStream(System.IO.Stream)
commentId: M:Terminal.Gui.TextView.LoadStream(System.IO.Stream)
id: LoadStream(System.IO.Stream)
parent: Terminal.Gui.TextView
langs:
- csharp
- vb
name: LoadStream(Stream)
nameWithType: TextView.LoadStream(Stream)
fullName: Terminal.Gui.TextView.LoadStream(System.IO.Stream)
type: Method
source:
remote:
path: Terminal.Gui/Views/TextView.cs
branch: docs_tweaks
repo: tig:tig/gui.cs.git
id: LoadStream
path: ../Terminal.Gui/Views/TextView.cs
startLine: 361
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "\nLoads the contents of the stream into the true
, if stream was closed, false
otherwise.
content.vb: Public Function CloseFile As Boolean
overload: Terminal.Gui.TextView.CloseFile*
modifiers.csharp:
- public
modifiers.vb:
- Public
- uid: Terminal.Gui.TextView.CurrentRow
commentId: P:Terminal.Gui.TextView.CurrentRow
id: CurrentRow
parent: Terminal.Gui.TextView
langs:
- csharp
- vb
name: CurrentRow
nameWithType: TextView.CurrentRow
fullName: Terminal.Gui.TextView.CurrentRow
type: Property
source:
remote:
path: Terminal.Gui/Views/TextView.cs
branch: docs_tweaks
repo: tig:tig/gui.cs.git
id: CurrentRow
path: ../Terminal.Gui/Views/TextView.cs
startLine: 385
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "\nGets the current cursor row.\n"
example: []
syntax:
content: public int CurrentRow { get; }
parameters: []
return:
type: System.Int32
content.vb: Public ReadOnly Property CurrentRow As Integer
overload: Terminal.Gui.TextView.CurrentRow*
modifiers.csharp:
- public
- get
modifiers.vb:
- Public
- ReadOnly
- uid: Terminal.Gui.TextView.CurrentColumn
commentId: P:Terminal.Gui.TextView.CurrentColumn
id: CurrentColumn
parent: Terminal.Gui.TextView
langs:
- csharp
- vb
name: CurrentColumn
nameWithType: TextView.CurrentColumn
fullName: Terminal.Gui.TextView.CurrentColumn
type: Property
source:
remote:
path: Terminal.Gui/Views/TextView.cs
branch: docs_tweaks
repo: tig:tig/gui.cs.git
id: CurrentColumn
path: ../Terminal.Gui/Views/TextView.cs
startLine: 391
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "\nGets the cursor column.\n"
example: []
syntax:
content: public int CurrentColumn { get; }
parameters: []
return:
type: System.Int32
description: The cursor column.
content.vb: Public ReadOnly Property CurrentColumn As Integer
overload: Terminal.Gui.TextView.CurrentColumn*
modifiers.csharp:
- public
- get
modifiers.vb:
- Public
- ReadOnly
- uid: Terminal.Gui.TextView.PositionCursor
commentId: M:Terminal.Gui.TextView.PositionCursor
id: PositionCursor
parent: Terminal.Gui.TextView
langs:
- csharp
- vb
name: PositionCursor()
nameWithType: TextView.PositionCursor()
fullName: Terminal.Gui.TextView.PositionCursor()
type: Method
source:
remote:
path: Terminal.Gui/Views/TextView.cs
branch: docs_tweaks
repo: tig:tig/gui.cs.git
id: PositionCursor
path: ../Terminal.Gui/Views/TextView.cs
startLine: 396
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "\nPositions the cursor on the current row and column\n"
example: []
syntax:
content: public override void PositionCursor()
content.vb: Public Overrides Sub PositionCursor
overridden: Terminal.Gui.View.PositionCursor
overload: Terminal.Gui.TextView.PositionCursor*
modifiers.csharp:
- public
- override
modifiers.vb:
- Public
- Overrides
- uid: Terminal.Gui.TextView.ReadOnly
commentId: P:Terminal.Gui.TextView.ReadOnly
id: ReadOnly
parent: Terminal.Gui.TextView
langs:
- csharp
- vb
name: ReadOnly
nameWithType: TextView.ReadOnly
fullName: Terminal.Gui.TextView.ReadOnly
type: Property
source:
remote:
path: Terminal.Gui/Views/TextView.cs
branch: docs_tweaks
repo: tig:tig/gui.cs.git
id: ReadOnly
path: ../Terminal.Gui/Views/TextView.cs
startLine: 435
assemblies:
- Terminal.Gui
namespace: Terminal.Gui
summary: "\nGets or sets whether the