[rkward] rkward/windows: This no longer needed with 'manual' completion invocatin

Thomas Friedrichsmeier null at kde.org
Sun Feb 3 08:16:42 GMT 2019


Git commit f7548b77c3ca3656e82155f52972789e9d560232 by Thomas Friedrichsmeier.
Committed on 03/02/2019 at 08:03.
Pushed by tfry into branch 'master'.

This no longer needed with 'manual' completion invocatin

M  +0    -5    rkward/windows/rkcommandeditorwindow.cpp
M  +0    -1    rkward/windows/rkcommandeditorwindow.h

https://commits.kde.org/rkward/f7548b77c3ca3656e82155f52972789e9d560232

diff --git a/rkward/windows/rkcommandeditorwindow.cpp b/rkward/windows/rkcommandeditorwindow.cpp
index 34e0deca..97f64d43 100644
--- a/rkward/windows/rkcommandeditorwindow.cpp
+++ b/rkward/windows/rkcommandeditorwindow.cpp
@@ -773,11 +773,6 @@ KTextEditor::Range RKCodeCompletionModel::completionRange (KTextEditor::View *vi
 	return KTextEditor::Range (position.line (), start, position.line (), end);
 }
 
-KTextEditor::Range RKCodeCompletionModel::updateCompletionRange(KTextEditor::View *view, const KTextEditor::Range &range) {
-	updateCompletionList (view->document ()->text (range));
-	return range;
-}
-
 void RKCommandEditorWindow::tryCompletion () {
 	// TODO: merge this with RKConsole::doTabCompletion () somehow
 	RK_TRACE (COMMANDEDITOR);
diff --git a/rkward/windows/rkcommandeditorwindow.h b/rkward/windows/rkcommandeditorwindow.h
index 1520062a..e83ed654 100644
--- a/rkward/windows/rkcommandeditorwindow.h
+++ b/rkward/windows/rkcommandeditorwindow.h
@@ -115,7 +115,6 @@ public:
 	QString filterString (KTextEditor::View *, const KTextEditor::Range &, const KTextEditor::Cursor &) override { return QString (); };
 	bool shouldAbortCompletion (KTextEditor::View *, const KTextEditor::Range &, const QString &) override { return false; }
 	KTextEditor::CodeCompletionModelControllerInterface::MatchReaction matchingItem (const QModelIndex &) override { return KTextEditor::CodeCompletionModelControllerInterface::None; };
-	KTextEditor::Range updateCompletionRange (KTextEditor::View *view, const KTextEditor::Range &range) override;
 
 	void updateCompletionList (const QString& symbol);
 	void completionInvoked (KTextEditor::View *, const KTextEditor::Range &, InvocationType) override;



More information about the rkward-tracker mailing list