Thesaurus icon indicating copy to clipboard operation
Thesaurus copied to clipboard

Select word beneath cursor

Open PeterPablo opened this issue 11 years ago • 1 comments

If cursor is in the middle of a word, but that word is not selected run Thesaurus on that word (by selecting that word first automagically). Currently a quick panel is shown which requests the user to select a word.

PeterPablo avatar Dec 31 '14 08:12 PeterPablo

Solution:

Add this line to thesaurus.py right before the comment "# process our selected word"

self.view.run_command("expand_selection", {"to": "word"})

LaryLee avatar Dec 14 '15 13:12 LaryLee