Links
EControl Syntax Editor SDK
TCustomSyntaxMemo.TokenAtPos Method

Returns index of the token at the specified mouse position.

function TokenAtPos(Pos: TPoint): integer;

If there is no token at the specified position TokenAtPos returns -1. 

Use SyntObj.Tags to get TSyntToken object.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!