|Subject:||Re: Small improvements to ruby-mode|
|Date:||Tue, 9 Jul 2013 19:07:54 +0300|
I've noticed two more font look issues (I guess I'm becoming annoying :-) ):- ?c, ?x, ?\n, ?\C-\M-d, etc should be font-locked as strings I guess, since from Ruby 1.9 the character literal syntax actually yields strings.- there should be support for the new %I/%i literals from Ruby 2.0 - I guess we should font-lock them as symbols
On 9 July 2013 15:55, Bozhidar Batsov <address@hidden> wrote:
Great!On 9 July 2013 04:19, Dmitry Gutov <address@hidden> wrote:
On 08.07.2013 13:37, Bozhidar Batsov wrote:Should be fixed now. :) Along with the negation char fontification.
I noticed a couple of more font locking problems that we might want to
address. They are related to method names. Consider this code
def self.some_name ....
def SomeClass.some_name ...
self and SomeClass are currently highlighted with the same face as the
method name, although they are not actually part of the method name.
self should be highlighted with the variable face and class/modules with
the type face.
|[Prev in Thread]||Current Thread||[Next in Thread]|