Page 1 of 1

IDE - Separate Colour for Compiler Directives

Posted: Mon Apr 05, 2010 7:59 pm
by Foz
Erm... as the title says, so rather than it being coloured and labelled with the Basic Keywords, it makes it easier to separate the lines.

Heck, if you really wanted to push the boat out (and I think this might be over the top, but cool) make the lines that fail the compiler directive one faint colour, and the current compiler directive to be shown in normal colours, sorta like, on Linux:
CompilerIf #PB_Compiler_OS = #PB_OS_Linux
ImportC "/usr/lib/libX11.a" + Chr('"') + " -l" + Chr('"') + "GL"
CompilerElse
Import "Opengl32.lib"
CompilerEndIf

; insert hundreds of procedure names
EndImport