mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:27:56 +02:00
parent
78ea6166e5
commit
2927388c0a
@ -5991,12 +5991,11 @@ begin
|
||||
end;
|
||||
|
||||
procedure TCustomCodeEditor.GotoLine;
|
||||
var
|
||||
GotoRec: TGotoLineDialogRec;
|
||||
const
|
||||
GotoRec: TGotoLineDialogRec = (LineNo:'1';Lines:0); {keep previous goto line number}
|
||||
begin
|
||||
with GotoRec do
|
||||
begin
|
||||
LineNo:='1';
|
||||
Lines:=GetLineCount;
|
||||
{Linecount can be 0, but in that case there still is a cursor blinking in top
|
||||
of the window, which will become line 1 as soon as sometype hits a key.}
|
||||
|
Loading…
Reference in New Issue
Block a user