Keyword Export

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
martinlooker
Posts: 20
Joined: Tue Oct 11, 2005 12:55 pm

Keyword Export

Post by martinlooker »

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.
martinlooker
Posts: 20
Joined: Tue Oct 11, 2005 12:55 pm

Found the Keywords

Post by martinlooker »

Hi I've now found the keywords files in zExamples, if any other newbies should be looking for them.
(After extracting some version from the zConfig files with a hex editor).

Jussi could you answer or point me to the answer of my other question, how / can I make a copy of the files for a filetype to experiment with ?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

how / can I make a copy of the files for a filetype to experiment with?
As you will have noticed Zeus stores it configuration details in a binary file format. Unfortunately this is a very un-user friendly file format making it very difficult to copy :(

There are plans to move from a binary format to a more user friendly XML format some time in the future.

Cheers Jussi
Post Reply