fix: can't complete <> "" in #include
This commit is contained in:
parent
98f015f661
commit
097128e2f3
|
@ -961,7 +961,8 @@ void Editor::keyPressEvent(QKeyEvent *event)
|
|||
} else {
|
||||
if (pSettings->codeCompletion().enabled()
|
||||
&& pSettings->codeCompletion().showCompletionWhileInput() ) {
|
||||
if (mParser && mParser->isIncludeLine(lineText())) {
|
||||
if (mParser && mParser->isIncludeLine(lineText())
|
||||
&& ch.isDigit()) {
|
||||
// is a #include line
|
||||
processCommand(QSynedit::EditCommand::Char,ch,nullptr);
|
||||
showHeaderCompletion(false);
|
||||
|
|
Loading…
Reference in New Issue