freya icon indicating copy to clipboard operation
freya copied to clipboard

enhancement: Remove or replace selected text

Open katyo opened this issue 1 year ago • 2 comments

Usually selection has higher priority than cursor so input behavior should be little bit different if text has been selected.

  1. If you select the text and press backspace the selected text expected to be deleted but currently only character before last cursor position deteles.

  2. If you select the text and type something other the selected text expected to be replaced by typed but currently new text inserts after cursor position in same time selected text stay not deleted.

input-selection-behavior

katyo avatar Oct 23 '23 06:10 katyo

@marc2332 Seems this issue related to #91. Could you add it to tracking?

katyo avatar Oct 23 '23 06:10 katyo

Yeah, I was aware of this, it's not really a bug, it's just not implemented yet hahaha. I Just added it to the tracking issue! :smile:

marc2332 avatar Oct 23 '23 06:10 marc2332

I recently added support for removing the selected when using Delete or backspace, I'll soon make it possible to replace it with the new inserted text

marc2332 avatar Jun 08 '24 21:06 marc2332