diff options
Diffstat (limited to 'src/LexCPP.cxx')
| -rw-r--r-- | src/LexCPP.cxx | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index c5e55df8b..0b1e532c4 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -335,11 +335,6 @@ static void FoldCppDoc(unsigned int startPos, int length, int initStyle, WordLis  	unsigned int endPos = startPos + length;  	int visibleChars = 0;  	int lineCurrent = styler.GetLine(startPos); -	// Move back one line in case deletion wrecked current line fold state -	if (lineCurrent > 0) { -		lineCurrent--; -		startPos = styler.LineStart(lineCurrent); -	}  	int levelPrev = styler.LevelAt(lineCurrent) & SC_FOLDLEVELNUMBERMASK;  	int levelCurrent = levelPrev;  	char chNext = styler[startPos]; | 
