Synedit: fix matching-bracket-highlight in comments (closing bracket at eol) issue #0022586

git-svn-id: trunk@38180 -
This commit is contained in:
martin 2012-08-06 14:08:47 +00:00
parent d9d528ab9c
commit 4d2b3686c5

View File

@ -8144,7 +8144,7 @@ var
end;
fHighlighter.Next;
end;
MaxKnownTokenPos := Length(Line);
MaxKnownTokenPos := Length(Line) + 1; // 1 based end+1 of last token (start pos of none existing after eol token)
TokenPosList[i].X := MaxKnownTokenPos;
TokenListCnt := i + 1;
Result := TokenPosList[i-1].Attr = BracketKind;