Table of Contents

TScripterCodeInsight.CreateCodeCompletionList Method

Builds a code completion list similar to GetCodeCompletion, but with integer type tags in the Objects[] entries.

Remarks

Works identically to GetCodeCompletion, except that each Objects[] entry is an integer (cast from object) indicating the kind of completion item: 0 -- Property 1 -- Method (procedure) 2 -- Method (function) 3 -- Event 16 -- Variable (script or Delphi-based) 17 -- Procedure (script or Delphi-based) 18 -- Function (script or Delphi-based)

Syntax

Unit: atScript

function TScripterCodeInsight.CreateCodeCompletionList(AInputPos: Integer; var DefaultIndex: Integer): TStringList;

Parameters

<-> Parameter Type Description
AInputPos Integer
var DefaultIndex Integer

See also