From 6e9778cd839196e9916e10e3404cc615291919e2 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 4 Feb 2017 13:46:27 +0000 Subject: [PATCH] Revert r5144, which causes more problems than it solves. See * http://www.heidisql.com/forum.php?t=23009 * http://www.heidisql.com/forum.php?t=23243 * http://www.heidisql.com/forum.php?t=23196 --- components/synedit/Source/SynEditHighlighter.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/synedit/Source/SynEditHighlighter.pas b/components/synedit/Source/SynEditHighlighter.pas index a0f72401..0d6d2125 100644 --- a/components/synedit/Source/SynEditHighlighter.pas +++ b/components/synedit/Source/SynEditHighlighter.pas @@ -1174,7 +1174,7 @@ begin Delta := Run - fOldRun; while Delta > 0 do begin - while (Length(fExpandedLine) < ExpandedRun) and (fExpandedLine[ExpandedRun] = FillerChar) do + while fExpandedLine[ExpandedRun] = FillerChar do inc(ExpandedRun); inc(ExpandedRun); dec(Delta);