diff options
Diffstat (limited to 'lexers/LexRuby.cxx')
| -rw-r--r-- | lexers/LexRuby.cxx | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/lexers/LexRuby.cxx b/lexers/LexRuby.cxx index e19a5147e..f818d3d47 100644 --- a/lexers/LexRuby.cxx +++ b/lexers/LexRuby.cxx @@ -705,8 +705,7 @@ static void ColouriseRbDoc(unsigned int startPos, int length, int initStyle,  	char chPrev = styler.SafeGetCharAt(startPos - 1);  	char chNext = styler.SafeGetCharAt(startPos);  	bool is_real_number = true;   // Differentiate between constants and ?-sequences. -	// Ruby uses a different mask because bad indentation is marked by oring with 32 -	styler.StartAt(startPos, 127); +	styler.StartAt(startPos);  	styler.StartSegment(startPos);      static int q_states[] = {SCE_RB_STRING_Q, @@ -1776,4 +1775,4 @@ static const char * const rubyWordListDesc[] = {  	0  }; -LexerModule lmRuby(SCLEX_RUBY, ColouriseRbDoc, "ruby", FoldRbDoc, rubyWordListDesc, 6); +LexerModule lmRuby(SCLEX_RUBY, ColouriseRbDoc, "ruby", FoldRbDoc, rubyWordListDesc); | 
