Skip to content

Commit

Permalink
scintilla: Ruby: Support new '%s' notation.
Browse files Browse the repository at this point in the history
rn=

(integrated from the KomodoIDE master branch change 8a4c40d by Mitchell <mitchellb@activestate.com>)

https://github.com/Komodo/KomodoIDE/commit/8a4c40d
  • Loading branch information
mitchell-as committed Oct 4, 2016
1 parent 8b56465 commit 437bf65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/patches/scintilla/copy/lexers/LexRuby.cxx
Expand Up @@ -866,8 +866,9 @@ static void ColouriseRbDoc(unsigned int startPos, int length, int initStyle,
SCE_RB_STRING_QW,
SCE_RB_STRING_QI,
SCE_RB_STRING_QI,
SCE_RB_STRING_QX};
static const char* q_chars = "qQrwWiIx";
SCE_RB_STRING_QX,
SCE_RB_STRING_QI}; // TODO: QS
static const char* q_chars = "qQrwWiIxs";

// In most cases a value of 2 should be ample for the code in the
// Ruby library, and the code the user is likely to enter.
Expand Down

0 comments on commit 437bf65

Please sign in to comment.