setWord sets the word to spell and other associated info
(word string, sugs []string, srcLn, srcCh int)
| 80 | |
| 81 | // setWord sets the word to spell and other associated info |
| 82 | func (sp *spellCheck) setWord(word string, sugs []string, srcLn, srcCh int) *spellCheck { |
| 83 | sp.word = word |
| 84 | sp.suggest = sugs |
| 85 | sp.srcLn = srcLn |
| 86 | sp.srcCh = srcCh |
| 87 | return sp |
| 88 | } |
| 89 | |
| 90 | // show is the main call for listing spelling corrections. |
| 91 | // Calls ShowNow which builds the correction popup menu |
no outgoing calls
no test coverage detected