[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 111561] New: Ruby syntax highlighting: code treated as strings
From:       Martin Ankerl <martin.ankerl () gmail ! com>
Date:       2005-08-26 13:54:28
Message-ID: 20050826155426.111561.martin.ankerl () gmail ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=111561         
           Summary: Ruby syntax highlighting: code treated as strings
           Product: kate
           Version: 2.4.1
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel kde org
        ReportedBy: martin.ankerl gmail com


Version:           2.4.1 (using KDE KDE 3.4.2)
Installed from:    Gentoo Packages
OS:                Linux

* How to reproduce

Copy this snippet into kate and save as a .rb file:
-------------------
puts %{
#{10/2}
}
# from here on everything is highlighted as if it was a string
puts "bla"
-------------------

The highlighting after the } is wrong. Somehow the / and that the last } is on a new \
line is important to trigger this bug.


* Expected Behaviour:
Highlighte everything correctly after the } :-)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic