Highlighter files

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
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".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Highlighter files

Post by chrisjlocke »

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.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

This is an interesting apporoach. However current architecture does not support it, thus I'm afraid this won't be changed in near future. If you feel thet there is a lack of certain highlighters, please let me know and we will try to include them.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Romashka
Posts: 5
Joined: Wed Sep 14, 2005 1:29 pm

Post by Romashka »

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:
Last edited by Romashka on Sat Sep 16, 2006 12:17 pm, edited 1 time in total.
Romashka
Posts: 5
Joined: Wed Sep 14, 2005 1:29 pm

Post by Romashka »

And please add SQL code highlighting with the ability to choose SQL dialects, i.e. MySQL, SQLite, PostgreSQL, Oracle, etc.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

please add another vote for Smarty highlighting.

Thanks,
Will
Bendis
Posts: 35
Joined: Mon Jun 06, 2005 1:10 pm

Post by Bendis »

Karlis wrote:If you feel thet there is a lack of certain highlighters, please let me know and we will try to include them.
Hi Karlis,

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>
...
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Yes, we will try to manage SQL hl in 2006. There are tech problems in getting <form <table and other such tags in differrent colors but we are working to solve them.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Bendis
Posts: 35
Joined: Mon Jun 06, 2005 1:10 pm

Post by Bendis »

Karlis,

thanks for the effort! I can't wait to see the 2006 editon! :)
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

there is no embed in xhtml. :wink:


Will
Bendis
Posts: 35
Joined: Mon Jun 06, 2005 1:10 pm

Post by Bendis »

Uhm, yeah, right... :oops:
Post Reply