With this environment as mature as it is, and the
languages it supports changing as well, it would be
great if the syntax highlighting were stored in files
local to the installation. That way we can go in and
add things to it, or even submit our own highlight
files for different languages.
Perhaps an xml file with the tags and colors stored there.
sample: (of course it isn't exact or correct syntax
it's an example) (using parens to prevent stripping by
sourceforge
(xml)
(lang display="PHP")
(tag n="(" c="#000000" w="bold" /)
(tag n="=" c="#0000EE" w="bold" /)
(tag n="[" c="#000000" w="bold" /)
(tag n=":" c="#FF0000" w="bold" /)
(tag n=";" c="#000000" w="bold" /)
(tag n="\"" c="#00FF00" w="normal" /)
(/lang)
(/xml)
obviously this is very simple and can be expanded to
include all aspects of reserved words and such.
Logged In: YES
user_id=842978
I too see the advantages when given the option to add new
languages. But why work out a complete new xml-scheme? There
must be more on the net, becease that isn't the first time
this idea is born.
A quick search brought me:
http://colorer.sourceforge.net/
From the introduction:
Colorer take5 is a syntax highlighting and text parsing
library, that provides services of text parsing in host
editor systems in real-time and transforming results into
colored text. Result information allows to search and build
outlined lists of functions, structures, and to search and
indent programming language constructions (brackets, paired
tags).
Logged In: YES
user_id=1164379
Dev-PHP doesn't highlight, because it is based upon
UniSynEdit / SynEdit ; both are Delphi projects.
Colorer is C++ and Java.
I believe that you should attempt to report your idea to the
SynEdit team.
Regards,
Pierre.
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).