getEdits
Provides text edits for on-type formatting.
Return
a list of text patches to apply to the document
Parameters
position
the position of the cursor after the typed character
document
the text document to format
Provides text edits for on-type formatting.
a list of text patches to apply to the document
the position of the cursor after the typed character
the text document to format