mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +02:00
* small fixes due to tcentre
git-svn-id: trunk@3879 -
This commit is contained in:
parent
aa18f7523d
commit
0bb37b3e1a
@ -40,7 +40,7 @@ type
|
||||
|
||||
{ if true the current debugger raw will stay in middle of
|
||||
editor window when debugging PM }
|
||||
CenterDebuggerRow : boolean;
|
||||
CenterDebuggerRow : TCentre;
|
||||
Disableallinvalidbreakpoints : boolean;
|
||||
OrigPwd, { pwd at startup }
|
||||
LastFileName : string;
|
||||
@ -2070,7 +2070,7 @@ begin
|
||||
if W<>nil then
|
||||
begin
|
||||
W^.Select;
|
||||
W^.Editor^.TrackCursor(true);
|
||||
W^.Editor^.TrackCursor(do_centre);
|
||||
W^.Editor^.SetLineFlagExclusive(lfHighlightRow,P^.Breakpoint^.Line);
|
||||
end;
|
||||
if Assigned(Owner) then
|
||||
|
@ -499,7 +499,7 @@ begin
|
||||
{ Desktop }
|
||||
DesktopFileFlags:=INIFile^.GetIntEntry(secPreferences,ieDesktopFlags,DesktopFileFlags);
|
||||
{ Debugger }
|
||||
IniCenterDebuggerRow:=INIFile^.GetIntEntry(secPreferences,ieCenterDebuggerRow,1)<>0;
|
||||
IniCenterDebuggerRow:=tcentre(INIFile^.GetIntEntry(secPreferences,ieCenterDebuggerRow,1));
|
||||
{ Preferences }
|
||||
AutoSaveOptions:=INIFile^.GetIntEntry(secPreferences,ieAutoSave,AutoSaveOptions);
|
||||
MiscOptions:=INIFile^.GetIntEntry(secPreferences,ieMiscOptions,MiscOptions);
|
||||
|
@ -108,7 +108,7 @@ const ClipboardWindow : PClipboardWindow = nil;
|
||||
AutoSaveOptions : longint = asEnvironment+asDesktop;
|
||||
MiscOptions : longint = moChangeDirOnOpen+moCloseOnGotoSource;
|
||||
EditorModified : boolean = false;
|
||||
IniCenterDebuggerRow : boolean = true;
|
||||
IniCenterDebuggerRow : tcentre = do_centre;
|
||||
SleepTimeOut : longint = trunc(10*18.2);
|
||||
{$ifdef USE_EXTERNAL_COMPILER}
|
||||
UseExternalCompiler : boolean = true;
|
||||
|
Loading…
Reference in New Issue
Block a user