Quote:
Originally Posted by philm
I'd need to count selected words. I didn't find a way to do it with existing functions and plugins.
|
Unfortunately, there are no API functions for detecting the cursor position or selected text.
As a workaround, you could copy selected text to the clipboard, read the clipboard contents with Python and then count the words.