Keyword Export
Posted: Thu Oct 20, 2005 10:58 am
Hi I can see where to import a list of keywords, is it possible to export them somehow ?
I want to highlight HTML tags within PHP files, if I could export the HTML reserved words and import them into the PHP User defined words 5 I think I might be able to get the effect I'm looking for.
Similarly is it possible to copy an existing set of file settings to a new set so I can experiment and still have the old set to return to ?
I'm trying to get as close as possible to some of the other editors that support multiple highlighting for files that contain multiple file data.
Straying into feature requests now:
Being able to see HTML, PHP and CSS each with their own background colour is something I'd really like to see. (If you want me to point you at examples let me know, but I suspect you've seen this.)
I don't know how simple this is, (I know in Zeus more things than syntax highlighting are pulled in dependent upon the file type), but the simplest way I think of is:
To have a multi-filetype filetype. In which you specify a default format, (say HTML), this uses the HTML filetype formatting when the file starts. You could then specify sets of start and end tags, each set of tags would specify an overriding filetype formatting, (say <?php ... ?> uses PHP, <style type="text/css"> ... </style> uses CSS). When outside these tags revert to the default formatting. These tags would need to be ignored if quoted in a string.
I want to highlight HTML tags within PHP files, if I could export the HTML reserved words and import them into the PHP User defined words 5 I think I might be able to get the effect I'm looking for.
Similarly is it possible to copy an existing set of file settings to a new set so I can experiment and still have the old set to return to ?
I'm trying to get as close as possible to some of the other editors that support multiple highlighting for files that contain multiple file data.
Straying into feature requests now:
Being able to see HTML, PHP and CSS each with their own background colour is something I'd really like to see. (If you want me to point you at examples let me know, but I suspect you've seen this.)
I don't know how simple this is, (I know in Zeus more things than syntax highlighting are pulled in dependent upon the file type), but the simplest way I think of is:
To have a multi-filetype filetype. In which you specify a default format, (say HTML), this uses the HTML filetype formatting when the file starts. You could then specify sets of start and end tags, each set of tags would specify an overriding filetype formatting, (say <?php ... ?> uses PHP, <style type="text/css"> ... </style> uses CSS). When outside these tags revert to the default formatting. These tags would need to be ignored if quoted in a string.