More improvements to debugger.

This commit is contained in:
Martín Lucas Golini
2025-01-08 01:51:38 -03:00
parent 1f496978a1
commit 403005301d
21 changed files with 446 additions and 143 deletions

View File

@@ -132,7 +132,8 @@ UniversalLocator::UniversalLocator( UICodeEditorSplitter* editorSplitter, UIScen
mApp->runCommand( cmd );
if ( mSplitter->getCurWidget()->isType( UI_TYPE_CODEEDITOR ) &&
mSplitter->curEditorIsNotNull() &&
mSplitter->getCurEditor()->getDocument().hasCommand( cmd ) )
mSplitter->getCurEditor()->getDocument().hasCommand( cmd ) &&
!mUISceneNode->getRoot()->getLastChild()->isType( UI_TYPE_WINDOW ) )
mSplitter->getCurEditor()->setFocus();
if ( cmd != "open-locatebar" && cmd != "open-workspace-symbol-search" &&
cmd != "open-document-symbol-search" && cmd != "go-to-line" &&
@@ -761,7 +762,6 @@ std::shared_ptr<FileListModel> UniversalLocator::openDocumentsModel( const std::
return std::make_shared<FileListModel>( std::move( ffiles ), std::move( fnames ) );
}
void UniversalLocator::updateOpenDocumentsTable() {
mLocateTable->setModel(
openDocumentsModel( mLocateInput->getText().substr( 2 ).trim().toUtf8() ) );