From 4376a4ee35c906adf6ca83f6f37ff34ce6533a3e Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 18 Jun 2006 13:19:28 +0000 Subject: [PATCH] * Fixes from Dave Strodtman git-svn-id: trunk@3890 - --- ide/fpviews.pas | 2 +- ide/weditor.pas | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ide/fpviews.pas b/ide/fpviews.pas index ec090715f8..130ee601e2 100644 --- a/ide/fpviews.pas +++ b/ide/fpviews.pas @@ -2581,7 +2581,7 @@ begin SetCurPtr(0,DisasLines^.IndexOf(PL)); PL^.SetFlags(lfDebuggerRow); CurL:=PL; - TrackCursor(do_centre); + TrackCursor(do_not_centre); end; GetCurrentLine:=PL; end; diff --git a/ide/weditor.pas b/ide/weditor.pas index 3d2ac9ddbd..9fb9f55aac 100644 --- a/ide/weditor.pas +++ b/ide/weditor.pas @@ -205,7 +205,7 @@ const type - Tcentre = (do_centre,do_not_centre); + Tcentre = (do_not_centre,do_centre); PCustomCodeEditor = ^TCustomCodeEditor; PEditorLineInfo = ^TEditorLineInfo; @@ -6386,7 +6386,7 @@ begin OldSStart:=SelStart;} CurPos.X:=X; CurPos.Y:=Y; - TrackCursor(do_centre); + TrackCursor(do_not_centre); if not IsLineVisible(CurPos.Y) then begin F:=GetLineFold(CurPos.Y);