irregular-expressions icon indicating copy to clipboard operation
irregular-expressions copied to clipboard

Smarter delete key behavior

Open nkrusch opened this issue 4 years ago โ€ข 7 comments

Some displayed characters are actually composed of 2+ unicode characters.

If user deletes this kind of compound-character, the delete operation should be smart enough to know how many chars to remove (not always 1).

nkrusch avatar Apr 24 '20 20:04 nkrusch

Study this example that uses a StringBuilder to hold state: https://android.googlesource.com/platform/development/+/master/samples/SoftKeyboard/src/com/example/android/softkeyboard/SoftKeyboard.java

nkrusch avatar Jun 15 '20 23:06 nkrusch

๐•€ ๐•™๐•’๐•ง๐•– ๐•ฅ๐•  ๐•™๐•š๐•ฅ ๐•“๐•’๐•”๐•œ๐•ค๐•ก๐•’๐•”๐•– ๐•ฅ๐•จ๐•š๐•”๐•– ๐•—๐• ๐•ฃ ๐•–๐•’๐•”๐•™ ๐•”๐•™๐•’๐•ฃ๐•’๐•”๐•ฅ๐•–๐•ฃ, ๐•’๐•Ÿ๐•• ๐•€ ๐•’๐•ž ๐• ๐•—๐•ฅ๐•–๐•Ÿ ๐•ž๐•š๐•ค-๐•ฅ๐• ๐•ฆ๐•”๐•™๐•š๐•Ÿ๐•˜ ๐•๐•–๐•ฅ๐•ฅ๐•–๐•ฃ๐•ค.

Received this from user. First issue has to do with this backspace; second is with key size.

nkrusch avatar Sep 23 '20 05:09 nkrusch

Is there any way that the backspace key could perform a 'double backspace' when the character to be deleted requires it?

nkrusch avatar Dec 27 '20 23:12 nkrusch

want the text to be deleted letter by letter so I don't end up with the weird question mark things.

nkrusch avatar Dec 31 '20 18:12 nkrusch

แดกสœแด‡ษด ษช แด˜ส€แด‡ss ส™แด€แด„แด‹sแด˜แด€แด„แด‡... ษชษด sแดแดแด‡ แด€แด˜แด˜s๐•Ÿ๐•›๏ฟฝ < --- ๐•š ๐•˜๐•ฆ๐•–๐•ค๐•ค ๐š๐š˜๐š—๐š๐šœ. ๐š๐š‘๐šŽ ๐š‹๐š•๐šŠ๐šŒ๐š” ? ๐š๐š’๐šŠ๐š–๐š˜๐š—๐š ๐šŠ๐š™๐š™๐šŽ๐šŠ๐š›๐šœ ๐š๐š’๐š›๐šœ๐š, ๐š๐š‘๐šŽ๐š— ๐š’ ๐šŒ๐šŠ๐š— ๐š‹๐šŠ๐šŒ๐š”๐šœ๐š™๐šŠ๐šŒ๐šŽ ๐š๐š‘๐šŽ ๐š๐š’๐šŠ๐š–๐š˜๐š—๐š.

nkrusch avatar Jan 25 '21 03:01 nkrusch

moving this along again to next

nkrusch avatar Jul 24 '21 21:07 nkrusch

Issue #122 is a duplicate with a more precise title.

I suggest adding (deletion bug) to this issue and closing #122.

NA0341 avatar Jan 07 '23 16:01 NA0341