TextEditor: Hide LineNumberFilter implementation

One of the two non-standard items exposed in the TextEditorPlugin class
interface.

Change-Id: I89755c6a2b168f31b69d3904d6d043273b462ea6
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2023-09-28 13:22:14 +02:00
parent d278923dd4
commit 8af6d16b6c
5 changed files with 63 additions and 70 deletions

View File

@@ -7,7 +7,6 @@
#include "displaysettings.h"
#include "fontsettings.h"
#include "linenumberfilter.h"
#include "texteditorplugin.h"
#include "texteditortr.h"
#include "texteditorsettings.h"
@@ -180,7 +179,7 @@ void TextEditorActionHandlerPrivate::createActions()
registerAction(SELECTALL,
[] (TextEditorWidget *w) { w->selectAll(); }, true);
registerAction(GOTO, [] (TextEditorWidget *) {
Core::LocatorManager::showFilter(TextEditorPlugin::lineNumberFilter());
Core::LocatorManager::showFilter(lineNumberFilter());
});
m_modifyingActions << registerAction(PRINT,
[] (TextEditorWidget *widget) { widget->print(Core::ICore::printer()); });