mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-22 23:19:27 +01:00
* Fixes from Dave Strodtman
git-svn-id: trunk@3890 -
This commit is contained in:
parent
92c7553818
commit
4376a4ee35
@ -2581,7 +2581,7 @@ begin
|
|||||||
SetCurPtr(0,DisasLines^.IndexOf(PL));
|
SetCurPtr(0,DisasLines^.IndexOf(PL));
|
||||||
PL^.SetFlags(lfDebuggerRow);
|
PL^.SetFlags(lfDebuggerRow);
|
||||||
CurL:=PL;
|
CurL:=PL;
|
||||||
TrackCursor(do_centre);
|
TrackCursor(do_not_centre);
|
||||||
end;
|
end;
|
||||||
GetCurrentLine:=PL;
|
GetCurrentLine:=PL;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -205,7 +205,7 @@ const
|
|||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
Tcentre = (do_centre,do_not_centre);
|
Tcentre = (do_not_centre,do_centre);
|
||||||
|
|
||||||
PCustomCodeEditor = ^TCustomCodeEditor;
|
PCustomCodeEditor = ^TCustomCodeEditor;
|
||||||
PEditorLineInfo = ^TEditorLineInfo;
|
PEditorLineInfo = ^TEditorLineInfo;
|
||||||
@ -6386,7 +6386,7 @@ begin
|
|||||||
OldSStart:=SelStart;}
|
OldSStart:=SelStart;}
|
||||||
CurPos.X:=X;
|
CurPos.X:=X;
|
||||||
CurPos.Y:=Y;
|
CurPos.Y:=Y;
|
||||||
TrackCursor(do_centre);
|
TrackCursor(do_not_centre);
|
||||||
if not IsLineVisible(CurPos.Y) then
|
if not IsLineVisible(CurPos.Y) then
|
||||||
begin
|
begin
|
||||||
F:=GetLineFold(CurPos.Y);
|
F:=GetLineFold(CurPos.Y);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user