Added SortingProxyModel to allow sorting tables by column.

Some minor improvements to ecode.
Added "delete-current-line" to text document.
This commit is contained in:
Martín Lucas Golini
2020-08-13 02:22:17 -03:00
parent 07358c225f
commit 8f430076ef
24 changed files with 485 additions and 19 deletions

View File

@@ -619,6 +619,11 @@ void App::showGlobalSearch() {
mGlobalSearchBarLayout->setVisible( true )->setEnabled( true );
mGlobalSearchInput->setFocus();
mGlobalSearchTree->setVisible( true );
if ( mEditorSplitter->getCurEditor() &&
mEditorSplitter->getCurEditor()->getDocument().hasSelection() ) {
mGlobalSearchInput->setText(
mEditorSplitter->getCurEditor()->getDocument().getSelectedText() );
}
mGlobalSearchInput->getDocument().selectAll();
updateGlobalSearchBar();
}