IDE - Separate Colour for Compiler Directives

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

IDE - Separate Colour for Compiler Directives

Post 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