[lazarus] CVS Update

Shane Miller SMiller1 at stvgb.org
Tue Dec 7 13:17:55 EST 1999


Got further!!!.  I added the mwPasSyn1 back into mwEdit.  For those unaware, mwPasSyn1 is the syntax highlighter for mwedit.  Without it, the text is just plain old text. 

I added it back and found it crashed again in NULLPROC.  When I went into debug (DDD) I found that I got into the procedure but THIS = 0x0.  Odd......then I noticed that when FProcTable was assigned to NullProc it was assigned by doing this:

FProcTable[I] := NullProc;

This is the correct way of doing it, but it doesn't work for FPC.  I was surprised it compiled!!!!  I changed it to

FProcTable[I] := @NullProc; 
and it worked.....I need to change a few other things but we are further.

Shane



>>> Marc.Weustink at cuperus.nl 12/07/99 07:43AM >>>
+ From: Shane Miller [mailto:SMiller1 at stvgb.org] 
+ Sent: Tuesday, 07 December, 1999 14:32
+ 
+ It doesn't paint any text to the editor because I believe it 
+ looks to see if the HIGHLIGHTER property is assigned before 
+ repainting.
+ 
+ Shane
+ 

?? and it does when setting Lines.Text ?? ... OK !

Marc

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list