Important Note: This power tip is for users running UltraEdit v14.20 and previous. If you are running UltraEdit v15.00 or greater, please go to our new power tip on syntax highlighting.
Adding a wordfile
We are frequently asked if we can add support for a given language. The answer to this question is, UltraEdit-32's syntax highlighting is user configurable based on the wordfile. Therefore, if you can append to your wordfile, you can add syntax highlighting support for your desired language. You may have highlighting for as many as 20 languages specified in your wordfile.
We have user-submitted wordfiles available for download here. The following steps will guide you through appending to your wordfile.
Adding a Wordfile
You can find/open your default wordfile by going to Advanced : Configuration : Editor Display : Syntax Highlighting and clicking 'Open' (in the 'Full path name for wordlist' field).
Open the downloaded wordfile in UltraEdit.
If you have not downloaded a wordfile yet, please do this now. You can download wordfiles here.
After you have opened the wordfile in UltraEdit, copy the entire contents of the new wordfile.
Go back to the default wordfile, which was already opened in UltraEdit, and Paste the contents of the clipboard (the downloaded wordfile) at the end of the default wordfile.
Please make sure that the wordfile you just pasted to the default wordfile does not have a duplicate language number.
The language is specified by a /Ln where n has a value of 1 to 20. This is at the beginning of the line.
Save the file using File : Save, or CTRL + S.
Any files opened after saving the modified wordfile, which have an extension matching those defined in the wordfile, will be highlighted accordingly.