Table of Contents

Method IsValidBraceCompletionAtPosition

Namespace
Alternet.Syntax.Parsers.TypeScript
Assembly
Alternet.Syntax.Parsers.TypeScript.v9.dll

IsValidBraceCompletionAtPosition(Point, char, out char)

When implemented by a class, determines if close brace code completion is expected.

bool IsValidBraceCompletionAtPosition(Point position, char openBrace, out char closeBrace)

Parameters

position Point

The position of the caret.

openBrace char

Character specifying open brace.

closeBrace char

Character specifying closing brace.

Returns

bool

True if open brace can be completed; otherwise false.