- Subject: Re: special syntax highlighting
- From: Paul Boekholt <p.boekholt@xxxxxxxxx>
- Date: Fri, 31 Jul 2009 18:45:59 +0200
Hi,
2009/7/20, Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>:
>
> I have a problem with syntax highlighting and the goto_match function.
>
> My situation is a little bit complicated, I have to explain:
>
> I do most of my programming with Perl and (of course) jed.
> The regular syntax highlighting most of the time does a great job, it
> really helps a lot in programming.
>
> But there is one situation when jed's syntax highlighting fails:
> HERE DOCUMENT strings.
You can use the color_region_hook to change the color of these lines
with set_line_color(). Then you can use get_line_color() in the
indentation code to skip these lines. See ruby mode
(http://jedmodes.sourceforge.net/mode/ruby/) for an example. In fact
if you switch to ruby mode and then switch back to perl mode, the
syntax highlighting should work.
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2009 date index]
[2009 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]