Fixes in Git plugin staging.

Added a value viewer window in debugger.
This commit is contained in:
Martín Lucas Golini
2025-01-25 12:56:41 -03:00
parent 4bbcfdd78b
commit c3399143df
8 changed files with 120 additions and 85 deletions

View File

@@ -1294,6 +1294,11 @@ void DebuggerPlugin::onRegisterDocument( TextDocument* doc ) {
if ( getStatusDebuggerController() )
getStatusDebuggerController()->toggle();
} );
doc->setCommand( "show-debugger-tab", [this]() {
if ( mTab )
mTab->setTabSelected();
} );
}
void DebuggerPlugin::onRegisterEditor( UICodeEditor* editor ) {
@@ -2136,8 +2141,7 @@ void DebuggerPlugin::displayTooltip( UICodeEditor* editor, const std::string& ex
mHoverTooltip->showWhenReady();
}
bool DebuggerPlugin::onMouseMove( UICodeEditor* editor, const Vector2i& position,
const Uint32& flags ) {
bool DebuggerPlugin::onMouseMove( UICodeEditor* editor, const Vector2i& position, const Uint32& ) {
if ( !mDebugger || !mListener || !mDebugger->isServerConnected() ||
mDebuggingState != StatusDebuggerController::State::Paused ) {