mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 09:09:32 +02:00
Synedit: fix matching-bracket-highlight in comments (closing bracket at eol) issue #0022586
git-svn-id: trunk@38180 -
This commit is contained in:
parent
d9d528ab9c
commit
4d2b3686c5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user