ide: Precedence of assist++ items changed (now shows declartion first) #1261

git-svn-id: svn://ultimatepp.org/upp/trunk@8954 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-09-20 18:16:20 +00:00
parent 7f7f3d4847
commit 1270a2ab55

View file

@ -144,7 +144,7 @@ void AssistEditor::GatherItems(const String& type, bool only_public, Index<Strin
bool OrderAssistItems(const CppItemInfo& a, const CppItemInfo& b)
{
return CombineCompare(a.uname, b.uname)(a.typei, b.typei)(a.qitem, b.qitem)(b.filetype, a.filetype) < 0;
return CombineCompare(a.uname, b.uname)(a.typei, b.typei)(a.qitem, b.qitem)(a.impl, b.impl)(a.filetype, b.filetype)(a.line, b.line) < 0;
}
void AssistEditor::RemoveDuplicates()