diff options
Diffstat (limited to 'lexers/LexRuby.cxx')
-rw-r--r-- | lexers/LexRuby.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexRuby.cxx b/lexers/LexRuby.cxx index b74ea146c..22410848e 100644 --- a/lexers/LexRuby.cxx +++ b/lexers/LexRuby.cxx @@ -1482,7 +1482,7 @@ static bool keywordIsModifier(const char *word, break; } } - + styler.Flush(); while (--pos >= lineStartPosn) { style = actual_style(styler.StyleAt(pos)); @@ -1493,7 +1493,7 @@ static bool keywordIsModifier(const char *word, // Scintilla's LineStart() and GetLine() routines aren't // platform-independent, so if we have text prepared with // a different system we can't rely on it. - + // Also, lineStartPosn may have been moved to more than one // line above word's line while pushing past continuations. chPrev = styler.SafeGetCharAt(pos - 1); |