editor: Ctrl+Delete deletes whitespaces AND subsequent word
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
Research direction
Start by locating the editor’s Ctrl+Delete handling and the tests for word deletion; the issue does not name specific files. Reproduce with leading spaces and at a line end, then check how whitespace and the following word are selected. Done when Ctrl+Delete preserves the word after leading indentation and does not unexpectedly delete the next line’s word.
Written by the indexing model from the issue text.
Description
Description
editor: Ctrl+Delete deletes whitespaces AND subsequent word
Environment
- GPUI Kit: v0.10.0
- Platform: Windows
Steps to Reproduce
cargo run- In editor, enter
four leading spaces. - Move cursor at the beginning (press Home key).
- Press Ctrl+Delete will delete 4 spaces and "four", remaining text will be
leading spaces.
This problem also happens at the line end. Pressing ctrl+delete at the end of line will delete the word at the beginning of next line and also indentation between will be deleted.
Expected
four leading spaces remaining.
Actual
leading spaces remaining.
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 1.3k
- Avg merge
- 1d 16m
- Merged PRs (30d)
- 270
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the 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 longbridge/gpui-kit
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
longbridge/gpui-kit#4026 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
longbridge/gpui-kit#3852 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
longbridge/gpui-kit#3795 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
longbridge/gpui-kit#3630 · 1 comment ·
Maintainers usually reply within 1 day
-
input: allow Editor as the control of an InputGroupMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
longbridge/gpui-kit#3620 ·
Maintainers usually reply within 1 day
All issues in longbridge/gpui-kit
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DioxusLabs/dioxus#6095 ·
Maintainers usually reply within 1 day
-
bug engine
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rocky-data/rocky#2689 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
open-telemetry/weaver#1917 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug host P3 web
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jphacks/kz_2613#589 · 1 comment ·
Maintainers usually reply within 1 day