Header menu logo AvalonLog

SelectedTextHighlighter Type

Highlight-all-occurrences-of-selected-text in Log Text View if the selection is more then two non-whitespace characters.

Constructors

Constructor Description

SelectedTextHighlighter(lg)

Full Usage: SelectedTextHighlighter(lg)

Parameters:
Returns: SelectedTextHighlighter
lg : TextEditor
Returns: SelectedTextHighlighter

Instance members

Instance member Description

this.ColorHighlighting

Full Usage: this.ColorHighlighting

The color used for highlighting other occurrences of the selected text.

this.IsEnabled

Full Usage: this.IsEnabled

To enable or disable this highlighter, it is enabled by default.

this.OnHighlightChanged

Full Usage: this.OnHighlightChanged

Returns: IEvent<string * ResizeArray<int>>

Occurs when the selection changes to more than two non-whitespace Characters. Returns tuple of selected text and list of all start offsets in full text. (including invisible ones)

Returns: IEvent<string * ResizeArray<int>>

this.OnHighlightCleared

Full Usage: this.OnHighlightCleared

Returns: IEvent<unit>

Occurs when the selection clears or is less than two non-whitespace Characters.

Returns: IEvent<unit>

this.SelectionChangedDelegate

Full Usage: this.SelectionChangedDelegate

Parameters:
arg0 : EventArgs

Type something to start searching.