mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-05 06:19:28 +03:00
eepp: Added ScopedOp and BoolScopedOp. General optimization of lambda captures. Added support in UICodeEditorSplitter for navigation history.
ecode: Implemented navigation history over the editor, with Alt + Left | Right you can navigate over the relevant code navigation history.
This commit is contained in:
@@ -96,7 +96,7 @@ UITerminal* StatusTerminalController::createTerminal( const std::string& working
|
||||
? terminalColorSchemes.at( currentTerminalColorScheme )
|
||||
: TerminalColorScheme::getDefault() );
|
||||
mApp->getTerminalManager()->setKeybindings( term );
|
||||
term->setCommand( "switch-to-previous-colorscheme", [&] {
|
||||
term->setCommand( "switch-to-previous-colorscheme", [this] {
|
||||
auto it = mApp->getTerminalManager()->getTerminalColorSchemes().find(
|
||||
mApp->getTerminalManager()->getTerminalCurrentColorScheme() );
|
||||
auto prev = std::prev( it, 1 );
|
||||
@@ -107,7 +107,7 @@ UITerminal* StatusTerminalController::createTerminal( const std::string& working
|
||||
mApp->getTerminalManager()->getTerminalColorSchemes().rbegin()->first );
|
||||
}
|
||||
} );
|
||||
term->setCommand( "switch-to-next-colorscheme", [&] {
|
||||
term->setCommand( "switch-to-next-colorscheme", [this] {
|
||||
auto it = mApp->getTerminalManager()->getTerminalColorSchemes().find(
|
||||
mApp->getTerminalManager()->getTerminalCurrentColorScheme() );
|
||||
mApp->getTerminalManager()->setTerminalColorScheme(
|
||||
|
||||
Reference in New Issue
Block a user