mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Added support for maximizing the current tab widget (commands: maximize-tab-widget and restore-maximized-tab-widget), it can also be triggered right clicking a tab -> Maximize Tab Widget (SpartanJ/ecode#651).
Added UINodeLink, this is a very simple node that lets you set a link to another node. Improved focus control in the status bar panels and windows. It's possible now in UICodeEditorSplitter to cancel a split request with a custom function checker. When downloading a file that it's not a supported format, it will try to open with the default external program set in the host OS.
This commit is contained in:
@@ -279,6 +279,14 @@ void StatusDebuggerController::createContainer() {
|
||||
} );
|
||||
}
|
||||
|
||||
mContainer->on( Event::KeyDown, [this]( const Event* event ) {
|
||||
auto ke = event->asKeyEvent();
|
||||
if ( ke->getSanitizedMod() == 0 && ke->getKeyCode() == EE::Window::KEY_ESCAPE &&
|
||||
mSplitter->getCurEditor() ) {
|
||||
mSplitter->getCurEditor()->setFocus();
|
||||
}
|
||||
} );
|
||||
|
||||
mContainer->getKeyBindings().addKeybinds( getLocalDefaultKeybindings() );
|
||||
|
||||
setDebuggingState( State::NotStarted );
|
||||
|
||||
Reference in New Issue
Block a user