'Next character' cannot handle punctuation characters
ReginaldBuren opened this issue · 2 comments
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.