[Lazarus] Synedit crash on Carbon with an invalid font.

Brad Campbell brad at wasp.net.au
Fri Oct 10 09:08:55 CEST 2008


On Thu, 09 Oct 2008 16:53:36 +0100
Martin Friebe <lazarus at mfriebe.de> wrote:

> Alexander Klenin wrote:
> > I noticed that FreePascal highlighter does not overload IsKeyword
> > function. Thinking that it should be trivial to implement, I have
> > taken a look at SynHighlighterPas unit.
> >   
> 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.

It can be useful for simple tools, that should work with arbitrary
synedit highlighters.
For all other cases I recommend the keyword lists in the codetools. For
Delphi code jcf can be used too.

Mattias



More information about the Lazarus mailing list