Table of Contents

CreateCodeCompletionList Method

Overloads

CreateCodeCompletionList(TatCustomScripter, string, Integer, Integer, Integer)

Builds a string list containning code completion suggestions related to a input string AInputText (source code) and an cursor position (AInputPos).

Syntax

Unit: atScript

function CreateCodeCompletionList(AScripter: TatCustomScripter; AInputText: string; AInputPos: Integer; var AExprPos: Integer; var AExprLen: Integer): TStringList; overload;

Parameters

<-> Parameter Type Description
AScripter TatCustomScripter
AInputText string
AInputPos Integer
var AExprPos Integer
var AExprLen Integer

CreateCodeCompletionList(TatScript, string, Integer, Integer, Integer)

Builds a string list containning code completion suggestions related to a input string AInputText (source code) and an cursor position (AInputPos).

Syntax

Unit: atScript

function CreateCodeCompletionList(AScript: TatScript; AInputText: string; AInputPos: Integer; var AExprPos: Integer; var AExprLen: Integer): TStringList; overload;

Parameters

<-> Parameter Type Description
AScript TatScript
AInputText string
AInputPos Integer
var AExprPos Integer
var AExprLen Integer