UltraEdit WORDFILE.txt for GLSL

If you use the UltraEdit text editor, and write GLSL shading language programs, you may have wanted keyword coloring for the language. I took some time, and put together this language definition file, which you can paste at the end of your UltraEdit WORDFILE.txt file to enable GLSL syntax coloring.

Download it here.

You may also be able to re-format this file to use it with tools such as CTAGS, Emacs, gvim, or whatever your favorite text editor is.

The file is based on the version 110 GLSL specification, and has support for some decoration that I add to my GLSL files using the custom #section pre-processor pseudo-directive. Feel free to cut out all the keywords in word list 6 (Extensions) if this gets in your way.