Fix UDL folding breaking with delimiters issue if UNIX EOL
This fixes a bug where UDL folding breaks if 1) the file uses non-Windows line endings and 2) delimiters are defined. Fix #350, fix #2873, fix #3372, fix #5499, close #7930
This commit is contained in:
parent
c7140f279b
commit
3a33c83762
|
@ -1710,6 +1710,8 @@ static void ColouriseUserDoc(Sci_PositionU startPos, Sci_Position length, int in
|
|||
sc.Forward(iter->length());
|
||||
if (sc.atLineStart)
|
||||
checkEOL = EOL_FORCE_CHECK;
|
||||
else if (sc.atLineEnd)
|
||||
checkEOL = EOL_SKIP_CHECK;
|
||||
|
||||
// paint end of delimiter sequence
|
||||
sc.SetState(newState);
|
||||
|
|
Loading…
Reference in New Issue