Hook delegate called every time a character was inserted.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

Syntax

C#
public delegate bool AutoIndentHook(
	IUserInterface ui,
	char ch
)
Visual Basic
Public Delegate Function AutoIndentHook ( 
	ui As IUserInterface,
	ch As Char
) As Boolean

Parameters

ui
Type: Sgry.Azuki..::..IUserInterface
User interface object such as AzukiControl.
ch
Type: System..::..Char
The character to be inserted.

Return Value

Type: Boolean
Whether the hook handles input successfully or not.

Remarks

AutoIndentHook is the type of delegate which is used to override (hook and change) Azuki's built-in input handling logic. If a hook of this type was installed, it is called every time a character is inserted and if it returned true, Azuki suppresses built-in input handling logic.

See Also