TextSource Class

T3000 CrossPlatform

TextSource 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.
Inheritance Hierarchy
SystemObject  FastColoredTextBoxNSTextSource
    FastColoredTextBoxNSFileTextSource

Namespace:  FastColoredTextBoxNS
Assembly:  FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public class TextSource : IList<Line>, 
	ICollection<Line>, IEnumerable<Line>, IEnumerable, 
	IDisposable
Public Class TextSource
	Implements IList(Of Line), ICollection(Of Line), 
	IEnumerable(Of Line), IEnumerable, IDisposable

Dim instance As TextSource

The TextSource type exposes the following members.

Constructors
  NameDescription
Public methodTextSource
Initializes a new instance of the TextSource class
Top
Properties
  NameDescription
Public propertyCount
Lines count
Public propertyCurrentTB
Current focused FastColoredTextBox
Public propertyDefaultStyle
Default text style This style is using when no one other TextStyle is not defined in Char.style
Public propertyIsNeedBuildRemovedLineIds
Public propertyIsReadOnly
Public propertyItem
Public propertyManager
Top
Methods
Events
  NameDescription
Public eventCurrentTBChanged
Occurs after CurrentTB was changed
Public eventLineInserted
Occurs when line was inserted/added
Public eventLineRemoved
Occurs when line was removed
Public eventRecalcNeeded
Occurs when recalc is needed
Public eventRecalcWordWrap
Occurs when recalc wordwrap is needed
Public eventTextChanged
Occurs when text was changed
Public eventTextChanging
Occurs before text changing
Top
Fields
  NameDescription
Protected fieldlines
Protected fieldlinesAccessor
Public fieldStyles
Styles
Top
See Also