ecode: Added font and font size terminal config. Added many i18n translate calls. Improved keybindings and commands when using terminal. Some minor bug fixing. Added terminal splitting keybindings.

This commit is contained in:
Martín Lucas Golini
2022-07-09 21:11:00 -03:00
parent 257fe7e11b
commit fc6fdffa48
12 changed files with 848 additions and 523 deletions

View File

@@ -59,6 +59,10 @@ class EE_API KeyBindings {
bool existsKeybind( const Shortcut& keys );
void removeCommandKeybind( const std::string& command );
void removeCommandsKeybind( const std::vector<std::string>& command );
std::string getCommandFromKeyBind( const Shortcut& keys );
std::string getCommandKeybindString( const std::string& command ) const;

View File

@@ -117,6 +117,8 @@ class EE_API UICodeEditorSplitter {
void forEachWidgetStoppable( std::function<bool( UIWidget* )> run ) const;
void forEachWidget( std::function<void( UIWidget* )> run ) const;
void forEachEditor( std::function<void( UICodeEditor* )> run ) const;
void forEachDoc( std::function<void( TextDocument& doc )> run ) const;
@@ -171,6 +173,8 @@ class EE_API UICodeEditorSplitter {
bool curWidgetExists() const;
UICodeEditor* getSomeEditor();
protected:
UISceneNode* mUISceneNode{ nullptr };
UICodeEditor* mCurEditor{ nullptr };