From 6c71faade9aaed0b3372bae5030503a04d1191e0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 8 Feb 2008 03:38:52 +0000 Subject: Recognize != operator from Octave instead of entering command mode. --- src/LexCPP.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/LexCPP.cxx') diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index 49dad8b9b..77d371b90 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -445,6 +445,9 @@ static void FoldCppDoc(unsigned int startPos, int length, int initStyle, visibleChars = 0; } } + if ((unsigned)styler.Length() == endPos) { + styler.SetLevel(lineCurrent, levelCurrent); + } } static const char * const cppWordLists[] = { -- cgit v1.2.3