mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Auto-Save implementation for project files (issue SpartanJ/ecode#220). Still pending Auto-Save for non-open project environment.
This commit is contained in:
@@ -457,7 +457,7 @@ class App : public UICodeEditorSplitter::Client {
|
||||
|
||||
const std::string& getFileToOpen() const;
|
||||
|
||||
void saveProject();
|
||||
void saveProject( bool onlyIfNeeded = false, bool autoSaveEnabled = true );
|
||||
|
||||
std::pair<bool, std::string> generateConfigPath();
|
||||
|
||||
@@ -465,6 +465,8 @@ class App : public UICodeEditorSplitter::Client {
|
||||
|
||||
bool isAnyStatusBarSectionVisible() const;
|
||||
|
||||
void createDocDirtyAlert( UICodeEditor* editor, bool showEnableAutoReload = true );
|
||||
|
||||
protected:
|
||||
std::vector<std::string> mArgs;
|
||||
EE::Window::Window* mWindow{ nullptr };
|
||||
@@ -623,8 +625,6 @@ class App : public UICodeEditorSplitter::Client {
|
||||
|
||||
void removeFolderWatches();
|
||||
|
||||
void createDocDirtyAlert( UICodeEditor* editor );
|
||||
|
||||
void createDocManyLangsAlert( UICodeEditor* editor );
|
||||
|
||||
void syncProjectTreeWithEditor( UICodeEditor* editor );
|
||||
|
||||
Reference in New Issue
Block a user