Highlighting Functions

BlitzMax Forums/BlitzMax Programming/Highlighting Functions

rdodson41(Posted 2005) [#1]
Is there anyway to have functions that are in my own modules highlighted in the IDE like the commands that come with BMX?


PowerPC603(Posted 2005) [#2]
I think editing the Blitz module (Mod/BRL.mod/Blitz.Mod/Blitz.bmx) will do the trick.
At the end of the file, there are a lot of keyword definitions listed.
I think adding your own keywords/functions and recompiling the module will do it.


rdodson41(Posted 2005) [#3]
Okay thanks!


Bot Builder(Posted 2005) [#4]
Erm, no. That's where all the language keywords are documented, and base functionality defined.

It should highlight after you use docmods with your modules like this:

bmk docmods rich

I'm pretty sure this will update your C:\BlitzMaxBeta101\doc\bmxmods\commands.txt file, which is where the commands are really stored. Oh, and if you messed up your blitz.bmx file after power's "advice", you can delete it and syncmods to get a fresh version.