Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
AzukiControl..::..Highlighter Property
AzukiControl Class See Also Send Feedback

Gets or sets highlighter object to highlight currently active document or null to disable highlighting.

Namespace: Sgry.Azuki.WinForms
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

#### Implements

IUserInterface..::..Highlighter

# 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.

# See Also

AzukiControl Class
AzukiControl..::..AzukiControl Members
Sgry.Azuki.WinForms Namespace
Highlighter.Highlighters