TScripterCodeInsight.GetParameterHintInfo Method
Provides context information about the parameter hint to be displayed
Syntax
Unit: atScript
function TScripterCodeInsight.GetParameterHintInfo(AInputPos: Integer; var AToken: string; var AParIndex: Integer): Boolean;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AInputPos | Integer | The current cursor position in the input text in which parameter hint will be displayed | |
| var | AToken | string | the returned token used for parameter hint. This is usually the qualified name of the method for which parameter hints will be displayed (example, 'MyForm.Show') |
| var | AParIndex | Integer | The index of parameter to be displayed (0 is first parameter, 1 second, etc. |
Returns
Function returns true if there is a valid parameter hint to be displayed at this position. False otherwise.