mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-03 03:56:30 +03:00
Still more WIP
This commit is contained in:
@@ -635,16 +635,6 @@ void GitPlugin::onRegisterListeners( UICodeEditor* editor, std::vector<Uint32>&
|
||||
} ) );
|
||||
}
|
||||
|
||||
void GitPlugin::onBeforeUnregister( UICodeEditor* editor ) {
|
||||
for ( auto& kb : mKeyBindings )
|
||||
editor->getKeyBindings().removeCommandKeybind( kb.first );
|
||||
}
|
||||
|
||||
void GitPlugin::onUnregisterDocument( TextDocument* doc ) {
|
||||
for ( auto& kb : mKeyBindings )
|
||||
doc->removeCommand( kb.first );
|
||||
}
|
||||
|
||||
Color GitPlugin::getVarColor( const std::string& var ) {
|
||||
return Color::fromString(
|
||||
getUISceneNode()->getRoot()->getUIStyle()->getVariable( var ).getValue() );
|
||||
|
||||
@@ -147,10 +147,6 @@ class GitPlugin : public PluginBase {
|
||||
|
||||
void onRegisterListeners( UICodeEditor*, std::vector<Uint32>& listeners ) override;
|
||||
|
||||
void onBeforeUnregister( UICodeEditor* ) override;
|
||||
|
||||
void onUnregisterDocument( TextDocument* ) override;
|
||||
|
||||
Color getVarColor( const std::string& var );
|
||||
|
||||
void blame( UICodeEditor* editor );
|
||||
|
||||
Reference in New Issue
Block a user