Skip to content
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

Multiple cursors doesn't work correctly with Japanese #78

Open
misha opened this issue Mar 7, 2024 · 1 comment
Open

Multiple cursors doesn't work correctly with Japanese #78

misha opened this issue Mar 7, 2024 · 1 comment

Comments

@misha
Copy link

misha commented Mar 7, 2024

Overview

Japanese IMEs (and other language IMEs that offer choices) allow you to use the arrow keys to select a replacement input while typing. Unfortunately, it's impossible to use multiple cursor editing with these languages right now because the cursors go away after discovering an initial selection.

I understand this is not high priority, but if there's a simple fix it would greatly improve this plugin for my purposes.

Reproduction

  1. Switch to Japanese IME.
  2. Use Ctrl+D to select multiple occurrences.
  3. Enter some Japanese for which the IME has options.
  4. Use the arrow keys at least twice, ie. select a second option.
  5. Hit enter.

Expected Behavior

I would expect all occurrences to match the final selected option.

Actual Behavior

The first occurrence matches the final option. The other occurrences only match the initial option.

Here's a short clip of the entire bug. As you can see, subsequent choices are not reflected in the other cursor occurrences. (I have added some periods to the first line to avoid having the IME input selection box cover the other items.)

shortcuts_japanese_ime.mp4
@PRO-2684
Copy link

Similar bug for Chinese IME... But I suppose multi-cursor is implemented by Obsidian, so this bug should be Obsidian's fault? (You can alt + click to insert multiple cursors natively on Obsidian)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants