mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 11:48:34 +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;
|
||||
begin
|
||||
SetCurPtr(CurPos.X,Delta.Y);
|
||||
end;
|
||||
|
||||
procedure TCustomCodeEditor.WindowEnd;
|
||||
begin
|
||||
SetCurPtr(CurPos.X,Delta.Y+Size.Y-1);
|
||||
if not NoSelect and ShouldExtend then
|
||||
TextStart {select to start}
|
||||
else
|
||||
SetCurPtr(CurPos.X,Delta.Y);
|
||||
end;
|
||||
|
||||
procedure TCustomCodeEditor.WindowEnd;
|
||||
begin
|
||||
if not NoSelect and ShouldExtend then
|
||||
TextEnd {select to end}
|
||||
else
|
||||
SetCurPtr(CurPos.X,Delta.Y+Size.Y-1);
|
||||
end;
|
||||
|
||||
procedure TCustomCodeEditor.JumpSelStart;
|
||||
|
Loading…
Reference in New Issue
Block a user