[Feature request] 在预编辑区内移动光标时,使光标不要循环移动
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- operating-systems
Research direction
Start by locating the pre-edit area’s cursor movement handling and review issue #876 for the related behavior. Reproduce movement at both ends of the pre-edit area, then determine whether the default should stop at the boundary or expose an option. Done means cursor movement no longer wraps around, or the behavior can be disabled as requested.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
目前,当预编辑区内光标处于最右侧时,再按下右方向键,光标会移动到最左侧,反之亦然。
但是,这个机制在手机上会造成一些麻烦,因为不存在方向键及 HOME、END,手机输入法一般会采用滑动空格键的方式来移动光标。因此,当修改句中拼音后,难以快速将光标移回预编辑区的最右侧。
Describe the solution you'd like
修改默认机制或增加一个选项,禁用光标的循环移动。
Describe alternatives you've considered
如能实现 #876 中描述的功能,也能解决我目前遇到的困境。
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 752
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 16
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rime/librime
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
editor commit_script_text 和 commit_comment 不調用 commit_notifierPossibly taken @jjohnnystwsss claimed this 1 day ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rime/librime#1181 · 2 comments ·
Maintainers usually reply within 1 day
-
New frontend: zipinOpenenhancement
Difficulty 1/5 Under an hour Newbie friendliness 78/100
rime/librime#1166 · 1 reaction ·
Maintainers usually reply within 1 day
-
一些优质的更新探讨(含破坏更新)Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
rime/librime#1270 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/DirectXShaderCompiler#9173 ·
Maintainers usually reply within 2 days
-
feature:config kind:docs os:windows toolchain:cmake triaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
arch-based bug niri
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
noctalia-dev/noctalia#5552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 5 days