BlitzMax Community IDE

BlitzPlus Forums/BlitzPlus Programming/BlitzMax Community IDE

Ked(Posted 2007) [#1]
In the BlitzMax IDE is the highlighting done using blitz code or is it using something else? If its blitz code could someone point out where its located in the source? Thanks.


kfprimm(Posted 2007) [#2]
its in the archives under BlitzPlus GUI


Mark Tiffany(Posted 2007) [#3]
If you look at the maxide2 version of code in the CVS on SourceForge, you can find all the code to highlight inside the file "editor.bmx". You will need to create a new type called TBPlusCodePanel (or similar) by copying the BMX one, and then amend ccode to create that new type instead of TBMXCodePanel when opening a bplus file. You can then amend the code in your new type to work with bplus (or b3d for that matter).

We do have some code for a proper "lexer", but using that will take a fair bit of effort I suspect...