Ruby / Rails syntax highlighting?

Ruby / Rails syntax highlighting?

2
NewbieNewbie
2

    May 05, 2005#1

    Does anyone have a wordfile that has up to date ruby and/or rails syntax highlighting?

    There is ruby syntax highlighting available in the downloads section of this website, but it appears to be pretty out of date.

    Help?

    Thanks!

    2
    NewbieNewbie
    2

      May 06, 2005#2

      What seems to be out of date? Updating the wordfile to match changes to the language should be relatively easy.

      2
      NewbieNewbie
      2

        May 06, 2005#3

        Yeah, it should be easy. But, the lazy programmer in me still needed to check ;)

        Hopefully soon I'll try to get the syntax coloring updated for ruby and/or rails updated. I'll post back here when that's done.

        Thanks again,
        Clint

        2
        NewbieNewbie
        2

          May 06, 2005#4

          I look forward to getting your update.

          Can you share any discrepancies that you've found with the current Ruby wordfile?

          DaanBR
          DaanBR

            Jun 23, 2005#5

            Any news yet on someone using rails with Ultraedit ?

            Anyone have an updated ruby / rails wordlist ?

            Thanks in advance

            5
            NewbieNewbie
            5

              Jul 27, 2005#6

              Sorry to resurrect this old thread, but the current Ruby wordfile has the following issues:
              1. Comments are only recognized if they are followed by a space character. This is tricky in Ruby, because #blah blah is a comment, but only if it appears outside of a double-quoted string.

              2. non-string uses of the single and double-quote characters confuse the highlighting.
              For example, if you type:
              if blah =~ /[^a-z#']/ then
              ..The UEdit highlighter thinks that the single-quote was the beginning of a new string, and colorizes the rest of the file from that point on. You can trick it by ending that line with a fake comment: # '

              I'm pretty sure that there are other quirks, but those are the two that come to mind first. FreeRIDE has immaculate Ruby highlighting and code-folding, but I've not found it to be particularly stable, and I can't live without UltraEdit's column mode.

              Is it possible to use regular expressions inside the UltraEdit wordfile? Does UEStudio enhance wordfile support in any way?