mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 01:17:29 +01:00
MG: fixed bracket highlight for ecLineStart/End
git-svn-id: trunk@305 -
This commit is contained in:
parent
ea4fbda20b
commit
02ecb0641f
@ -4817,12 +4817,18 @@ begin
|
||||
MoveCaretAndSelection(CaretXY, Point(1, CaretY),
|
||||
Command = ecSelLineStart);
|
||||
fLastCaretX := fCaretX;
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
if eoBracketHighlight in fOptions then Update;
|
||||
{$ENDIF}
|
||||
end;
|
||||
ecLineEnd, ecSelLineEnd:
|
||||
begin
|
||||
MoveCaretAndSelection(CaretXY, Point(1 + Length(LineText), CaretY),
|
||||
Command = ecSelLineEnd);
|
||||
fLastCaretX := fCaretX;
|
||||
{$IFDEF SYN_LAZARUS}
|
||||
if eoBracketHighlight in fOptions then Update;
|
||||
{$ENDIF}
|
||||
end;
|
||||
{end} //mh 2000-10-19
|
||||
// vertical caret movement or selection
|
||||
|
||||
Loading…
Reference in New Issue
Block a user