Sort the completion items as soon as we have them.

This commit is contained in:
Roberto Raggi
2010-05-26 14:25:01 +02:00
parent dfadb0d076
commit db7333e6bb
2 changed files with 10 additions and 9 deletions

View File

@@ -122,6 +122,8 @@ private:
int findStartOfName(int pos = -1) const;
int startCompletionHelper(TextEditor::ITextEditable *editor);
int startCompletionInternal(TextEditor::BaseTextEditor *edit,
const QString fileName,
unsigned line, unsigned column,
@@ -147,7 +149,6 @@ private:
QPointer<FunctionArgumentWidget> m_functionArgumentWidget;
QList<TextEditor::CompletionItem> m_completions;
bool m_sorted;
};
} // namespace Internal