Applies to
Declaration
property SelContext: Integer;
Description
The SelContext property returns the context number of the keyword or start-stop section where the caret is. Each keyword or start-stop section is assigned a context number, either at design time, or at run time as a parameter to Keywords.AddKeyword or StartStopKeys.AddStartStopKey. This is this number that is returned in property SelContext.
If the editing caret is not inside a keyword or start-stop section, property SelContext returns 0.
This property has read only access and is available at run time only.
See also
SelStyle property