FileTextSource Class
From T3000 CrossPlatform
T3000 CrossPlatform Documentation
FileTextSource Class |
[This is preliminary documentation and is subject to change.]
This class contains the source text (chars and styles).
It stores a text lines, the manager of commands, undo/redo stack, styles.
Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
The FileTextSource type exposes the following members.
| Name | Description | |
|---|---|---|
| FileTextSource | Initializes a new instance of the FileTextSource class |
| Name | Description | |
|---|---|---|
| Count |
Lines count
(Inherited from TextSource.) | |
| CurrentTB |
Current focused FastColoredTextBox
(Inherited from TextSource.) | |
| DefaultStyle |
Default text style
This style is using when no one other TextStyle is not defined in Char.style
(Inherited from TextSource.) | |
| IsNeedBuildRemovedLineIds | (Inherited from TextSource.) | |
| IsReadOnly | (Inherited from TextSource.) | |
| Item | (Overrides TextSourceItemInt32.) | |
| Manager | (Inherited from TextSource.) | |
| SaveEOL |
End Of Line characters used for saving
|
Top
| Name | Description | |
|---|---|---|
| CurrentTBChanged |
Occurs after CurrentTB was changed
(Inherited from TextSource.) | |
| LineInserted |
Occurs when line was inserted/added
(Inherited from TextSource.) | |
| LineNeeded |
Occurs when need to display line in the textbox
| |
| LinePushed |
Occurs when need to save line in the file
| |
| LineRemoved |
Occurs when line was removed
(Inherited from TextSource.) | |
| RecalcNeeded |
Occurs when recalc is needed
(Inherited from TextSource.) | |
| RecalcWordWrap |
Occurs when recalc wordwrap is needed
(Inherited from TextSource.) | |
| TextChanged |
Occurs when text was changed
(Inherited from TextSource.) | |
| TextChanging |
Occurs before text changing
(Inherited from TextSource.) |
| Name | Description | |
|---|---|---|
| lines | (Inherited from TextSource.) | |
| linesAccessor | (Inherited from TextSource.) | |
| Styles |
Styles
(Inherited from TextSource.) |