[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: [Bug 111561] New: Ruby syntax highlighting: code treated as
From: Sebastian Vuorinen <sebastian.vuorinen () helsinki ! fi>
Date: 2005-08-29 12:19:54
Message-ID: 200508291519.55020.sebastian.vuorinen () helsinki ! fi
[Download RAW message or body]
On Friday 26 August 2005 16:54, Martin Ankerl wrote:
> The highlighting after the } is wrong. Somehow the / and that the last } is
> on a new line is important to trigger this bug.
The problem is basically a clash between detecting a regular expression
beginning with / and '/' as the division symbol. The behaviour is correct as
long as you leave a space around '/' when using it for division.
Example:
puts %{
#{10 / 2}
}
The above will highlight correctly.
Currently I have no Ideas how to handle this any better, suggestions are
welcome.
Sebastian Vuorinen
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic