Highlighting Functions

BlitzMax Forums/BlitzMax Programming/Highlighting Functions

Is there anyway to have functions that are in my own modules highlighted in the IDE like the commands that come with BMX?

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.

Okay thanks!

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.