MG: fixed bracket highlight for ecLineStart/End

git-svn-id: trunk@305 -
This commit is contained in:
lazarus 2001-06-30 07:45:25 +00:00
parent ea4fbda20b
commit 02ecb0641f

View File

@ -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