On 7/23/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> I have recently started poking around it and have some ideas ;-)

What ideas?
Well, for starters, the code obviously will benefit from some refactoring.
E.g. "mouse links" processing is spread over many different places,
with some literally duplicating code.
The interface of syntax highlighters needs improvement also.
I tried to disable "mouselinks" over keywords and numbers (because
clicking them will always lead to error). I have found the following:
one the one hand, "IsKeyword" function defined in basic class is not
implemented in descendants,
on the other hand, "GetToken" function, seemingly designed to return
the type of the current token, returns unadorned integer, with no way
to interpret it, and GetTokenID function, which does return enumerated
type, is pascal-specific.
Is the above worth fixing?

--
Alexander S. Klenin
Insight Experts Ltd.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to