Class LexemParser
Represents a class that is used to parse stream to lexems.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Edit.Implementation.Parser
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class LexemParser : ILexemParser, IEnumerable, IXMLDataProvider, ILongOperationControllerInternal, ILongOperationController
Constructors
LexemParser(StreamsWrapper, IConfigLanguage)
Initializes a new instance of the LexemParser class.
Declaration
public LexemParser(StreamsWrapper source, IConfigLanguage language)
Parameters
Type | Name | Description |
---|---|---|
StreamsWrapper | source | Input source. |
IConfigLanguage | language | Language configuration. |
Fields
DEF_LINES_BEFORE_SPEEDUP
Maximal distance between last parsed line and requested line to make full text parsing.
Declaration
protected const int DEF_LINES_BEFORE_SPEEDUP = 200
Field Value
Type |
---|
System.Int32 |
Properties
BaseStream
Gets the input source of data.
Declaration
public StreamsWrapper BaseStream { get; }
Property Value
Type |
---|
StreamsWrapper |
CanRedo
Gets a value indicating whether redo operation can be performed in EditControl.
Declaration
public bool CanRedo { get; }
Property Value
Type |
---|
System.Boolean |
CanUndo
Gets a value indicating whether undo operation can be performed in EditControl.
Declaration
public bool CanUndo { get; }
Property Value
Type |
---|
System.Boolean |
CollapsingEnabled
Gets or sets a value indicating whether the collapsing operation can be enabled or not in EditControl.
Declaration
public bool CollapsingEnabled { get; set; }
Property Value
Type |
---|
System.Boolean |
ConsistenceChecksLocked
Specifies whether consistence checks are turned off.
Declaration
protected bool ConsistenceChecksLocked { get; set; }
Property Value
Type |
---|
System.Boolean |
CurrentLine
Gets or sets the index of current line.
Declaration
public int CurrentLine { get; set; }
Property Value
Type |
---|
System.Int32 |
Formats
Gets the format manager.
Declaration
public IFormatManager Formats { get; }
Property Value
Type |
---|
IFormatManager |
IsCollapsingLocked
Shows whether collapsing are locked.
Declaration
protected bool IsCollapsingLocked { get; }
Property Value
Type |
---|
System.Boolean |
ParsingMode
Gets or sets the text parsing mode. User can select between high parsing speed or high syntax highlighting accuracy.
Declaration
public TextParsingMode ParsingMode { get; set; }
Property Value
Type |
---|
TextParsingMode |
RedoQueueLength
Gets the count of the undone actions that can be redone.
Declaration
public int RedoQueueLength { get; }
Property Value
Type |
---|
System.Int32 |
TabLength
Gets or sets the length of one tab symbol.
Declaration
public int TabLength { get; set; }
Property Value
Type |
---|
System.Int32 |
TotalLines
Gets the total lines count after applying of collapsing.
Declaration
public int TotalLines { get; }
Property Value
Type |
---|
System.Int32 |
UndoQueueLength
Gets the count of the actions that can be undone.
Declaration
public int UndoQueueLength { get; }
Property Value
Type |
---|
System.Int32 |
Methods
AppendToXML(XmlElement)
Appends its data to some XML element.
Declaration
public void AppendToXML(XmlElement parent)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | parent | Parent xml element, data must be written to. |
AppendToXML(XmlTextWriter)
Appends specified data to xml.
Declaration
public void AppendToXML(XmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlTextWriter | writer | XML writer, data must be written to. |
AppendToXML(XmlTextWriter, CoordinatePoint, CoordinatePoint)
Writes to XML data situated between specified points.
Declaration
public void AppendToXML(XmlTextWriter writer, CoordinatePoint start, CoordinatePoint end)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlTextWriter | writer | XML writer, data must be written to. |
CoordinatePoint | start | Point representing start of the text. |
CoordinatePoint | end | Point representing end of the text. |
BeginUpdateRegions()
Starts updating regions.
Declaration
public void BeginUpdateRegions()
CheckConsistence()
Checks line list integrity.
Declaration
[Conditional("DEBUG")]
protected virtual void CheckConsistence()
ClearEventHandlers()
Removes all event handlers from events.
Declaration
protected void ClearEventHandlers()
CreateDefaultStack()
Creates default stack, filled with language configuration
Declaration
public ConfigStack CreateDefaultStack()
Returns
Type | Description |
---|---|
ConfigStack | Stack object. |
CreateLexem(String, IConfigLexem)
Creates new lexem. Can be overriden.
Declaration
protected virtual Lexem CreateLexem(string text, IConfigLexem config)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text for the lexem. |
IConfigLexem | config |
Returns
Type | Description |
---|---|
Lexem | New lexem. |
CreateLine(IParsePoint, ConfigStack)
Creates new object that implements ILexemLine interface. This function is intended to be overridden to use other than default implementation of ILexemLine.
Declaration
protected virtual ILexemLine CreateLine(IParsePoint pointLineStart, ConfigStack stack)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | pointLineStart | ParsePoint of the line start. |
ConfigStack | stack | Stack at the beginning of the line. |
Returns
Type | Description |
---|---|
ILexemLine | ILexemLine interface of the line |
CreatePlainTextLine(Int32, Int32, Int32)
Creates lexem line with plain text formatting.
Declaration
protected virtual ILexemLine CreatePlainTextLine(int iLineIndexVirtual, int iLineIndexPhysical, int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLineIndexVirtual | Virtual line index. |
System.Int32 | iLineIndexPhysical | Phisical line index. |
System.Int32 | index | Index of the line in the lines list. |
Returns
Type | Description |
---|---|
ILexemLine | Newly created lexem line. |
CreatePlainTextStack()
Creates fake configuration stack that can be used for plain text coloring.
Declaration
public ConfigStack CreatePlainTextStack()
Returns
Type | Description |
---|---|
ConfigStack | ConfigStack instance filled with language and configuration that parses all text as plain text. |
DeleteLine(ILexemLine)
Helsp to deletes the LexemLine from internal collection.
Declaration
public void DeleteLine(ILexemLine line)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | line | Line to be deleted. |
DeleteText(CoordinatePoint, CoordinatePoint)
Deletes the given range of text.
Declaration
public virtual void DeleteText(CoordinatePoint pointStart, CoordinatePoint pointEnd)
Parameters
Type | Name | Description |
---|---|---|
CoordinatePoint | pointStart | End point of text to delete. |
CoordinatePoint | pointEnd | Start point of text to delete. |
EndUpdateRegions()
Ends updating regions.
Declaration
public void EndUpdateRegions()
EnsureVisibility(IParsePoint)
Uncollapses all collapsed regions, the point is in.
Declaration
public void EnsureVisibility(IParsePoint point)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | ParsePoint to ensure visibility of. |
EnsureVisibility(IParsePoint, IParsePoint)
Expands all collapsible regions inside the specified range.
Declaration
public void EnsureVisibility(IParsePoint pointStart, IParsePoint pointEnd)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | pointStart | Start of the range. |
IParsePoint | pointEnd | End of the range. |
FillStack(ConfigStack, ConfigStack)
Fills destination stack by content of source stack.
Declaration
protected void FillStack(ConfigStack source, ConfigStack destination)
Parameters
Type | Name | Description |
---|---|---|
ConfigStack | source | Source stack. |
ConfigStack | destination | Destination stack. |
Remarks
All content of the destination stack is erased and it is filled by items of the source stack in those order as they are in source.
FindAndExpandRegion(Int64)
Looks for the collapsible region at the specified offset and expands it.
Declaration
protected bool FindAndExpandRegion(long offset)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | offset | Offset of the position where collapsible region should be found. |
Returns
Type | Description |
---|---|
System.Boolean | True if region was found and expanded. |
FindLineInCache(Int32)
Helps to find line in cache.
Declaration
public ILexemLine FindLineInCache(int iLine)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Index of the line. |
Returns
Type | Description |
---|---|
ILexemLine | ILexemLine interface to the line, or null if nothing was found. |
GetCollapsableRegion(IParsePoint)
Searches for collapsible region by offset of the given parsepoint.
Declaration
public virtual CollapsableRegion GetCollapsableRegion(IParsePoint point)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | ParsePoint, that specifies position in stream, region is needed for. |
Returns
Type | Description |
---|---|
CollapsableRegion | Found region, or null if there is no such region. |
GetCollapsedRegionsList()
Gets the list of top-level collapsed regions.
Declaration
public IList GetCollapsedRegionsList()
Returns
Type | Description |
---|---|
System.Collections.IList | List of collapsed regions. |
GetCoordinatePoint(IParsePoint)
Gets CoordinatePoint by given IParsePoint.
Declaration
public CoordinatePoint GetCoordinatePoint(IParsePoint point)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | IParsePoint that points to physical position in stream. |
Returns
Type | Description |
---|---|
CoordinatePoint | CoordinatePoint that points to the given position. |
GetCoordinatePoint(IParsePoint, Boolean)
Gets CoordinatePoint by given IParsePoint.
Declaration
public CoordinatePoint GetCoordinatePoint(IParsePoint point, bool bRedirectToStart)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | IParsePoint that points to physical position in stream. |
System.Boolean | bRedirectToStart | Indicates whether unavailable point should be redirected to the start of collapsed region. |
Returns
Type | Description |
---|---|
CoordinatePoint | CoordinatePoint that points to the given position. |
GetCoordinatePoint(IParsePoint, Boolean, Boolean)
Gets CoordinatePoint by given IParsePoint.
Declaration
public CoordinatePoint GetCoordinatePoint(IParsePoint point, bool bRedirectToStart, bool bTrackPosition)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | IParsePoint that points to physical position in stream. |
System.Boolean | bRedirectToStart | Indicates whether unavailable point should be redirected to the start of collapsed region. |
System.Boolean | bTrackPosition | Specifies whether coordinate point should track position. |
Returns
Type | Description |
---|---|
CoordinatePoint | CoordinatePoint that points to the given position. |
GetCoordinatePoint(Int32, Int32)
Gets CoordinatePoint class instance, that represents some coordinates in stream.
Declaration
public CoordinatePoint GetCoordinatePoint(int iLine, int iColumn)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Virtual line. |
System.Int32 | iColumn | Virtual column. |
Returns
Type | Description |
---|---|
CoordinatePoint | CoordinatePoint class instance. |
GetCoordinatePoint(Int32, Int32, Boolean)
Gets CoordinatePoint class instance, that represents some coordinates in stream.
Declaration
public CoordinatePoint GetCoordinatePoint(int iLine, int iColumn, bool bTrackPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Virtual line. |
System.Int32 | iColumn | Virtual column. |
System.Boolean | bTrackPosition | Specifies whether coordinate point should track position. |
Returns
Type | Description |
---|---|
CoordinatePoint | CoordinatePoint class instance. |
GetEnumerator()
Gets the enumerator of lexems
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | IEnumerator. |
GetEnumerator(ConfigStack)
Gets the enumerator of lexems.
Declaration
public IEnumerator GetEnumerator(ConfigStack stack)
Parameters
Type | Name | Description |
---|---|---|
ConfigStack | stack | Stack for the current position. |
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | IEnumerator. |
GetEnumerator(ConfigStack, IParsePoint)
Gets the enumerator of lexems.
Declaration
public IEnumerator GetEnumerator(ConfigStack stack, IParsePoint point)
Parameters
Type | Name | Description |
---|---|---|
ConfigStack | stack | Stack for the current position. |
IParsePoint | point | New current position. |
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | IEnumerator. |
GetLastRegisteredLine()
Retrieves the last line in the internal list (not the same as last line of text).
Declaration
public virtual ILexemLine GetLastRegisteredLine()
Returns
Type | Description |
---|---|
ILexemLine | Lexem line. |
GetLexemLength(ILexem)
Returns number of columns used by lexem.
Declaration
public int GetLexemLength(ILexem lexem)
Parameters
Type | Name | Description |
---|---|---|
ILexem | lexem | Lexem object to get the length of. |
Returns
Type | Description |
---|---|
System.Int32 | Length of lexem. |
GetLine()
Gets current line.
Declaration
public IList GetLine()
Returns
Type | Description |
---|---|
System.Collections.IList | Array of lexems that represent line. |
GetLine(Int32)
Gets the line by specified index. If line is in cache, then instance from cache will be returned. Otherwise it will be created and added to the cache.
Declaration
public ILexemLine GetLine(int iLine)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Line index. |
Returns
Type | Description |
---|---|
ILexemLine | ILexemLine object. |
GetLineEnumerator()
Gets the enumerator of the lexem lines.
Declaration
public IEnumerator GetLineEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | Enumerator. |
GetLineEnumerator(ILexemLine)
Gets the enumerator of the lexem lines.
Declaration
public IEnumerator GetLineEnumerator(ILexemLine line)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | line | Starting line. |
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | Enumerator. |
GetNearestParsePointLeft(Int32, Int32)
Searches for the IParsePoint at the given position.
Declaration
public CoordinatePoint GetNearestParsePointLeft(int iLine, int iColumn)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Line index the ParsePoint is needed for. |
System.Int32 | iColumn | Column index the ParsePoint is needed for. Can be 0. |
Returns
Type | Description |
---|---|
CoordinatePoint | ParsePoint to the given position. |
Remarks
If it can not be found ( or column is 0), and if it is in virtual space, then you will get parse point to the end of given line; If column is 0, then you will get parse point to the end of the previous line( if it is one ).
GetNearestParsePointRight(Int32, Int32)
Searches for the IParsePoint at the given position.
Declaration
public CoordinatePoint GetNearestParsePointRight(int iLine, int iColumn)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Line index, the ParsePoint is needed for. |
System.Int32 | iColumn | Column index, the ParsePoint is needed for. Can be 0. |
Returns
Type | Description |
---|---|
CoordinatePoint | ParsePoint to the given position. |
Remarks
If it can not be found (it is in virtual space), then you will get parse point, pointing to the beginning of the next line. If it can not be done, ParsePoint, pointing to the end of current line will be returned.
GetNextLine(ILexemLine)
Parses line, that is next to given one. Cache is not used.
Declaration
protected virtual ILexemLine GetNextLine(ILexemLine line)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | line | Current line. |
Returns
Type | Description |
---|---|
ILexemLine | New line. |
GetOuterCollapsableRegion(IParsePoint, Boolean)
Gets the collapsible region that the specified point belongs to.
Declaration
public CollapsableRegion GetOuterCollapsableRegion(IParsePoint point, bool bCollapsed)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | Point, the region is to be looked for. |
System.Boolean | bCollapsed | Specifies, whether region must be collapsed. |
Returns
Type | Description |
---|---|
CollapsableRegion | Found region, or null. |
GetOuterCollapsableRegion(Int64, Boolean)
Gets the collapsible region that the specified point belongs to.
Declaration
public CollapsableRegion GetOuterCollapsableRegion(long offset, bool bCollapsed)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | offset | Offset of point, the region is to be looked for. |
System.Boolean | bCollapsed | Specifies, whether region must be collapsed. |
Returns
Type | Description |
---|---|
CollapsableRegion | Found region, or null. |
GetParsePoint(Int32, Int32)
Gets ParsePoint of the given coordinates.
Declaration
public IParsePoint GetParsePoint(int iLine, int iColumn)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLine | Needed line. |
System.Int32 | iColumn | Needed column. |
Returns
Type | Description |
---|---|
IParsePoint | Statical IParsePoint that points to specified coordinates. |
Remarks
The main difference between this method, and those, presented by StreamsWrapper is that this method also checks collapsing.
GetStackCopy()
Gets copy of the current parser's stack.
Declaration
public ConfigStack GetStackCopy()
Returns
Type | Description |
---|---|
ConfigStack | Stack object. |
InitializeCollapse(Boolean, Boolean)
Initializes the collapser.
Declaration
public void InitializeCollapse(bool SaveChanges, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | SaveChanges | To set all CollapsedRegion as expand |
System.Boolean | value | Set to Expand region or not |
InsertLexemLineIntoList(ILexemLine, Int32)
Insert lexem line in the lines list.
Declaration
protected virtual void InsertLexemLineIntoList(ILexemLine line, int index)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | line | Line to be inserted. |
System.Int32 | index | Position the line is to be inserted to. |
InsertText(String, CoordinatePoint)
Inserts the text into specified position.
Declaration
public virtual void InsertText(string str, CoordinatePoint point)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | Text to be inserted. |
CoordinatePoint | point | Point, text should be inserted to. |
IsPointVisible(IParsePoint)
Checks visibility of the point.
Declaration
public bool IsPointVisible(IParsePoint point)
Parameters
Type | Name | Description |
---|---|---|
IParsePoint | point | Point to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if point is visible. |
LockConsistenceChecks()
Locks consistence checks.
Declaration
protected void LockConsistenceChecks()
NextLine()
Moves to the next line and parses it.
Declaration
public IList NextLine()
Returns
Type | Description |
---|---|
System.Collections.IList | Array of lexems that represent line. |
OnCollapsingEnabledChanged()
Makes all needed updates after changing CollapsingEnabled state.
Declaration
protected virtual void OnCollapsingEnabledChanged()
OnRegNewCollapsedStateChanged(Object, EventArgs)
Handler of CollapsedStateChanged event for all collapsible regions.
Declaration
protected virtual void OnRegNewCollapsedStateChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Sender. |
System.EventArgs | e | EventArgs. |
PreviousLine()
Moves to the previous line and parses it.
Declaration
public IList PreviousLine()
Returns
Type | Description |
---|---|
System.Collections.IList | Array of lexems that represent line. |
RaiseLineIndexChanged(UncachedLexemLine)
Raises LineIndexChanged event on line index changes.
Declaration
protected void RaiseLineIndexChanged(UncachedLexemLine line)
Parameters
Type | Name | Description |
---|---|---|
UncachedLexemLine | line | Line that was changed. |
RaiseLineInstanceCreatedEvent(ILexemLine)
Raises LineInstanceCreated event;
Declaration
protected void RaiseLineInstanceCreatedEvent(ILexemLine line)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | line | Line, that is created. |
RaiseLineInstanceDeletedEvent(ILexemLine)
Raises LineInstanceDeleted event;
Declaration
protected void RaiseLineInstanceDeletedEvent(ILexemLine line)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | line | Line, that is deleted. |
RaiseTextInsertedEvent(String, Int32, Int32)
Raiser for TextInserted event.
Declaration
protected void RaiseTextInsertedEvent(string text, int iStartLine, int iStartColumn)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text, that is deleted. |
System.Int32 | iStartLine | Virtual line, where the text starts. |
System.Int32 | iStartColumn | Virtual column, where the text starts. |
RaiseTextInsertingEvent(String, Int32, Int32)
Raiser for TextInserting event.
Declaration
protected bool RaiseTextInsertingEvent(string text, int iStartLine, int iStartColumn)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text, that is deleted. |
System.Int32 | iStartLine | Virtual line, where the text starts. |
System.Int32 | iStartColumn | Virtual column, where the text starts. |
Returns
Type | Description |
---|---|
System.Boolean | False if action was canceled, otherwise - true. |
Redo()
Helps to redo the last change.
Declaration
public Point Redo()
Returns
Type | Description |
---|---|
System.Drawing.Point | Point of redo operation. |
Redo(Boolean)
Helps to redo the last change.
Declaration
public Point Redo(bool bRaiseTextChanging)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bRaiseTextChanging | Indicates whether text changing events should be raised. |
Returns
Type | Description |
---|---|
System.Drawing.Point | Point of redo operation. |
ResetLines(ILexemLine)
Resets all lines starting from given one.
Declaration
protected void ResetLines(ILexemLine startLine)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | startLine | First line that must be reset. |
ResetLines(ILexemLine, Boolean)
Resets all lines starting from given one.
Declaration
protected void ResetLines(ILexemLine startLine, bool delete)
Parameters
Type | Name | Description |
---|---|---|
ILexemLine | startLine | First line that must be reset. |
System.Boolean | delete | Specifies whether lines should be deleted or just their parsing information should be dropped. |
SetAllCollapsings(Boolean)
Toggles all collapsing to specified state.
Declaration
public void SetAllCollapsings(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | State of all collapsible regions to be set. |
SetStack(ConfigStack)
Sets new stack.
Declaration
public void SetStack(ConfigStack stack)
Parameters
Type | Name | Description |
---|---|---|
ConfigStack | stack | Stack to be set. |
StartOperation(String)
Starts new operation.
Declaration
public ILongOperation StartOperation(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the operation. |
Returns
Type | Description |
---|---|
ILongOperation | Operation. |
Undo()
Helps to undo the last change.
Declaration
public Point Undo()
Returns
Type | Description |
---|---|
System.Drawing.Point | Point of undo operation. |
UnlockConsistenceChecks()
Unlocks consistence checks.
Declaration
protected void UnlockConsistenceChecks()
UpdateLineInformation()
Updates the virtual line indexes according to current collapsing.
Declaration
public void UpdateLineInformation()
WriteLinesToXML(XmlTextWriter, Int32, Int32)
Writes specified text lines to XML.
Declaration
public void WriteLinesToXML(XmlTextWriter writer, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlTextWriter | writer | XML writer, data must be written to. |
System.Int32 | start | Index of first line to write. |
System.Int32 | end | Index of last line to write. |
Events
LineDeleted
Occurs when line has been deleted.
Declaration
public event LineDeletedEventHandler LineDeleted
Event Type
Type |
---|
LineDeletedEventHandler |
LineIndexChanged
Occurs after the index of line has changed.
Declaration
public event EventHandler LineIndexChanged
Event Type
Type |
---|
System.EventHandler |
LineInserted
Occurs when lines has been inserted.
Declaration
public event LineInsertedEventHandler LineInserted
Event Type
Type |
---|
LineInsertedEventHandler |
LineInstanceCreated
Occurs when line was created and added to the internal list.
Declaration
public event EventHandler LineInstanceCreated
Event Type
Type |
---|
System.EventHandler |
LineInstanceDeleted
Occurs when line was deleted.
Declaration
public event EventHandler LineInstanceDeleted
Event Type
Type |
---|
System.EventHandler |
LinesCountChanged
Occurs when count of lines has been changed.
Declaration
public event ValueChangedEventHandler LinesCountChanged
Event Type
Type |
---|
ValueChangedEventHandler |
OperationStarted
Occurs when any operation like collapsing or expanding is performed.
Declaration
public event LongOperationEventHandler OperationStarted
Event Type
Type |
---|
LongOperationEventHandler |
OperationStopped
Occurs on the end of the long operation.
Declaration
public event LongOperationEventHandler OperationStopped
Event Type
Type |
---|
LongOperationEventHandler |
OutliningBeforeCollapse
Occurs before region is about to collapse.
Declaration
public event OutliningCancellableEventHandler OutliningBeforeCollapse
Event Type
Type |
---|
OutliningCancellableEventHandler |
OutliningBeforeExpand
Occurs before region is about to expand.
Declaration
public event OutliningCancellableEventHandler OutliningBeforeExpand
Event Type
Type |
---|
OutliningCancellableEventHandler |
OutliningCollapse
Occurs when region collapses.
Declaration
public event OutliningEventHandler OutliningCollapse
Event Type
Type |
---|
OutliningEventHandler |
OutliningExpand
Occurs when region expands.
Declaration
public event OutliningEventHandler OutliningExpand
Event Type
Type |
---|
OutliningEventHandler |
TextDeleted
Occurs when text was deleted;
Declaration
public event TextChangedEventHandler TextDeleted
Event Type
Type |
---|
TextChangedEventHandler |
TextDeleting
Occurs when text is to be deleted;
Declaration
public event TextChangingEventHandler TextDeleting
Event Type
Type |
---|
TextChangingEventHandler |
TextInserted
Occurs when text was inserted;
Declaration
public event TextChangedEventHandler TextInserted
Event Type
Type |
---|
TextChangedEventHandler |
TextInserting
Occurs when text is to be inserted;
Declaration
public event TextChangingEventHandler TextInserting
Event Type
Type |
---|
TextChangingEventHandler |