[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small improvements to ruby-mode

From: Bozhidar Batsov
Subject: Re: Small improvements to ruby-mode
Date: Tue, 9 Jul 2013 17:36:25 +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:

On 9 July 2013 04:19, Dmitry Gutov <address@hidden> wrote:
On 08.07.2013 13:37, Bozhidar Batsov wrote:
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.

Should be fixed now. :) Along with the negation char fontification.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]