[Lazarus] Call abstract method in SynEdit

Martin lazarus at mfriebe.de
Thu Jun 23 14:37:52 CEST 2011


On 23/06/2011 13:32, dhkblaszyk at zeelandnet.nl wrote:
>
> Hi,
>
> Working on a project with SynEdit gives me a call to an abstract 
> method in SynEdit.pp paintlines on line 3836
>
> attr := fHighlighter.GetTokenAttribute;
>
> Any idea what could be causing this? I tried by assigning a 
> highlighter to the component, but it should just work fine without it 
> as well. When I try an empty project then everything works just fine.

What have you set as Highligther (Synedit.Highlighter := xxxxx) ?

It seems the Highlighter you use, does not implement all the required 
methods.

Some background on writing a highlighter: 
http://wiki.lazarus.freepascal.org/SynEdit_Highlighter






More information about the Lazarus mailing list