|
From: | Bozhidar Batsov |
Subject: | bug#15270: 24.3; ruby-mode font-lock bug related to HERE docs |
Date: | Thu, 5 Sep 2013 14:48:54 +0300 |
On Thursday, September 5, 2013 at 2:45 PM, Dmitry Gutov wrote:
Bozhidar Batsov <bozhidar.batsov@gmail.com> writes:Code like the following breaks font-locking logic of ruby-mode:expected_source = <<-END.strip_indenteach do |x|some_methodother_methodendENDThe second END gets highlighted as a constant, instead of a string. Iguess the two consecutive ends cause the problem.Here's a screenshot - http://i42.tinypic.com/122jeap.jpgHave you tried it in the current trunk?The first END highlighting looks out of place, but it's caused by the"Perl-ish keywords" rule.
[Prev in Thread] | Current Thread | [Next in Thread] |