Commit 43035981 authored by hjk's avatar hjk
Browse files

TextEditor: Add a helper function to set up code assistance

This is needed for further refactoring in the cpp and qmljs editors.

Change-Id: Ic25525e5f468e915226e9daa8d118ff76a749e9f
Reviewed-by: default avatarChristian Stenger <>
parent bdcf2734
......@@ -6561,6 +6561,11 @@ void BaseTextEditor::setEditorWidget(BaseTextEditorWidget *widget)
void BaseTextEditor::configureCodeAssistant()
delete m_widget;
......@@ -203,6 +203,8 @@ public:
// FIXME: Only used to delay initialization from CppEditor.
// There should be something simpler.
void setCompletionAssistProvider(const std::function<CompletionAssistProvider *()> &provider);
// FIXME: Remove.
void configureCodeAssistant();
void markRequested(TextEditor::BaseTextEditor *editor, int line, TextEditor::BaseTextEditor::MarkRequestKind kind);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment