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

C#
Visual Basic

Azuki 1.7 Documentation
AutoIndentHooks..::..CHook Field
AutoIndentHooks Class See Also Send Feedback

Auto-indent hook for C styled source code.

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

# Syntax

C#
    public static readonly AutoIndentHook CHook

Visual Basic
    Public Shared ReadOnly CHook As AutoIndentHook

#### Field Value

Type: AutoIndentHook

# Remarks

This hook delegate provides a special indentation logic for C styled source code. Here 'C style' means that curly brackets are used to enclose each logical block, such as C++, Java, C#, and so on.

The differences between this and generic auto-indentation are below:

- Pressing Enter key increases indentation level if the line was terminated with a closing curly bracket ( } )
- Inserting an opening curly bracket ( { ) decreases indentation level if the line was consisted only with whitespace characters.

Note that the characters to be used to create indentation will be chosen according to the value of UsesTabForIndent property.

# See Also

AutoIndentHooks Class
AutoIndentHooks..::..AutoIndentHooks Members
Sgry.Azuki Namespace