ecode: Start the terminal in the current working directory (the current project folder or the current file folder if no project is open).

This commit is contained in:
Martín Lucas Golini
2022-12-06 01:30:21 -03:00
parent 2f977e3b93
commit 1a1e7f5b62
7 changed files with 34 additions and 16 deletions

View File

@@ -250,6 +250,8 @@ class EE_API UICodeEditorSplitter {
UISceneNode* getUISceneNode() const;
bool curEditorExists() const;
protected:
UISceneNode* mUISceneNode{ nullptr };
UICodeEditor* mCurEditor{ nullptr };
@@ -268,8 +270,6 @@ class EE_API UICodeEditorSplitter {
const std::vector<SyntaxColorScheme>& colorSchemes,
const std::string& initColorScheme );
bool curEditorExists() const;
bool checkEditorExists( UICodeEditor* ) const;
virtual void onTabClosed( const TabEvent* tabEvent );