Closed tallforasmurf closed 12 years ago
Can't offer choice of good/bad words, only supporting good word add.
Can get selection and use QString.split(regex \W+,QString::SkipEmptyParts)
to get a list of words. How notify user when more than one? What if no selection or no words selected?
Discovered that control- or right-click brings up a context menu. Followed example in Qt doc to intercept context menu event and when a single word is the current selection, to add a -> good words
menu action to it.
Provide a context menu to add a word to the good or bad words list from the edit panel?