TextSource Members

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image

The TextSource type exposes the following members.

Constructors

  NameDescription
Public methodTextSource
Initializes a new instance of the TextSource class

Methods

  NameDescription
Public methodAdd
Public methodBinarySearch
Public methodClear
Public methodClearIsChanged
Public methodContains
Public methodCopyTo
Public methodCreateLine
Public methodDispose
Releases all resources used by the TextSource
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateUniqueLineId
Public methodGetEnumerator
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLineLength
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Public methodInitDefaultStyle
Public methodInsert
Public methodInsertLine
Public methodIsLineLoaded
Public methodLineHasFoldingEndMarker
Public methodLineHasFoldingStartMarker
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnLineInserted(Int32)
Public methodOnLineInserted(Int32, Int32)
Public methodOnLineRemoved
Public methodOnTextChanged
Public methodRemove
Public methodRemoveAt
Public methodRemoveLine(Int32)
Public methodRemoveLine(Int32, Int32)
Public methodSaveToFile
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Protected fieldlines
Protected fieldlinesAccessor
Public fieldStyles
Styles Maximum style count is 16

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 propertyLines
Text lines
Public propertyManager

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 eventTextChanged
Occurs when text was changed
Public eventTextChanging
Occurs before text changing

See Also