Свойство | Type | Description | |
---|---|---|---|
AllocateMatchArray | System.Text.RegularExpressions.Match[] | ||
CheckIsHighlighting | void | ||
HighlightLineAndUpdateTreeList | void | ||
HighlightLineInternal | void | ||
HighlightNonSpans | void | ||
HighlightUpTo | void | ||
ILineTracker | void | ||
ILineTracker | void | ||
ILineTracker | void | ||
ILineTracker | void | ||
Minimum | |||
PopAllColors | void | ||
PopColor | void | ||
PushColor | void | ||
ResetColorStack | void |
Méthode | Description | |
---|---|---|
DocumentHighlighter ( |
Creates a new DocumentHighlighter instance.
|
|
GetSpanStack ( int lineNumber ) : ICSharpCode.AvalonEdit.Utils.ImmutableStack |
Gets the span stack at the end of the specified line. -> GetSpanStack(1) returns the spans at the start of the second line. GetSpanStack(0) is valid and will always return the empty stack. |
|
HighlightLine ( |
Highlights the specified document line.
|
|
InvalidateHighlighting ( ) : void |
Invalidates all stored highlighting info. When the document changes, the highlighting is invalidated automatically, this method needs to be called only when there are changes to the highlighting rule set.
|
Méthode | Description | |
---|---|---|
OnHighlightStateChanged ( |
Is called when the highlighting state at the end of the specified line has changed. This callback must not call HighlightLine or InvalidateHighlighting. It may call GetSpanStack, but only for the changed line and lines above. This method must not modify the document. |
Méthode | Description | |
---|---|---|
AllocateMatchArray ( int count ) : System.Text.RegularExpressions.Match[] | ||
CheckIsHighlighting ( ) : void | ||
HighlightLineAndUpdateTreeList ( |
||
HighlightLineInternal ( |
||
HighlightNonSpans ( int until ) : void | ||
HighlightUpTo ( int targetLineNumber ) : void | ||
ILineTracker ( ) : void | ||
ILineTracker ( |
||
ILineTracker ( |
||
ILineTracker ( |
||
Minimum ( |
Returns the first match from the array or endSpanMatch.
|
|
PopAllColors ( ) : void | ||
PopColor ( ) : void | ||
PushColor ( ICSharpCode.AvalonEdit.Highlighting.HighlightingColor color ) : void | ||
ResetColorStack ( ) : void |
public DocumentHighlighter ( |
||
document | ||
baseRuleSet | ICSharpCode.AvalonEdit.Highlighting.HighlightingRuleSet | |
Résultat | System |
public GetSpanStack ( int lineNumber ) : ICSharpCode.AvalonEdit.Utils.ImmutableStack |
||
lineNumber | int | |
Résultat | ICSharpCode.AvalonEdit.Utils.ImmutableStack |
public HighlightLine ( |
||
line | The line to highlight. | |
Résultat | HighlightedLine |
protected OnHighlightStateChanged ( |
||
line | ||
lineNumber | int | |
Résultat | void |