Highlighter files
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Highlighter files
Following on from this topic really. Not so much a request as a suggestion.
Rather than changing the program for syntax highlighting for different filetypes, how about implimenting individual highlight files, a bit like how the text edit ConText (www.context.cx/) works. This means to support highlighting in a new file, all someone needs to do is load a small highlight file. Also, if someone doesn't like the way (for example) php is highlighted, it can easily be changed.
I think it might be a lot of work initially converting over, but will save time in the long run, as you won't have to release a new version of the program to support a new file type.
Rather than changing the program for syntax highlighting for different filetypes, how about implimenting individual highlight files, a bit like how the text edit ConText (www.context.cx/) works. This means to support highlighting in a new file, all someone needs to do is load a small highlight file. Also, if someone doesn't like the way (for example) php is highlighted, it can easily be changed.
I think it might be a lot of work initially converting over, but will save time in the long run, as you won't have to release a new version of the program to support a new file type.
Highlighters configuration in data dirtectory is very good for languages like (X)HTML and CSS. I've tried more than 30 different editors with syntax highlighting (in fact, almost all available in Internet, both free and commercial) and must say that RapidCSS/HTMLPad/RapidPHP/WeBuilder has THE BEST syntax highlighting for (X)HTML and CSS (for example, it highlights only those attributes which are allowed in current HTML DTD, other attributes it highlights as unknown which is VERY GOOD).
Please do not change this in future versions!
Just add some new highlighters in program (Smarty highlighter would be great!!!) and constantly update PHP (including PECL) and PEAR functions and classes.
Also it would be nice to see XML, XSLT, XForms, XPath, XPointer, SVG, MathML highlighters (plus support for XML namespaces) and maybe some others. It will be not hard to do as all these markup languages (as well as XHTML) are based on XML, so all you have to do is to write appropriate .ini files in data directory and make some small changes in program code.
Smarty highlighter would require some more work.
Also please make PHP highlighter better, for example highlighter should highlight variables in double quoted strings:
"Var = $Var"
"Var = ${Var[$i]}"
For more information on listed highlighters see:
Please do not change this in future versions!
Just add some new highlighters in program (Smarty highlighter would be great!!!) and constantly update PHP (including PECL) and PEAR functions and classes.
Also it would be nice to see XML, XSLT, XForms, XPath, XPointer, SVG, MathML highlighters (plus support for XML namespaces) and maybe some others. It will be not hard to do as all these markup languages (as well as XHTML) are based on XML, so all you have to do is to write appropriate .ini files in data directory and make some small changes in program code.
Smarty highlighter would require some more work.
Also please make PHP highlighter better, for example highlighter should highlight variables in double quoted strings:
"Var = $Var"
"Var = ${Var[$i]}"
For more information on listed highlighters see:
Last edited by Romashka on Sat Sep 16, 2006 12:17 pm, edited 1 time in total.
Hi Karlis,Karlis wrote:If you feel thet there is a lack of certain highlighters, please let me know and we will try to include them.
like i mentioned here http://forums.blumentals.net/viewtopic.php?t=705, highlighting for (X)HTML should be improved, especially for tags like:
Code: Select all
<form>
<img>
<table>
<embed>
...