Instead of using NSTextView, we create custom views that input Japanese using the NSTextInputClient.When performing the Japanese Kanji conversion, the Kanji conversion candidate selection window is displayed, but whether the text is written horizontally or vertically, the horizontal candidate selection window is always displayed, so I don't know how to switch to the vertical candidate selection window.
Please tell me how to switch the orientation of the candidate selection window vertically and horizontally.
(The NSTextView and the attached application TextEdit seem to be able to change the orientation of the candidate selection window depending on the orientation of the text.)
→ 
NSTextInputClient protocol method - (BOOL) drawVerticallyForCharacterAtIndex: (NSUInteger) charIndex [1] allows you to specify vertical or horizontal menus for translation candidates.
[1] -drawsVerticallyForCharacterAtIndex:
1788 Uncaught (inpromise) Error on Electron: An object could not be cloned
2559 I want to display multiple lines with FFmpeg subtitles.
3079 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
1948 I want to connect to the webcam from WSL(ubuntu)
1921 M2 Mac fails to install rbenv install 3.1.3 due to errors
© 2026 OneMinuteCode. All rights reserved.