OS: macOS Mojave 10.14.6
Sublime Text: 3.2.2 build 3211
When using the first-party Chinese Pinyin (simplified) keyboard in OSX, typing a Latin character combination overlays a Candidate Window to choose a Chinese character. The system allows one to cycle through the five tones of Mandarin using Tab or Shift+Tab. This option works in TextEdit.
In Sublime Text, pressing Tab or Shift+Tab while the Candidate Window is open clears the current input code instead of respecting the OS behavior for the keypress.
This occurs in a general .txt file and in unsaved buffers as well, meaning that no syntax-specific settings affect this behavior. My preferences are as follows:
{
"auto_complete_commit_on_tab": true,
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"draw_white_space": "all",
"font_face": "Monaco",
"font_size": 28,
"ignored_packages":
[
"SCSS",
"Vintage"
],
}
Disabling auto_complete_commit_on_tab has no effect on the behavior.
Basic steps to reproduce on OSX:
- Add the “Pinyin (Simplified)” keyboard through System Preferences.
- Open Sublime Text and type “ni” using the Pinyin keyboard input. Press space, then type “hao”.
- Press Tab to cycle through the tones for “hao”. Note that Sublime Text clears the current input instead of deferring to the OS behavior.
- Contrast with the behavior in TextEdit or another text editor such as VSCode.