ShowSuggestionsMenu Method
In This Topic
Shows a context menu with suggestions for a misspelled word.
Syntax
'Declaration
Sub ShowSuggestionsMenu( _
ByVal As Object, _
ByVal As Point, _
ByVal As String, _
ByVal As Action(Of String) _
)
'Usage
Dim instance As ISpellChecker
Dim editor As Object
Dim position As Point
Dim word As String
Dim correctCallback As Action(Of String)
instance.ShowSuggestionsMenu(editor, position, word, correctCallback)
void ShowSuggestionsMenu(
object ,
Point ,
string ,
Action<string>
)
void ShowSuggestionsMenu(
Object^ ,
Point ,
String^ ,
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