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

'Next character' cannot handle punctuation characters #2102

Open
ReginaldBuren opened this issue Jun 29, 2024 · 0 comments
Open

'Next character' cannot handle punctuation characters #2102

ReginaldBuren opened this issue Jun 29, 2024 · 0 comments

Comments

@ReginaldBuren
Copy link

ReginaldBuren commented Jun 29, 2024

Is your feature request related to a problem? Please describe.
I use the keyboard shortcuts for previous character (B), next character (M) and next word (N). They are very convenient. The problem is, when we reach a punctuation character (e.g. 。、「」!), the popup disappears, and I have to reach for the mouse again. Many sentences have multiple commas, so I cannot reach the end of the sentence without the mouse.

Describe the solution you'd like
When the user presses (M), rikaikun could jump to the next non-punctuation character. If the immediate next character belongs to (。、「」! etc.), then we can skip two characters, or three, as needed. Similarly for previous character (B) and next word (N).

Describe alternatives you've considered

  • Adding the punctuation characters to the dictionary. This way, the popup can stay visible between sentences, since the lookup is successful (I assume the current behaviour is that the popup disappears when the lookup fails, since there is no word beginning with 。、etc.).
  • Caret browsing. This is a feature in Chrome and other browsers, where we have a blinking cursor on the text of any web page, and we move around with the arrow keys. Maybe we can press a key to do a lookup on the current caret position, instead of hovering with the mouse. Then, the caret position can jump to the end of the currently-highlighted word.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant