format-as-currency icon indicating copy to clipboard operation
format-as-currency copied to clipboard

Doesn't play nicely with SwiftKey

Open gunar opened this issue 10 years ago • 1 comments

  1. $|0.00 (| is cursor)
  2. Type 555. On typing the third digit, format-as-currency adds the comma (,) which selects (makes selection) of the here-bold-text: '$5**,55**0.00'.

There is some issue with the decimals too.

This is probably out-of-scope but it could be thought of in the future. Mobile is taking over and SwiftKey is pretty popular.

Thanks.

gunar avatar Oct 20 '15 14:10 gunar

that's pretty tough. if you want to detect the current cursor position and set the new one appropriately, feel free to make a pr. if there are other apps that manipulate the cursor, we can potentially make this behavior pluggable.

bcherny avatar Nov 14 '15 20:11 bcherny