- fix: corresponding '>' not correctly removed when deleting '<' in #include line
This commit is contained in:
parent
b0c8526d97
commit
fc11f1223b
1
NEWS.md
1
NEWS.md
|
@ -4,6 +4,7 @@ Red Panda C++ Version 1.0.1
|
||||||
- fix: short cut for goto definition/declaration doesn't work
|
- fix: short cut for goto definition/declaration doesn't work
|
||||||
- enhancement: press alt to switch to column selection mode while selection by mouse dragging in editor
|
- enhancement: press alt to switch to column selection mode while selection by mouse dragging in editor
|
||||||
- fix: order for parameters generated by auto link may not correct
|
- fix: order for parameters generated by auto link may not correct
|
||||||
|
- fix: corresponding '>' not correctly removed when deleting '<' in #include line
|
||||||
|
|
||||||
Red Panda C++ Version 1.0.0
|
Red Panda C++ Version 1.0.0
|
||||||
- fix: calculation for code snippets's tab stop positions is not correct
|
- fix: calculation for code snippets's tab stop positions is not correct
|
||||||
|
|
|
@ -495,8 +495,7 @@ void Editor::undoSymbolCompletion(int pos)
|
||||||
if ((DeletedChar == '\'') && (tokenType == SynHighlighterTokenType::Number))
|
if ((DeletedChar == '\'') && (tokenType == SynHighlighterTokenType::Number))
|
||||||
return;
|
return;
|
||||||
if ((DeletedChar == '<') &&
|
if ((DeletedChar == '<') &&
|
||||||
((tokenType != SynHighlighterTokenType::PreprocessDirective)
|
!(mParser && mParser->isIncludeLine(lineText())))
|
||||||
|| !lineText().startsWith("#include")))
|
|
||||||
return;
|
return;
|
||||||
if ( (pSettings->editor().completeBracket() && (DeletedChar == '[') && (NextChar == ']')) ||
|
if ( (pSettings->editor().completeBracket() && (DeletedChar == '[') && (NextChar == ']')) ||
|
||||||
(pSettings->editor().completeParenthese() && (DeletedChar == '(') && (NextChar == ')')) ||
|
(pSettings->editor().completeParenthese() && (DeletedChar == '(') && (NextChar == ')')) ||
|
||||||
|
|
Loading…
Reference in New Issue