SciTE Ruby Lexer (Update)

Hello all,

An updated version of the Ruby Lexer in SciTE is now available from my
site http://www.tua.ch/ruby/current.html (Only source and win32 build,
sorry unix folks). Changes include:

    • Multiline strings handled correctly
    • Interpolation is handled using a stack of 2000 elements
    • constants, identifiers, class variables, instance variables and
      messages have their own color
    • no more python stuff (like the string u"test" that has nothing to do
      with Ruby).
    • the ‘include’ keyword added to ruby.properties
    • renaming of old color properties
    • colorful interface (change in ruby.properties)
    • some more.

Folding is next.

I would gladly receive your thoughts about these changes. See also the
documentation on www.scintilla.org and/or the scite-interest list for
further help/information.

kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby

Hello all,

An updated version of the Ruby Lexer in SciTE is now available from my
site tua.ch - und andere Domains günstig und einfach online kaufen auf top-domains.ch (Only source and win32 build,
sorry unix folks). Changes include:

nice, thanks for this

    • Multiline strings handled correctly
    • Interpolation is handled using a stack of 2000 elements
    • constants, identifiers, class variables, instance variables and
      messages have their own color
    • no more python stuff (like the string u"test" that has nothing to do
      with Ruby).
    • the ‘include’ keyword added to ruby.properties

well, I believe include is not a keyword, just a method. I wonder if
keywordish methods like private/protected/attr*/include should be
handled like methods or keywords.

···

il Sun, 2 May 2004 21:17:06 +0900, Kaspar Schiess eule@space.ch ha scritto::

Kaspar Schiess wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

An updated version of the Ruby Lexer in SciTE is now available from my
site tua.ch - und andere Domains günstig und einfach online kaufen auf top-domains.ch (Only source and win32 build,
sorry unix folks). Changes include:

    • Multiline strings handled correctly
    • Interpolation is handled using a stack of 2000 elements
    • constants, identifiers, class variables, instance variables and
      messages have their own color
    • no more python stuff (like the string u"test" that has nothing to do
      with Ruby).
    • the ‘include’ keyword added to ruby.properties
    • renaming of old color properties
    • colorful interface (change in ruby.properties)
    • some more.

Folding is next.

I would gladly receive your thoughts about these changes. See also the
documentation on www.scintilla.org and/or the scite-interest list for
further help/information.

kaspar
I hope that you send your changes to Neil so that he could include it in
the official build.

Robert wrote:

I hope that you send your changes to Neil so that he could include it in
the official build.

Neil got the changes first :wink:


kaspar

semantics & semiotics
code manufacture

www.tua.ch/ruby