minor change

This commit is contained in:
Roy Qu 2023-08-13 19:14:31 +08:00
parent acc1fbd4aa
commit 97fef20a78
1 changed files with 1 additions and 2 deletions

View File

@ -894,8 +894,7 @@ void Editor::keyPressEvent(QKeyEvent *event)
if (lastWord == "long" || if (lastWord == "long" ||
lastWord == "short" || lastWord == "short" ||
lastWord == "signed" || lastWord == "signed" ||
lastWord == "unsigned" lastWord == "unsigned") {
) {
processCommand(QSynedit::EditCommand::Char,ch,nullptr); processCommand(QSynedit::EditCommand::Char,ch,nullptr);
showCompletion(lastWord,false, CodeCompletionType::ComplexKeyword); showCompletion(lastWord,false, CodeCompletionType::ComplexKeyword);
handled=true; handled=true;