search plugin: use currentWord() if nothing is selected
author Alex Neundorf
()
committer Alex Neundorf
()
commit 4cd2345f76b68f6c1bf510ec116b5bc245240a65
tree 3b33afbb140fb68b24372cc940ee6327313ecaec
parent 08fad8d035afa32a47c38ff1a41f80679929a0b9
search plugin: use currentWord() if nothing is selected

As in the searchbar, if no text is selected, and the cursor is in a word,
use that word as initial search pattern.

Alex
addons/kate/search/plugin_search.cpp
addons/kate/search/plugin_search.h