Using a xml file for syntax highlighter

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
mehrwerk_gmbh
Posts: 9
Joined: Tue Jan 14, 2020 3:58 pm

Using a xml file for syntax highlighter

Unread post by mehrwerk_gmbh » Mon Feb 10, 2020 3:18 pm

Hello,

first of all: We still use Help & Manual 7.

I would like to add program code to our documentation. The program code is a "own" programming language ("QlikView"), which is a mixture of several languages. Therefore the highlighting is also an own one.

Now my question:
Can we import our own syntax highlighting options in the form of an XML file?
I have always formatted the individual code elements by hand so far (colors, bold, etc.)...

Many thanks in advance,

Marie

User avatar
Tim Green
Site Admin
Posts: 21297
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Using a xml file for syntax highlighter

Unread post by Tim Green » Tue Feb 11, 2020 7:32 am

Hi Marie,

Sorry, the syntax highlighter doesn't support importing settings like this. :?
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.

mehrwerk_gmbh
Posts: 9
Joined: Tue Jan 14, 2020 3:58 pm

Re: Using a xml file for syntax highlighter

Unread post by mehrwerk_gmbh » Tue Feb 11, 2020 8:49 am

Hi Tim,

very sad. Do you have an idea how we could solve the problem without the need to manually adapt the program code every time?

User avatar
Tim Green
Site Admin
Posts: 21297
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Using a xml file for syntax highlighter

Unread post by Tim Green » Tue Feb 11, 2020 11:17 am

Hi Marie,

When you define your own syntax highlighters with the custom options the settings are retained in the program. The same applies to any customization you enter for existing languages. You don't have to reset them every time. The settings you can make there within the program are the limits of the customization for this, however.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.

Gerold Krommer
Posts: 48
Joined: Fri Mar 06, 2015 12:09 pm

Re: Using a xml file for syntax highlighter

Unread post by Gerold Krommer » Sat Feb 15, 2020 5:01 pm

Could a HM8 Plugin solve this?

br,

/Gerold

Post Reply