Table of Contents

Method SmartIndent

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

SmartIndent()

Positions the cursor to the line indentation level, obtained from parser supporting Alternet.Syntax.SyntaxOptions.SmartIndent option when user presses Enter.

public virtual void SmartIndent()

SmartIndent(char)

Formats given current line using indentation obtained from Syntax Parser supporting Alternet.Syntax.SyntaxOptions.SmartIndent.

Specifies character being typed
public virtual bool SmartIndent(char ch)

Parameters

ch char

Returns

bool