mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 13:09:17 +02:00
select to beginning of the file (ctrl+shift+home)
This commit is contained in:
parent
e4d7867e0e
commit
975ee9d9f0
@ -4363,12 +4363,18 @@ end;
|
|||||||
|
|
||||||
procedure TCustomCodeEditor.WindowStart;
|
procedure TCustomCodeEditor.WindowStart;
|
||||||
begin
|
begin
|
||||||
SetCurPtr(CurPos.X,Delta.Y);
|
if not NoSelect and ShouldExtend then
|
||||||
end;
|
TextStart {select to start}
|
||||||
|
else
|
||||||
|
SetCurPtr(CurPos.X,Delta.Y);
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TCustomCodeEditor.WindowEnd;
|
procedure TCustomCodeEditor.WindowEnd;
|
||||||
begin
|
begin
|
||||||
SetCurPtr(CurPos.X,Delta.Y+Size.Y-1);
|
if not NoSelect and ShouldExtend then
|
||||||
|
TextEnd {select to end}
|
||||||
|
else
|
||||||
|
SetCurPtr(CurPos.X,Delta.Y+Size.Y-1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomCodeEditor.JumpSelStart;
|
procedure TCustomCodeEditor.JumpSelStart;
|
||||||
|
Loading…
Reference in New Issue
Block a user