Skip to content

Treat ASCII/non-ASCII transitions as word boundaries in text area#5804

Open
kyu08 wants to merge 1 commit into
jesseduffield:masterfrom
kyu08:c-w
Open

Treat ASCII/non-ASCII transitions as word boundaries in text area#5804
kyu08 wants to merge 1 commit into
jesseduffield:masterfrom
kyu08:c-w

Conversation

@kyu08

@kyu08 kyu08 commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

PR Description

Resolves #5805

Treat ASCII/non-ASCII transitions as word boundaries in text area in these operations:

  1. Word deletion(textarea.BackSpaceWord()/textarea.ForwardDeleteWord())
  2. Word movement(textarea.MoveRightWord()/textarea.MoveLeftWord())

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

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

Successfully merging this pull request may close these issues.

Treat ASCII/non-ASCII boundaries as word boundaries in text editing (word deletion, word movement)

1 participant