Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public IHighlighter Highlighter { get; set; } |
Visual Basic |
---|
Public Property Highlighter As IHighlighter Get Set |
Property Value
Type: IHighlighter
Remarks
This property gets or sets highlighter for this document.
Highlighter objects are used to highlight syntax of documents. They implements IHighlighter interface and called Highlight method every time slightly after user input stopped to execute own highlighting logic. If null was set to this property, highlighting feature will be disabled.
Azuki provides some built-in highlighters. See Highlighter.Highlighters class members.
User can create and use custom highlighter object. If you want to create a keyword-based highlighter, you can extend KeywordHighlighter. If you want to create not a keyword based one, create a class which implements IHighlighter and write your own highlighting logic.
Note that setting new value to this property will not invalidate graphics. To update graphic, set value via IUserInterface.Highlighter.