ide: Assist++ fixed issue with container of pointers #1294

git-svn-id: svn://ultimatepp.org/upp/trunk@9147 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-11-06 13:47:25 +00:00
parent f1f7689a25
commit 10a492de83

View file

@ -92,6 +92,10 @@ void AssistEditor::GatherItems(const String& type, bool only_public, Index<Strin
Vector<String> tparam;
String ntp = ParseTemplatedType(ResolveTParam(type, tparam), tparam);
int q = CodeBase().Find(ntp);
if(q < 0) {
ntp.Replace("*", ""); // * can be part of type as result of template substitution
q = CodeBase().Find(ntp);
}
if(q >= 0) {
if(types) {
if(ntp.GetCount())