Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home
0 votes

I'd like to apply the HTML syntax highlighter for a custom file extension (.inc), is this possible?

by (240 points)

1 Answer

0 votes
 
Best answer

Yes you can map a custom extension to an existing highlighter by editing the file:

config\flp_style.xml

For example to specify that .inc should be treated as an xml file you'd add a line:

<CodeHighlighting>
    <ExtensionMap>
        <map ext="inc" lang="xml"/>
        ...
by (30.1k points)
Thanks Dave, that works. I presume this will be overwritten on an upgrade?
...