From d7e2afd1f88bf735b010461ff505470bfa468547 Mon Sep 17 00:00:00 2001
From: Zufu Liu
When the inline IME mode is active, characters are added tentatively before being finalised and an - notification is sent for each character.
+ notification (withcharacterSource set to SC_CHARACTERSOURCE_TENTATIVE_INPUT) is sent for each character.
The SCNotification::characterSource field is the source of the character.
| Symbol | +Value | +Meaning | +
|---|---|---|
SC_CHARACTERSOURCE_DIRECT_INPUT |
+ 0 | +Direct input characters, including characters generated by calling keyboard commands like SCI_NEWLINE. | +
SC_CHARACTERSOURCE_TENTATIVE_INPUT |
+ 1 | +Tentative input characters. They are used by IME (inline mode, see SCI_SETIMEINTERACTION) + to composite final string, normally different from final composited string (which is the string that has been truly added into current document), + and may be withdrawn when the user cancels typing (e.g. by pressing Esc key). + Some system (at least Cocoa) also use tentative input for non-IME features like using dead key to composite diacritical marks (grave accent, etc.). + These characters are not added to macro recording. Most applications can simply ignore the notification when this value is set. + | +
SC_CHARACTERSOURCE_IME_RESULT |
+ 2 | +IME (either inline or windowed mode) full composited string. Modern IME is able to composite English word or sentence, + when this value is set, current character may not a Chinese, Japanese or Korean character. + Currently, this is only set on Windows. | +
SCN_SAVEPOINTREACHED
SCN_SAVEPOINTLEFT
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 27afa47b3..118859ac2 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -570,6 +570,11 @@
Feature #1297.