Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Activate HTML Colour Coding in a new DocType

New Here ,
May 11, 2007 May 11, 2007
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
TOPICS
Extensions
417
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 11, 2007 May 11, 2007
LATEST
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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines