mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 11:06:30 +03:00
Improved key bindings support in the Code Editor, and some mino fixes.
Renamed LuaPatternMatcher to LuaPattern.
This commit is contained in:
@@ -99,6 +99,8 @@ class App : public UICodeEditorSplitter::Client {
|
||||
|
||||
void saveConfig();
|
||||
|
||||
std::string getKeybind( const std::string& command );
|
||||
|
||||
protected:
|
||||
EE::Window::Window* mWindow{nullptr};
|
||||
UISceneNode* mUISceneNode{nullptr};
|
||||
@@ -119,8 +121,10 @@ class App : public UICodeEditorSplitter::Client {
|
||||
UIPopUpMenu* mViewMenu{nullptr};
|
||||
UICodeEditorSplitter* mEditorSplitter{nullptr};
|
||||
std::string mInitColorScheme;
|
||||
std::map<std::string, std::string> mDefKeybindings;
|
||||
std::map<std::string, std::string> mKeybindings;
|
||||
std::map<std::string, std::string> mKeybindingsInvert;
|
||||
std::string mConfigPath;
|
||||
std::string mKeybindingsPath;
|
||||
SearchState mSearchState;
|
||||
|
||||
void onFileDropped( String file );
|
||||
@@ -165,6 +169,12 @@ class App : public UICodeEditorSplitter::Client {
|
||||
|
||||
void updateDocumentMenu();
|
||||
|
||||
void loadKeybindings();
|
||||
|
||||
std::map<KeyBindings::Shortcut, std::string> getDefaultKeybindings();
|
||||
|
||||
std::map<KeyBindings::Shortcut, std::string> getLocalKeybindings();
|
||||
|
||||
void onDocumentStateChanged( UICodeEditor*, TextDocument& );
|
||||
|
||||
void onDocumentModified( UICodeEditor* editor, TextDocument& );
|
||||
|
||||
Reference in New Issue
Block a user