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

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

Syntax

C#
bool UsesTabForIndent { get; set; }
Visual Basic
Property UsesTabForIndent As Boolean
	Get
	Set

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