Added String::stripAnsiCodes. Now used in build and run settings, this can be configured for the build and the run options.

Minor fixes in C and C++ grammars.
Debugger: Expressions are now evaluated as soon as they are added if debugger is running but paused.
Fix a newly introduced bug that incorrectly calculated string widths when string contained new lines.
This commit is contained in:
Martín Lucas Golini
2026-01-06 00:46:31 -03:00
parent dbcb93a438
commit 70f7a1cc61
15 changed files with 358 additions and 60 deletions

View File

@@ -923,6 +923,10 @@ void DebuggerPlugin::openExpressionMenu( ModelIndex idx ) {
mExpressionsHolder->addChild(
std::make_shared<ModelVariableNode>( expression, 0 ) );
msgBox->closeWindow();
if ( mDebuggingState == StatusDebuggerController::State::Paused && mListener ) {
mListener->evaluateExpression( expression );
}
}
} );
}