mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 05:49:15 +02:00
ide: desktops: add "Associated debug desktop" property to a desktop.
git-svn-id: trunk@55275 -
This commit is contained in:
parent
fc02cb8e2a
commit
e0275cda73
@ -10,7 +10,7 @@ object DesktopForm: TDesktopForm
|
|||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnShow = FormShow
|
OnShow = FormShow
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '1.5'
|
LCLVersion = '1.9.0.0'
|
||||||
object ButtonPanel1: TButtonPanel
|
object ButtonPanel1: TButtonPanel
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 34
|
Height = 34
|
||||||
@ -27,7 +27,7 @@ object DesktopForm: TDesktopForm
|
|||||||
CancelButton.Name = 'CancelButton'
|
CancelButton.Name = 'CancelButton'
|
||||||
CancelButton.Caption = 'Close'
|
CancelButton.Caption = 'Close'
|
||||||
CancelButton.DefaultCaption = False
|
CancelButton.DefaultCaption = False
|
||||||
TabOrder = 3
|
TabOrder = 4
|
||||||
ShowButtons = [pbClose, pbHelp]
|
ShowButtons = [pbClose, pbHelp]
|
||||||
object ExportBitBtn: TBitBtn
|
object ExportBitBtn: TBitBtn
|
||||||
Left = 93
|
Left = 93
|
||||||
@ -58,9 +58,9 @@ object DesktopForm: TDesktopForm
|
|||||||
AnchorSideLeft.Control = LblGrayedInfo
|
AnchorSideLeft.Control = LblGrayedInfo
|
||||||
AnchorSideRight.Control = LblGrayedInfo
|
AnchorSideRight.Control = LblGrayedInfo
|
||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
AnchorSideBottom.Control = AutoSaveActiveDesktopCheckBox
|
AnchorSideBottom.Control = AssociatedDebugDesktopComboBox
|
||||||
Left = 11
|
Left = 11
|
||||||
Height = 190
|
Height = 161
|
||||||
Top = 8
|
Top = 8
|
||||||
Width = 320
|
Width = 320
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
@ -87,7 +87,7 @@ object DesktopForm: TDesktopForm
|
|||||||
Caption = 'Auto save active desktop'
|
Caption = 'Auto save active desktop'
|
||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
TabOrder = 1
|
TabOrder = 2
|
||||||
end
|
end
|
||||||
object ToolBar1: TToolBar
|
object ToolBar1: TToolBar
|
||||||
Left = 340
|
Left = 340
|
||||||
@ -98,7 +98,7 @@ object DesktopForm: TDesktopForm
|
|||||||
Anchors = [akTop, akRight, akBottom]
|
Anchors = [akTop, akRight, akBottom]
|
||||||
Caption = 'ToolBar1'
|
Caption = 'ToolBar1'
|
||||||
EdgeBorders = []
|
EdgeBorders = []
|
||||||
TabOrder = 2
|
TabOrder = 3
|
||||||
object SaveTB: TToolButton
|
object SaveTB: TToolButton
|
||||||
Left = 1
|
Left = 1
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -109,7 +109,6 @@ object DesktopForm: TDesktopForm
|
|||||||
end
|
end
|
||||||
object ToolButton1: TToolButton
|
object ToolButton1: TToolButton
|
||||||
Left = 1
|
Left = 1
|
||||||
Height = 5
|
|
||||||
Top = 22
|
Top = 22
|
||||||
Width = 23
|
Width = 23
|
||||||
Caption = 'ToolButton1'
|
Caption = 'ToolButton1'
|
||||||
@ -167,7 +166,6 @@ object DesktopForm: TDesktopForm
|
|||||||
end
|
end
|
||||||
object ToolButton2: TToolButton
|
object ToolButton2: TToolButton
|
||||||
Left = 1
|
Left = 1
|
||||||
Height = 5
|
|
||||||
Top = 120
|
Top = 120
|
||||||
Width = 23
|
Width = 23
|
||||||
Caption = 'ToolButton2'
|
Caption = 'ToolButton2'
|
||||||
@ -175,7 +173,6 @@ object DesktopForm: TDesktopForm
|
|||||||
end
|
end
|
||||||
object ToolButton3: TToolButton
|
object ToolButton3: TToolButton
|
||||||
Left = 1
|
Left = 1
|
||||||
Height = 5
|
|
||||||
Top = 49
|
Top = 49
|
||||||
Width = 23
|
Width = 23
|
||||||
Caption = 'ToolButton3'
|
Caption = 'ToolButton3'
|
||||||
@ -195,9 +192,39 @@ object DesktopForm: TDesktopForm
|
|||||||
ParentColor = False
|
ParentColor = False
|
||||||
WordWrap = True
|
WordWrap = True
|
||||||
end
|
end
|
||||||
|
object AssociatedDebugDesktopComboBox: TComboBox
|
||||||
|
AnchorSideLeft.Control = AssociatedDebugDesktopLabel
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = DesktopListBox
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
AnchorSideBottom.Control = AutoSaveActiveDesktopCheckBox
|
||||||
|
Left = 184
|
||||||
|
Height = 23
|
||||||
|
Top = 175
|
||||||
|
Width = 147
|
||||||
|
Anchors = [akLeft, akRight, akBottom]
|
||||||
|
BorderSpacing.Left = 10
|
||||||
|
ItemHeight = 15
|
||||||
|
OnChange = AssociatedDebugDesktopComboBoxChange
|
||||||
|
Style = csDropDownList
|
||||||
|
TabOrder = 1
|
||||||
|
end
|
||||||
|
object AssociatedDebugDesktopLabel: TLabel
|
||||||
|
AnchorSideLeft.Control = AutoSaveActiveDesktopCheckBox
|
||||||
|
AnchorSideTop.Control = AssociatedDebugDesktopComboBox
|
||||||
|
AnchorSideTop.Side = asrCenter
|
||||||
|
Left = 11
|
||||||
|
Height = 15
|
||||||
|
Top = 179
|
||||||
|
Width = 163
|
||||||
|
Caption = 'AssociatedDebugDesktopLabel'
|
||||||
|
ParentColor = False
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
|
end
|
||||||
object ExportMenu: TPopupMenu
|
object ExportMenu: TPopupMenu
|
||||||
left = 48
|
Left = 48
|
||||||
top = 24
|
Top = 24
|
||||||
object ExportItem: TMenuItem
|
object ExportItem: TMenuItem
|
||||||
Action = ExportAction
|
Action = ExportAction
|
||||||
OnClick = ExportActionClick
|
OnClick = ExportActionClick
|
||||||
@ -208,8 +235,8 @@ object DesktopForm: TDesktopForm
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ActionList1: TActionList
|
object ActionList1: TActionList
|
||||||
left = 128
|
Left = 128
|
||||||
top = 32
|
Top = 32
|
||||||
object SaveAction: TAction
|
object SaveAction: TAction
|
||||||
Caption = 'SaveAction'
|
Caption = 'SaveAction'
|
||||||
OnExecute = SaveActionClick
|
OnExecute = SaveActionClick
|
||||||
|
@ -20,11 +20,13 @@ type
|
|||||||
{ TDesktopForm }
|
{ TDesktopForm }
|
||||||
|
|
||||||
TDesktopForm = class(TForm)
|
TDesktopForm = class(TForm)
|
||||||
|
AssociatedDebugDesktopComboBox: TComboBox;
|
||||||
ExportBitBtn: TBitBtn;
|
ExportBitBtn: TBitBtn;
|
||||||
ImportBitBtn: TBitBtn;
|
ImportBitBtn: TBitBtn;
|
||||||
ImportAction: TAction;
|
ImportAction: TAction;
|
||||||
ExportAction: TAction;
|
ExportAction: TAction;
|
||||||
ExportAllAction: TAction;
|
ExportAllAction: TAction;
|
||||||
|
AssociatedDebugDesktopLabel: TLabel;
|
||||||
MoveUpAction: TAction;
|
MoveUpAction: TAction;
|
||||||
MoveDownAction: TAction;
|
MoveDownAction: TAction;
|
||||||
DeleteAction: TAction;
|
DeleteAction: TAction;
|
||||||
@ -51,6 +53,7 @@ type
|
|||||||
MoveDownTB: TToolButton;
|
MoveDownTB: TToolButton;
|
||||||
ToolButton2: TToolButton;
|
ToolButton2: TToolButton;
|
||||||
ToolButton3: TToolButton;
|
ToolButton3: TToolButton;
|
||||||
|
procedure AssociatedDebugDesktopComboBoxChange(Sender: TObject);
|
||||||
procedure DeleteActionClick(Sender: TObject);
|
procedure DeleteActionClick(Sender: TObject);
|
||||||
procedure DesktopListBoxDrawItem(Control: TWinControl; Index: Integer;
|
procedure DesktopListBoxDrawItem(Control: TWinControl; Index: Integer;
|
||||||
ARect: TRect; {%H-}State: TOwnerDrawState);
|
ARect: TRect; {%H-}State: TOwnerDrawState);
|
||||||
@ -344,6 +347,8 @@ begin
|
|||||||
AutoSaveActiveDesktopCheckBox.Caption := dlgAutoSaveActiveDesktop;
|
AutoSaveActiveDesktopCheckBox.Caption := dlgAutoSaveActiveDesktop;
|
||||||
AutoSaveActiveDesktopCheckBox.Hint := dlgAutoSaveActiveDesktopHint;
|
AutoSaveActiveDesktopCheckBox.Hint := dlgAutoSaveActiveDesktopHint;
|
||||||
LblGrayedInfo.Caption := dlgGrayedDesktopsUndocked;
|
LblGrayedInfo.Caption := dlgGrayedDesktopsUndocked;
|
||||||
|
AssociatedDebugDesktopLabel.Caption := dlgAssociatedDebugDesktop;
|
||||||
|
AssociatedDebugDesktopLabel.Hint := dlgAssociatedDebugDesktopHint;
|
||||||
LblGrayedInfo.Font.Color := clGrayText;
|
LblGrayedInfo.Font.Color := clGrayText;
|
||||||
|
|
||||||
ExportAction.Hint := lisExport;
|
ExportAction.Hint := lisExport;
|
||||||
@ -387,11 +392,14 @@ begin
|
|||||||
|
|
||||||
HasNonCompatible := False;
|
HasNonCompatible := False;
|
||||||
DesktopListBox.Clear;
|
DesktopListBox.Clear;
|
||||||
|
AssociatedDebugDesktopComboBox.Clear;
|
||||||
|
AssociatedDebugDesktopComboBox.Items.AddObject(dlgPOIconDescNone, nil);
|
||||||
// Saved desktops
|
// Saved desktops
|
||||||
for i:=0 to EnvironmentOptions.Desktops.Count-1 do
|
for i:=0 to EnvironmentOptions.Desktops.Count-1 do
|
||||||
begin
|
begin
|
||||||
DskTop := EnvironmentOptions.Desktops[i];
|
DskTop := EnvironmentOptions.Desktops[i];
|
||||||
DesktopListBox.Items.Add(DskTop.Name);
|
DesktopListBox.Items.AddObject(DskTop.Name, DskTop);
|
||||||
|
AssociatedDebugDesktopComboBox.Items.AddObject(DskTop.Name, DskTop);
|
||||||
if not DskTop.Compatible then
|
if not DskTop.Compatible then
|
||||||
HasNonCompatible := True;
|
HasNonCompatible := True;
|
||||||
end;
|
end;
|
||||||
@ -446,6 +454,19 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TDesktopForm.AssociatedDebugDesktopComboBoxChange(Sender: TObject);
|
||||||
|
var
|
||||||
|
SelDesktop: TDesktopOpt;
|
||||||
|
begin
|
||||||
|
if DesktopListBox.ItemIndex = -1 then
|
||||||
|
Exit;
|
||||||
|
|
||||||
|
SelDesktop := DesktopListBox.Items.Objects[DesktopListBox.ItemIndex] as TDesktopOpt;
|
||||||
|
SelDesktop.AssociatedDebugDesktopName := AssociatedDebugDesktopComboBox.Text;
|
||||||
|
if SelDesktop.Name = EnvironmentOptions.ActiveDesktopName then
|
||||||
|
EnvironmentOptions.Desktop.AssociatedDebugDesktopName := SelDesktop.AssociatedDebugDesktopName;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TDesktopForm.DeleteActionClick(Sender: TObject);
|
procedure TDesktopForm.DeleteActionClick(Sender: TObject);
|
||||||
var
|
var
|
||||||
dskName: String;
|
dskName: String;
|
||||||
@ -758,10 +779,20 @@ procedure TDesktopForm.DesktopListBoxSelectionChange(Sender: TObject; User: bool
|
|||||||
var
|
var
|
||||||
HasSel, IsActive, IsDebug: Boolean;
|
HasSel, IsActive, IsDebug: Boolean;
|
||||||
CurName: String;
|
CurName: String;
|
||||||
|
SelDesktop: TDesktopOpt;
|
||||||
begin
|
begin
|
||||||
HasSel := DesktopListBox.ItemIndex>=0;
|
HasSel := DesktopListBox.ItemIndex>=0;
|
||||||
if HasSel then
|
if HasSel then
|
||||||
begin
|
begin
|
||||||
|
SelDesktop := DesktopListBox.Items.Objects[DesktopListBox.ItemIndex] as TDesktopOpt;
|
||||||
|
if (SelDesktop.AssociatedDebugDesktopName<>'') then
|
||||||
|
begin
|
||||||
|
AssociatedDebugDesktopComboBox.ItemIndex :=
|
||||||
|
AssociatedDebugDesktopComboBox.Items.IndexOfObject(EnvironmentOptions.Desktops.Find(SelDesktop.AssociatedDebugDesktopName));
|
||||||
|
if AssociatedDebugDesktopComboBox.ItemIndex<0 then
|
||||||
|
AssociatedDebugDesktopComboBox.ItemIndex := 0;
|
||||||
|
end else
|
||||||
|
AssociatedDebugDesktopComboBox.ItemIndex := 0;
|
||||||
CurName := DesktopListBox.Items[DesktopListBox.ItemIndex];
|
CurName := DesktopListBox.Items[DesktopListBox.ItemIndex];
|
||||||
IsActive := CurName = EnvironmentOptions.ActiveDesktopName;
|
IsActive := CurName = EnvironmentOptions.ActiveDesktopName;
|
||||||
IsDebug := CurName = EnvironmentOptions.DebugDesktopName;
|
IsDebug := CurName = EnvironmentOptions.DebugDesktopName;
|
||||||
|
@ -298,6 +298,7 @@ type
|
|||||||
TDesktopOpt = class
|
TDesktopOpt = class
|
||||||
private
|
private
|
||||||
FName: String;
|
FName: String;
|
||||||
|
FAssociatedDebugDesktopName: String;
|
||||||
FIsDocked: Boolean;
|
FIsDocked: Boolean;
|
||||||
FXMLCfg: TRttiXMLConfig;
|
FXMLCfg: TRttiXMLConfig;
|
||||||
FConfigStore: TXMLOptionsStorage;
|
FConfigStore: TXMLOptionsStorage;
|
||||||
@ -344,6 +345,7 @@ type
|
|||||||
procedure RestoreDesktop;
|
procedure RestoreDesktop;
|
||||||
|
|
||||||
property Name: String read FName write FName;
|
property Name: String read FName write FName;
|
||||||
|
property AssociatedDebugDesktopName: String read FAssociatedDebugDesktopName write FAssociatedDebugDesktopName;
|
||||||
property IDEWindowCreatorsLayoutList: TSimpleWindowLayoutList read FIDEWindowCreatorsLayoutList write FIDEWindowCreatorsLayoutList;
|
property IDEWindowCreatorsLayoutList: TSimpleWindowLayoutList read FIDEWindowCreatorsLayoutList write FIDEWindowCreatorsLayoutList;
|
||||||
property IDEDialogLayoutList: TIDEDialogLayoutList read FIDEDialogLayoutList;
|
property IDEDialogLayoutList: TIDEDialogLayoutList read FIDEDialogLayoutList;
|
||||||
property SingleTaskBarButton: boolean read FSingleTaskBarButton write FSingleTaskBarButton;
|
property SingleTaskBarButton: boolean read FSingleTaskBarButton write FSingleTaskBarButton;
|
||||||
@ -1168,6 +1170,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
FIDEWindowCreatorsLayoutList.CopyItemsFrom(Source.FIDEWindowCreatorsLayoutList);
|
FIDEWindowCreatorsLayoutList.CopyItemsFrom(Source.FIDEWindowCreatorsLayoutList);
|
||||||
FIDEDialogLayoutList.Assign(Source.FIDEDialogLayoutList);
|
FIDEDialogLayoutList.Assign(Source.FIDEDialogLayoutList);
|
||||||
|
FAssociatedDebugDesktopName := Source.FAssociatedDebugDesktopName;
|
||||||
end;
|
end;
|
||||||
FSingleTaskBarButton := Source.FSingleTaskBarButton;
|
FSingleTaskBarButton := Source.FSingleTaskBarButton;
|
||||||
FHideIDEOnRun := Source.FHideIDEOnRun;
|
FHideIDEOnRun := Source.FHideIDEOnRun;
|
||||||
@ -1199,6 +1202,7 @@ begin
|
|||||||
FIDEWindowCreatorsLayoutList.LoadFromConfig(FConfigStore, Path);
|
FIDEWindowCreatorsLayoutList.LoadFromConfig(FConfigStore, Path);
|
||||||
FIDEDialogLayoutList.LoadFromConfig(FConfigStore, Path+'Dialogs/');
|
FIDEDialogLayoutList.LoadFromConfig(FConfigStore, Path+'Dialogs/');
|
||||||
|
|
||||||
|
FAssociatedDebugDesktopName:=FXMLCfg.GetValue(Path+'AssociatedDebugDesktopName/Value', '');
|
||||||
FSingleTaskBarButton:=FXMLCfg.GetValue(Path+'SingleTaskBarButton/Value', False);
|
FSingleTaskBarButton:=FXMLCfg.GetValue(Path+'SingleTaskBarButton/Value', False);
|
||||||
FHideIDEOnRun:=FXMLCfg.GetValue(Path+'HideIDEOnRun/Value',false);
|
FHideIDEOnRun:=FXMLCfg.GetValue(Path+'HideIDEOnRun/Value',false);
|
||||||
FAutoAdjustIDEHeight:=FXMLCfg.GetValue(Path+'AutoAdjustIDEHeight/Value',true);
|
FAutoAdjustIDEHeight:=FXMLCfg.GetValue(Path+'AutoAdjustIDEHeight/Value',true);
|
||||||
@ -1255,6 +1259,7 @@ begin
|
|||||||
FIDEWindowCreatorsLayoutList.SaveToConfig(FConfigStore, Path);
|
FIDEWindowCreatorsLayoutList.SaveToConfig(FConfigStore, Path);
|
||||||
FIDEDialogLayoutList.SaveToConfig(FConfigStore,Path+'Dialogs/');
|
FIDEDialogLayoutList.SaveToConfig(FConfigStore,Path+'Dialogs/');
|
||||||
|
|
||||||
|
FXMLCfg.SetDeleteValue(Path+'AssociatedDebugDesktopName/Value', FAssociatedDebugDesktopName, '');
|
||||||
FXMLCfg.SetDeleteValue(Path+'SingleTaskBarButton/Value',FSingleTaskBarButton, False);
|
FXMLCfg.SetDeleteValue(Path+'SingleTaskBarButton/Value',FSingleTaskBarButton, False);
|
||||||
FXMLCfg.SetDeleteValue(Path+'HideIDEOnRun/Value',FHideIDEOnRun,false);
|
FXMLCfg.SetDeleteValue(Path+'HideIDEOnRun/Value',FHideIDEOnRun,false);
|
||||||
FXMLCfg.SetDeleteValue(Path+'AutoAdjustIDEHeight/Value',FAutoAdjustIDEHeight,true);
|
FXMLCfg.SetDeleteValue(Path+'AutoAdjustIDEHeight/Value',FAutoAdjustIDEHeight,true);
|
||||||
@ -2683,7 +2688,8 @@ function TEnvironmentOptions.GetActiveDesktop: TDesktopOpt;
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
DefaultDesktop: TDesktopOpt;
|
OldActiveDesktop: TDesktopOpt;
|
||||||
|
OldActiveDesktopName: string;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
if FActiveDesktopName <> '' then
|
if FActiveDesktopName <> '' then
|
||||||
@ -2695,6 +2701,7 @@ begin
|
|||||||
|
|
||||||
//the selected desktop is unsupported (docked/undocked)
|
//the selected desktop is unsupported (docked/undocked)
|
||||||
// -> use default
|
// -> use default
|
||||||
|
OldActiveDesktopName := FActiveDesktopName;
|
||||||
ChooseDefault;
|
ChooseDefault;
|
||||||
Result := FDesktops.Find(FActiveDesktopName);
|
Result := FDesktops.Find(FActiveDesktopName);
|
||||||
if Assigned(Result) and Result.Compatible then
|
if Assigned(Result) and Result.Compatible then
|
||||||
@ -2703,15 +2710,17 @@ begin
|
|||||||
//recreate desktop with ActiveDesktopName
|
//recreate desktop with ActiveDesktopName
|
||||||
if Assigned(Result) then
|
if Assigned(Result) then
|
||||||
FDesktops.Remove(Result);
|
FDesktops.Remove(Result);
|
||||||
DefaultDesktop := FDesktops.Find('default');
|
|
||||||
|
|
||||||
Result := TDesktopOpt.Create(FActiveDesktopName);
|
Result := TDesktopOpt.Create(FActiveDesktopName);
|
||||||
FDesktops.Add(Result);
|
FDesktops.Add(Result);
|
||||||
Result.Assign(Desktop);
|
Result.Assign(Desktop);
|
||||||
if Assigned(IDEDockMaster) then
|
if Assigned(IDEDockMaster) then
|
||||||
Result.FDockedOpt.LoadDefaults;
|
Result.FDockedOpt.LoadDefaults;
|
||||||
if Assigned(DefaultDesktop) then
|
OldActiveDesktop := FDesktops.Find(OldActiveDesktopName);
|
||||||
Result.Assign(DefaultDesktop, False, False);
|
if not Assigned(OldActiveDesktop) then
|
||||||
|
OldActiveDesktop := FDesktops.Find('default');
|
||||||
|
if Assigned(OldActiveDesktop) then
|
||||||
|
Result.Assign(OldActiveDesktop, False, False);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TEnvironmentOptions.SetTestBuildDirectory(const AValue: string);
|
procedure TEnvironmentOptions.SetTestBuildDirectory(const AValue: string);
|
||||||
@ -2746,6 +2755,8 @@ begin
|
|||||||
DoBeforeWrite(False); //this is needed to get the EditorToolBar refreshed!!! - needed only here in UseDesktop()
|
DoBeforeWrite(False); //this is needed to get the EditorToolBar refreshed!!! - needed only here in UseDesktop()
|
||||||
Desktop.Assign(ADesktop);
|
Desktop.Assign(ADesktop);
|
||||||
ActiveDesktopName := ADesktop.Name;
|
ActiveDesktopName := ADesktop.Name;
|
||||||
|
if ADesktop.AssociatedDebugDesktopName<>'' then
|
||||||
|
DebugDesktopName := ADesktop.AssociatedDebugDesktopName;
|
||||||
DoAfterWrite(False); //this is needed to get the EditorToolBar refreshed!!! - needed only here in UseDesktop()
|
DoAfterWrite(False); //this is needed to get the EditorToolBar refreshed!!! - needed only here in UseDesktop()
|
||||||
Desktop.ExportSettingsToIDE;
|
Desktop.ExportSettingsToIDE;
|
||||||
Desktop.RestoreDesktop;
|
Desktop.RestoreDesktop;
|
||||||
|
@ -1355,6 +1355,8 @@ resourcestring
|
|||||||
dlgGrayedDesktopsUndocked = 'Grayed desktops are for undocked environment.';
|
dlgGrayedDesktopsUndocked = 'Grayed desktops are for undocked environment.';
|
||||||
dlgAutoSaveActiveDesktop = 'Auto save active desktop';
|
dlgAutoSaveActiveDesktop = 'Auto save active desktop';
|
||||||
dlgAutoSaveActiveDesktopHint = 'Save active desktop on IDE close'+sLineBreak+'Save debug desktop on IDE close and debug end';
|
dlgAutoSaveActiveDesktopHint = 'Save active desktop on IDE close'+sLineBreak+'Save debug desktop on IDE close and debug end';
|
||||||
|
dlgAssociatedDebugDesktop = 'Associated debug desktop';
|
||||||
|
dlgAssociatedDebugDesktopHint = 'If you select the desktop, the associated debug desktop will be selected as well.';
|
||||||
|
|
||||||
// Window options
|
// Window options
|
||||||
dlgShowingWindows = 'Showing Windows';
|
dlgShowingWindows = 'Showing Windows';
|
||||||
|
Loading…
Reference in New Issue
Block a user