fix some spelling issue. Start auto-complete after 2 characters

This commit is contained in:
Axel Kohlmeyer
2023-09-07 23:53:21 -04:00
parent 2d76f9e4ac
commit 1d851a6cff
2 changed files with 35 additions and 35 deletions

View File

@ -436,7 +436,7 @@ void CodeEditor::keyPressEvent(QKeyEvent *event)
if (line[begin].isSpace()) break;
--begin;
}
if ((cursor.positionInBlock() - begin) > 3) runCompletion();
if ((cursor.positionInBlock() - begin) > 2) runCompletion();
}
}