-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDM_VIEW_AUTOC_ENGLISH_ONLY seems not work properly #73
Comments
Notapad2 (currently) only support auto-completion for _a-zA-Z0-9 and some punctuation, a later version may add support for extended Latin characters, see #36. The new option "Auto Complete Words Only in English IME Mode" is that, modern IME in native mode (Chinese, Japanese, Korean, etc.) may let user select English words, when this option is enabled, the selected word will NOT trigger auto-completion. I think directly type Korean text is quicker than auto-completion. |
Okay. I understand it. Thank you, always. |
Hi @bluenlive, auto completion for Korean is possible (by Alt + / or Edit -> Insert -> Complete Word) since commit c4f533e. Auto completion on typing can be implemented (as an option?) by change if (!autoCompletionConfig.bCompleteWord
// ignore IME input
|| (scn->modifiers && (ch >= 0x80 || autoCompletionConfig.bEnglistIMEModeOnly))
|| !IsAutoCompletionWordCharacter(ch)
) {
return 0;
} and bool IsAutoCompletionWordCharacter(unsigned int ch) const noexcept {
return WordCharacterClass(ch) == CharClassify::ccWord;
} |
With Korean IME(maybe with other IMEs), IDM_VIEW_AUTOC_ENGLISH_ONLY seems not work properly.
Even when IDM_VIEW_AUTOC_ENGLISH_ONLY is false, we cannot use "auto completion" feature with Korean.
Maybe following lines in notepad.c causes it:
Could you check it?
The text was updated successfully, but these errors were encountered: