Zitat von Alexander Klenin <klenin@gmail.com>:

> On Fri, Oct 10, 2008 at 02:53, Martin Friebe <lazarus@mfriebe.de> wrote:
> > Alexander Klenin wrote:
> > Maybe off topic, but out of curiosity.
> > What is the benefit you hope to get from adding it? It *seems* that
> > highlighting works fine (conclusion Highlighting is not using this for
> > pascal?) Or have I missed something.
>
> Good question, actually ;-)
> Attached is the patch which served as a motivation.
> It disables linkification of keywords (and numbers) in Lazarus,
> since it was useless and distracting.

Ah, then I understood correct in the first place.
Keywords are context sensitive and so are the highlighters.
A link does not work on keywords, symbols, ..., but only on identifiers.
You can get this with Synedit1.GetHighlighterAttriAtRowCol.

And in Lazarus it is currently only implemented for filenames and identifiers in
pascal.


Mattias


