From: Alan G. <ag...@he...> - 2007-02-27 10:58:01
|
Hi Fl=E1vio, > BTW, continuing the discussion I've mentioned, what did you=20 > do to trigger the "attri" bug? Are you using a custom=20 > highlighter? Do you think the editor should handle gracefully=20 > the (this) case of a highlighter returning a GetTokenId()=20 > without a corresponding > GetAttribute() or are you missing only a better error message? I do indeed use a custom highlighter. Otherwise, I just thought I would regenerate the .pas file from my .msg one, in case something new had = been added, but no the new .pas is exactly the same as my old one. What my highlighter seems to be missing (and whether this is 'normal' or not, I have no idea) are, at least, a 'valid' WhitespaceAttribute and CommentAttribute (at the moment they are both set to Nil). I must confess that I have no idea about the way SynEdit works, so could = it be that I did something wrong at some point? Finally, I don't know whether I should get an error message or not. All = I do know is that it used to work fine and that now it does not (well, it = does again, now that I have implemented my quick fix). Cheers, Alan. |