Opened 16 years ago
Last modified 13 years ago
#99 new task
Syntax Coloring
Reported by: | Peter Johansson | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | trivial | Milestone: | svndigest 0.x+ |
Component: | output | Version: | trunk |
Keywords: | Cc: |
Description
see http://trac.edgewall.org/wiki/TracSyntaxColoring
could be useful
Change History (14)
comment:1 Changed 16 years ago by
Milestone: | 0.6 → 0.7 |
---|
comment:2 Changed 16 years ago by
comment:3 Changed 16 years ago by
Milestone: | 0.7 → 0.8 |
---|
comment:4 Changed 15 years ago by
An alternative could be GNU source-highlight although I'm not certain there is an API. Also it uses Boost regex library, so we'd need to amend list of requirements.
comment:5 Changed 15 years ago by
I emailed Lorenzo Bettini, the maintainer of source-highlight, and for v2.12 he's planning to separate out a library with its API.
comment:8 Changed 14 years ago by
Milestone: | svndigest 0.8 → svndigest 0.9 |
---|---|
Status: | new → assigned |
comment:9 follow-up: 10 Changed 13 years ago by
Status: | assigned → new |
---|
port install of GNU source-highlight v3.0.1 crashes with segmentation fault during configure phase on my system (Mac OSX 10.4), so I will postpone this that is fixed.
comment:10 Changed 13 years ago by
Replying to peter:
port install of GNU source-highlight v3.0.1 crashes with segmentation fault during configure phase on my system (Mac OSX 10.4), so I will postpone this that is fixed.
Have you tried to fix the port problem yourself or you are waiting for the port maintainer to spot and fix the problem? I have had a few cases where the issue has been on my side and after some work with the port machinery the issues have been solved.
comment:11 follow-up: 13 Changed 13 years ago by
Trying again it almost worked. The build went through but port stops during the install phase. The problem is that source-highlight tries to install 3rd party m4 files owned by autoconf-archive. That creates a clash.
Noticed that the port is still at 3.0.1 while there already is a 3.1.3. I've written a patch that is updates port to use latest version and avoids installation of the m4 files.
Also, I did send a bug report to source-highlight maintainer, but it bounced because I'm not surscribed; will try again later today.
comment:12 Changed 13 years ago by
source-highlight comes with a .pc file just like plplot, hence the autoconf code for finding source-highlight will be very similar. Rather copy-paste-n-edit, I think I'll try to create a macro based on the plplot detection code.
comment:13 Changed 13 years ago by
Replying to peter:
Also, I did send a bug report to source-highlight maintainer, but it bounced because I'm not surscribed; will try again later today.
The issue has been fixed upstreams in source-highlight and will be included in next release (v3.1.5)
comment:14 Changed 13 years ago by
Milestone: | svndigest 0.9 → svndigest 0.x+ |
---|
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). Colorer uses pure C++, XML, it is fully portable and works on either win32/unix/mac platforms. Top level Java language API is also available.
http://colorer.sourceforge.net/