gphalkes / tilde

The Tilde text editor
395 stars 21 forks source link

Searching for the selected text should be optional #100

Open seivadnomis opened 2 years ago

seivadnomis commented 2 years ago

When you call up the Find dialog, the search term gets overwritten with any text that happens to be selected in the editor. It would be nice if Tilde had a simple little option to disable this behaviour. (If I want to search for other occurrences of the selected text, I can easily copy and paste this into the Find dialog.)

Here's a typical example. If you type in a complicated regular expression, then realise you've got it slightly wrong when the editor selects the first piece of matching text, you ought to be able to go straight back to the Find dialog and correct the regex. But if you forget to first deselect the matching text, you have no choice but to retype the whole thing.