Mark Derricutt asked:

> Hi, is it possible to build in any custom syntax highlighting
> code into the Delphi IDE?

Short answer is no.

The long answer is that there are no hooks provided for that particular
nice to have feature in the OpenTools API code. Its obviously in there
somewhere but Delphi 5 and below never provided this for us mortal
punters, just the IDE developers to do Pascal, C++, SQL (and some others)
syntax highliting. Have a look at the definition of the
TOTASyntaxHighlighter type in ToolsApi.pas. This is a fixed enumeration
with no wiggle room to do any user extentions. A major bummer that just
may be fixed in Delphi 6, but more likely never 8-(

Cheers, Max.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to