Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthortiffani
    • CommentTimeMar 2nd 2007
     permalink
    If I am trying to create a HERE document in Ruby, there is a slight problem with the syntax highlighting after doing so.

    str = <<-SOME_STRINGS
    Yooo!
    SOME_STRINGS

    Causes everything from <<-SOME_STRINGS to be highlighted instead of just the HERE document block.
    • CommentAuthori
    • CommentTimeMar 2nd 2007 edited
     permalink

    Hey there :) Welcome to the forums.

    There was a discussion on heredoc syntax highlighting and its rules in this thread

    Edit: Oh, nvm, I get what you mean. You want just the heredoc string to be highlighted and not the delimiters themselves right?

    Well, to do that, we’ll need to define another scope for the stuff between the two delimiters and define a syntax highlight scope in all the theme files we use.

    Anyway, this is not a bug.