Commit 99686681 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Initialize all the members of CppCodeCompletion

parent 250d947a
......@@ -508,8 +508,11 @@ void CppQuickFixCollector::cleanup()
CppCodeCompletion::CppCodeCompletion(CppModelManager *manager)
: ICompletionCollector(manager),
m_manager(manager),
m_editor(0),
m_startPosition(-1),
m_caseSensitivity(Qt::CaseSensitive),
m_autoInsertBrackets(true),
m_partialCompletionEnabled(true),
m_forcedCompletion(false),
m_completionOperator(T_EOF_SYMBOL)
{
......
......@@ -146,25 +146,22 @@ private:
int findStartOfName(int pos = -1) const;
QList<TextEditor::CompletionItem> m_completions;
private:
CppModelManager *m_manager;
TextEditor::ITextEditable *m_editor;
int m_startPosition; // Position of the cursor from which completion started
CppModelManager *m_manager;
Qt::CaseSensitivity m_caseSensitivity;
bool m_autoInsertBrackets;
bool m_partialCompletionEnabled;
bool m_forcedCompletion;
unsigned m_completionOperator;
CPlusPlus::Icons m_icons;
CPlusPlus::Overview overview;
CPlusPlus::TypeOfExpression typeOfExpression;
unsigned m_completionOperator;
QPointer<FunctionArgumentWidget> m_functionArgumentWidget;
QList<TextEditor::CompletionItem> m_completions;
};
} // namespace Internal
......
Supports Markdown
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