mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Initial support of drag and drop to move files and folders around from the file tree view (SpartanJ/ecode#71).
This commit is contained in:
@@ -340,7 +340,7 @@ void GitPlugin::updateStatusBarSync() {
|
||||
mStatusButton->setClass( "status_but" );
|
||||
mStatusButton->setIcon( iconDrawable( "source-control", 10 ) );
|
||||
mStatusButton->reloadStyle( true, true );
|
||||
mStatusButton->getTextBox()->setUsingCustomStyling( true );
|
||||
mStatusButton->getTextView()->setUsingCustomStyling( true );
|
||||
|
||||
mStatusButton->on( Event::MouseClick, [this]( const Event* event ) {
|
||||
if ( nullptr == mTab )
|
||||
@@ -397,7 +397,7 @@ void GitPlugin::updateStatusBarSync() {
|
||||
}
|
||||
|
||||
SyntaxTokenizer::tokenizeText( mStatusCustomTokenizer->def, mStatusCustomTokenizer->scheme,
|
||||
mStatusButton->getTextBox()->getTextCache() );
|
||||
mStatusButton->getTextView()->getTextCache() );
|
||||
|
||||
mStatusButton->invalidateDraw();
|
||||
}
|
||||
@@ -871,8 +871,7 @@ void GitPlugin::commit( const std::string& repoPath ) {
|
||||
|
||||
txtEdit->getDocument().setCommand(
|
||||
"commit-amend", [chkAmend] { chkAmend->setChecked( !chkAmend->isChecked() ); } );
|
||||
txtEdit->getKeyBindings().addKeybind( { KEY_L, KeyMod::getDefaultModifier() },
|
||||
"commit-amend" );
|
||||
txtEdit->getKeyBindings().addKeybind( { KEY_L, KeyMod::getDefaultModifier() }, "commit-amend" );
|
||||
|
||||
txtEdit->getDocument().setCommand(
|
||||
"commit-push", [chkPush] { chkPush->setChecked( !chkPush->isChecked() ); } );
|
||||
|
||||
Reference in New Issue
Block a user