Click or drag to resize

TextSource Class

This class contains the source text (chars and styles). It stores a text lines, the manager of commands, undo/redo stack, styles.
Inheritance Hierarchy

Namespace:  MathStudio.Core.UI
Assembly:  MathStudio.Core.UI (in MathStudio.Core.UI.dll) Version: 1.0.6611.39599 (1.0.0.0)
Syntax
C#
public class TextSource : IList<Line>, 
	ICollection<Line>, IEnumerable<Line>, IEnumerable, 
	IDisposable

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 MathStudioTextBox
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
Explicit Interface Implementations
See Also