Block Comments - multiple start and end strings

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
martinlooker
Posts: 20
Joined: Tue Oct 11, 2005 12:55 pm

Block Comments - multiple start and end strings

Post 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 ?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
Post Reply