Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.31k stars 90 forks source link

Word left Word right doesn't treat symbols correctly #1119

Open herrbrixter opened 1 week ago

herrbrixter commented 1 week ago

Is your feature request related to a problem? Please describe.

  1. A string of symbols like #&$&- isn't treated as a word. Pressing word left or word right doesn't move the cursor.

  2. Symbols within a word, like can't, are treated as 2 words.

Describe the solution you'd like The cursor should move as if the symbols were a word.

Use case

  1. Type strings with symbols only.

The error code is $#@#&-.

The boss cursed, "You #&$-+-&- employee!"

  1. Type words with symbols inside.

You can't use my dildo.

My mother-in-law is a MILF.

My username is Pu$sy_SlayeR_69.

Describe alternatives you've considered (if any) Using the Left and Right buttons.

Helium314 commented 1 week ago

What happens behind the scenes is the app sending ctrl+left/right to the system. So it's Android that is not treating symbols correctly. Technically it would be possible to re-implement this functionality, but it would be a lot of effort for a minor improvement.

A PR would be fine if it results in a clear improvement.