Page 1 of 1

Block Comments - multiple start and end strings

Posted: Tue Oct 11, 2005 1:04 pm
by martinlooker
Currently evaluating and have some questions:

Might it be possible to specify multiple block comment start and end strings at some point? For example I have smarty template files that include html comments <!-- --> and C style for css /* */ and smarty comments {* *} now I'd like all these to appear as comments but I can only setup one set of strings.

I'm also working with more and more files that incorporate more than one language, for example I have PHP files that incorporate HTML and CSS. It would be nice to be able to specify that the php stuff gets a different background colour to everything else as marked out by <?php ?> tags.

Is it possible to do these things in Zeus or might it become possible ?

Posted: Tue Oct 11, 2005 11:57 pm
by jussij
Might it be possible to specify multiple block comment start and end strings at some point?

As you have found, at present there is no way todo this :(
Is it possible to do these things in Zeus or might it become possible?
This is also currently not possible :(

To cater for this feature some though has been given to possibility of allowing a document type to be created based on other document types, but at this stage it is just a thought :idea:

Both these features are on the Zeus todo list, but they are not on the short term todo list.

Since these changes require a massive amount of re-work to the editor core in the areas of the comment handling and the document type configuration, they are far from trivial changes.

The current editor core is very stable I am very reluctant to embark on such a major change without a lot of upfront planning and design.

Only when enough time can be found for such major re-work will such features be attempted.

Jussi