Skip to content

Restore behavior of find selected when no selection is available

Milian Wolff requested to merge (removed):fix-find-selected into master

After the latest update ktexteditor based editors suddenyl behave very differently when using "find next/prev selected" without any selection: Previously, the word under the cursor would get selected. The current behavior would diretly jump to the next/previous match.

This patch restores the old behavior of first selecting the word under the cursor. This is part of my muscle-memory and I use it to quickly select the word under the cursor (ctrl+h once) or find the next occurance (ctrl+h twice) etc. pp.

Merge request reports