- fix: Can't show correct completion info for vars declared with template parameters ending with ">>".
This commit is contained in:
parent
2725e11eaa
commit
56310e8363
1
NEWS.md
1
NEWS.md
|
@ -140,6 +140,7 @@ Red Panda C++ Version 2.27
|
||||||
- fix: Size of the icons in problem and problem set panel are not correct.
|
- fix: Size of the icons in problem and problem set panel are not correct.
|
||||||
- fix: Shouldn't consider preceeding '&'/'*' when popping completion suggest list for variable members.
|
- fix: Shouldn't consider preceeding '&'/'*' when popping completion suggest list for variable members.
|
||||||
- fix: Positions of current matching parenthesis not correctly updated.
|
- fix: Positions of current matching parenthesis not correctly updated.
|
||||||
|
- fix: Can't show correct completion info for vars declared with template parameters ending with ">>".
|
||||||
|
|
||||||
Red Panda C++ Version 2.26
|
Red Panda C++ Version 2.26
|
||||||
- enhancement: Code suggestion for embedded std::vectors.
|
- enhancement: Code suggestion for embedded std::vectors.
|
||||||
|
|
|
@ -5804,6 +5804,8 @@ PStatement CppParser::doParseEvalTypeInfo(
|
||||||
templateLevel++;
|
templateLevel++;
|
||||||
} else if (token == ">") {
|
} else if (token == ">") {
|
||||||
templateLevel--;
|
templateLevel--;
|
||||||
|
} else if (token == ">>") {
|
||||||
|
templateLevel-=2;
|
||||||
}
|
}
|
||||||
templateParams += token;
|
templateParams += token;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue