diff options
Diffstat (limited to 'lexers/LexSpecman.cxx')
| -rw-r--r-- | lexers/LexSpecman.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/lexers/LexSpecman.cxx b/lexers/LexSpecman.cxx index 10721d244..72a973755 100644 --- a/lexers/LexSpecman.cxx +++ b/lexers/LexSpecman.cxx @@ -205,9 +205,9 @@ static void FoldNoBoxSpecmanDoc(Sci_PositionU startPos, Sci_Position length, int  	bool foldComment = styler.GetPropertyInt("fold.comment") != 0;  	bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0;  	bool foldAtElse = styler.GetPropertyInt("fold.at.else", 0) != 0; -	unsigned int endPos = startPos + length; +	Sci_PositionU endPos = startPos + length;  	int visibleChars = 0; -	int lineCurrent = styler.GetLine(startPos); +	Sci_Position lineCurrent = styler.GetLine(startPos);  	int levelCurrent = SC_FOLDLEVELBASE;  	if (lineCurrent > 0)  		levelCurrent = styler.LevelAt(lineCurrent-1) >> 16; @@ -216,7 +216,7 @@ static void FoldNoBoxSpecmanDoc(Sci_PositionU startPos, Sci_Position length, int  	char chNext = styler[startPos];  	int styleNext = styler.StyleAt(startPos);  	int style; -	for (unsigned int i = startPos; i < endPos; i++) { +	for (Sci_PositionU i = startPos; i < endPos; i++) {  		char ch = chNext;  		chNext = styler.SafeGetCharAt(i + 1);  		//int stylePrev = style; | 
