diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-01-12 03:54:39 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-01-12 03:54:39 +0100 |
| commit | 51a35395e90543c64125aee016681a8db3c3b407 (patch) | |
| tree | 9c97dc41589ff5e316bf6e3775e824666751a025 /CrowIDE/src/CrowIDE.cs | |
| parent | 0cc6450b9bb90609867ce9cc56084f86857fc3ef (diff) | |
wip 0.8.7v0.8.7
Diffstat (limited to 'CrowIDE/src/CrowIDE.cs')
| -rw-r--r-- | CrowIDE/src/CrowIDE.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CrowIDE/src/CrowIDE.cs b/CrowIDE/src/CrowIDE.cs index 0aa743b2..07827391 100644 --- a/CrowIDE/src/CrowIDE.cs +++ b/CrowIDE/src/CrowIDE.cs @@ -46,7 +46,7 @@ namespace Crow.Coding CMDCopy = new Command(new Action(() => copy())) { Caption = "Copy", Icon = new SvgPicture("#CrowIDE.icons.copy-file.svg"), CanExecute = false}; CMDPaste = new Command(new Action(() => paste())) { Caption = "Paste", Icon = new SvgPicture("#CrowIDE.icons.paste-on-document.svg"), CanExecute = false}; CMDHelp = new Command(new Action(() => System.Diagnostics.Debug.WriteLine("help"))) { Caption = "Help", Icon = new SvgPicture("#CrowIDE.icons.question.svg") }; - CMDOptions = new Command(new Action(() => loadWindow("#CrowIDE.ui.Options.crow"))) { Caption = "Editor Options", Icon = new SvgPicture("#CrowIDE.icons.tools.svg") }; + CMDOptions = new Command(new Action(() => loadWindow("#CrowIDE.ui.Options.crow", this))) { Caption = "Editor Options", Icon = new SvgPicture("#CrowIDE.icons.tools.svg") }; cmdCloseSolution = new Command(new Action(() => closeSolution())) { Caption = "Close Solution", Icon = new SvgPicture("#CrowIDE.icons.paste-on-document.svg"), CanExecute = false}; @@ -71,7 +71,7 @@ namespace Crow.Coding CMDViewGTExp = new Command(new Action(() => loadWindow ("#CrowIDE.ui.DockWindows.winGTExplorer.crow",this))) { Caption = "Graphic Tree Explorer", CanExecute = true}; CMDCompile = new Command(new Action(() => compileSolution())) - { Caption = "Compile", CanExecute = false}; + { Caption = "Compile Solution", CanExecute = false}; CMDViewProjProps = new Command(new Action(loadProjProps)) { Caption = "Project Properties", CanExecute = false}; } @@ -81,7 +81,7 @@ namespace Crow.Coding } void openOptionsDialog(){} void newFile() { - currentSolution.OpenedItems.AddElement(new ProjectFile()); + currentSolution.OpenedItems.Add(new ProjectFile()); } void saveFileDialog() {} void undo() {} @@ -138,7 +138,7 @@ namespace Crow.Coding public CrowIDE () : base(1024, 800) - { + { } Instantiator instFileDlg; @@ -160,8 +160,8 @@ namespace Crow.Coding if (ReopenLastSolution && !string.IsNullOrEmpty (LastOpenSolution)) { CurrentSolution = new Workspace (LastOpenSolution); - //lock(MainIFace.UpdateMutex) - // CurrentSolution.ReopenItemsSavedInUserConfig (); + lock(MainIFace.UpdateMutex) + CurrentSolution.ReopenItemsSavedInUserConfig (); } instFileDlg = Instantiator.CreateFromImlFragment |