diff options
Diffstat (limited to 'src/LexOthers.cxx')
| -rw-r--r-- | src/LexOthers.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 27a6bf406..10d1c8676 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -561,7 +561,7 @@ static void ColouriseLatexDoc(unsigned int startPos, int length, int initStyle,  			}  		}  	} -	styler.ColourTo(lengthDoc, state); +	styler.ColourTo(lengthDoc-1, state);  }  static const char * const batchWordListDesc[] = { | 
