* Fixes from Dave Strodtman

git-svn-id: trunk@3890 -
This commit is contained in:
marco 2006-06-18 13:19:28 +00:00
parent 92c7553818
commit 4376a4ee35
2 changed files with 3 additions and 3 deletions

View File

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

View File

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