Skip to main content
Participant
May 11, 2007 8:40 AM UTC
Question

Activate HTML Colour Coding in a new DocType

Hello again,

I created a new doctype for an extension (for the cms webEdition). webEdition comes along with we:tag, quiote similar than html tags. You put these tags in "normal" html and the cms parses them...

If I make a new webEdition Templatze (extension .tmpl), I have syntax highlighting, code completion for webEdition only. How can i use the HTML and PHP syntax highlighting also?

Is there any way to activate syntax highlighting for HTML and PHP also. Is there a way to activate this with the mxp file? i know i could change the configuration file "CodeColoring.xml" by hand. But i would like to have an automatic way.

Looking forard to your help,
Greetings from Germany
Andy
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
May 11, 2007 4:09 PM UTC
Andy,

The easiest solution is to add your new doctype to the list of doctypes
for the HTML and PHP code coloring schemes.

Unfortunately, there is no way to do this automatically from the mxp. To
do that, you would have to duplicate all of the HTML and PHP code
coloring schemes (which will take up more disk space, memory, etc.).

HTH,
Randy


> I created a new doctype for an extension (for the cms webEdition). webEdition
> comes along with we:tag, quiote similar than html tags. You put these tags in
> "normal" html and the cms parses them...
>
> If I make a new webEdition Templatze (extension .tmpl), I have syntax
> highlighting, code completion for webEdition only. How can i use the HTML and
> PHP syntax highlighting also?
>
> Is there any way to activate syntax highlighting for HTML and PHP also. Is
> there a way to activate this with the mxp file? i know i could change the
> configuration file "CodeColoring.xml" by hand. But i would like to have an
> automatic way.

Translate