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

C#
Visual Basic

Azuki 1.7 Documentation
IUserInterface..::..UsesTabForIndent Property
IUserInterface Interface See Also Send Feedback

Gets or sets whether a tab character should be used for indentation, instead of space characters.

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

# Syntax

C#
    bool UsesTabForIndent { get; set; }

Visual Basic
    Property UsesTabForIndent As Boolean
    	Get
    	Set

#### Property Value

Type: Boolean

# Remarks

This property gets or sets whether tab characters are used for indentation or not. If this property is false, space characters will be used.

This property affects every action involving indentation. Next is the list of such actions:

- Inserting an indentation character sequence (hitting the "tab" on your keyboard).
- Executing block-indent.
- Executing auto-indentation which requires to indent lines. An example is smart-indentation for C/C++ language. If user hits "Enter" key when the caret is at end of line which ends with a closing curly bracket ( } ), newly generated line will be indented.
- Pasting rectangular selection data, under specific condition. An example of the condition is; pasting when (1) a rectangular selection contains two lines, (2) the caret is at the end of a line which is not empty, and (3) the next line is empty. In this case, an appropriate amount of whitespaces are needed to be appended to the the next (empty) line so that the second line in the rectangular selection data will be placed at the same column position as the first line.

# See Also

IUserInterface Interface
IUserInterface..::..IUserInterface Members
Sgry.Azuki Namespace
IUserInterface..::..TabWidth
Actions..::..BlockIndent(IUserInterface)
Actions.BlockUnIndent action
IUserInterface..::..UnindentsWithBackspace