Shows a context menu with suggestions for a misspelled word.
Syntax
'Declaration
Sub ShowSuggestionsMenu( _
ByVal As System.Object, _
ByVal As System.Windows.Point, _
ByVal As System.String, _
ByVal As System.Action(Of String) _
)
'Usage
Dim instance As ISpellChecker
Dim editor As System.Object
Dim position As System.Windows.Point
Dim word As System.String
Dim correctCallback As System.Action(Of String)
instance.ShowSuggestionsMenu(editor, position, word, correctCallback)
void ShowSuggestionsMenu(
System.object ,
System.Windows.Point ,
System.string ,
System.Action<string>
)
Parameters
- editor
- The editor control whose content is being spell checked.
- position
- The position in absolute plug-in coordinates where the menu should be open.
- word
- The misspelled word.
- correctCallback
- Callback called when a suggested correction is chosen.
See Also