Alexander Klenin wrote 10 lines
> I'm not yet sure, what you want to achieve. Do you need a general
> solution for your application, which uses synedit, or a special
> solution for the IDE?
A special one of the IDE. I just usually try not to write too specific
solutions --
e.g. I consider bad style "magic" comparison like
if TokenKind == 4 then token_is_linkable
So my last question was -- how to achieve that in a good style?
Ok, attached is updated patch using GetHighlighterAttriAtRowColEx function and magic constant. Is it acceptable?
Alexander S. Klenin
Insight Experts Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synedit_mouselink_indents_only.patch
Type: application/octet-stream
Size: 2113 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20081017/a549961e/attachment.obj
