CMake syntax highlighting
Posted: Sun Jul 13, 2008 5:50 pm
Hi! 
I've started to use the marvelous CMake (http://www.cmake.org) for generating makefiles.
The files you create for telling CMake how to generate the makefiles are all called "CMakeLists.txt".
To make it a little easier for me to edit these files, i made a syntax highlighting file for textpad and a new document class for "CMakeLists.txt"-files.
The problem is (of course) that textpad will never use this document class. Whenever i open a CMakeLists.txt file, textpad uses the "Text" document class, since this document class is used for all filenames on the form "*.txt" - including CMakeLists.txt!
So is there a way to syntax highlight CMakeLists.txt files differently than other txt-files?
Thanx for any help!
(i currently use textpad 4.7.3 if that makes any difference)
I've started to use the marvelous CMake (http://www.cmake.org) for generating makefiles.
The files you create for telling CMake how to generate the makefiles are all called "CMakeLists.txt".
To make it a little easier for me to edit these files, i made a syntax highlighting file for textpad and a new document class for "CMakeLists.txt"-files.
The problem is (of course) that textpad will never use this document class. Whenever i open a CMakeLists.txt file, textpad uses the "Text" document class, since this document class is used for all filenames on the form "*.txt" - including CMakeLists.txt!
So is there a way to syntax highlight CMakeLists.txt files differently than other txt-files?
Thanx for any help!
(i currently use textpad 4.7.3 if that makes any difference)