Hi everyone!This is my first utility mod for Dwarf Fortress. This is expanded version of "Notepad++ raw file highlighting mode" made by Kazimuth, since he seems to have abandoned it, and the Bay12Forums, his post can be found here:
http://www.bay12forums.com/smf/index.php?topic=130510What does it do?This file can be used by Notepad++ editor to highlight syntax used in Dwarf Fortress moding. You can change the default colours I chose by following the instructions down below or in the download file. You can see how it looks here:
entity_default.txt

init.txt

What's new?Version 1.2:
SET_SCHOLARS_ON_VALUES_AND_JOBS is now highlighted properly.
Added OUTSIDER_CONTROLLABLE token to the definition.
Removed comma as a statement termintator, see version 1.0.
Improved dark mode, now background should be transparent.
Try out new system for comments, let's see how that looks.
Version 1.1:
Added new tokens.
Added dark mode.
Updated How To guide accordingly.
Version 1.0:
Initial release.
Upgraded highlighting with a lot of new tokens.
Changed old colours.
Tried fix with comments by enabling comma as a statement terminator.
Added a How To guide.
How to use it?A simple how-to guide is included in with the download or you can check the spoiler here:
Download the zip file and unzip it somewhere, you should see two xml files named “df_moding_language_npp.xml” and “df_moding_language_dark_npp.xml”.
Startup Notepad++, in the toolbar open “Language” menu and choose “Define your language…” option.

In the new window that popped up now choose import and select xml file that you’ve unzipped earlier, choose dark for black background in highlighting.

Restart Notepad++.
Now when you open any file you want to mod open “Language” menu and choose “DF Modding Language” at the bottom.
If you dislike colours I chose for the highlighting you can easily change them by doing this:Startup Notepad++, in the toolbar open “Language” menu and choose “Define your language…” option.
In the new window that popped up now go to “Folder & Default” tab to change comment colour, “Keyword List” tab to change keyword coulour or “Comment & Number” to change number colour.
There click the styler button for appropriate group and chose colour you like from the colour picker that pops up when you click the “Foreground color” box.
Click ok and go back to your file, you should see changes immediately.

DownloadMod file and how-to guide can be downloaded here:
http://dffd.bay12games.com/file.php?id=12053Progress so far.So far I've managed to give it a basic functionality I wanted. You can open any file like d_init.txt in data folder or entity_default.txt in raw folder and get a helpful highlighting. I'm not sure if i have included all the tokens so if anything is missing please let me know.
Known issues.Some tokens are used differently in different files so sometimes some odd words may be highlighted, event though they shouldn't be highlighted here, but they are useful elsewhere.
Comments, highlighted blue, are highlighted black after colon, ":", there is nothing I can do about that, it's just a limitation imposed by Notepad++.
Found any errors, missing tokens, etc.? If you do please comment here.