Vscode.TextEditortype insertSnippetLocation = [ | `Position of Position.t| `Range of Range.t| `Positions of Position.t list| `Ranges of Range.t list ]val document : t -> TextDocument.tval selection : t -> Selection.tval set_selection : t -> Selection.t -> unitval selections : t -> Selection.t listval options : t -> TextEditorOptions.tval viewColumn : t -> ViewColumn.t optionval edit :
t ->
callback:(editBuilder:TextEditorEdit.t -> unit) ->
?undoStopBefore:bool ->
?undoStopAfter:bool ->
unit ->
bool Promise.tval insertSnippet :
t ->
snippet:SnippetString.t ->
?location:insertSnippetLocation ->
?undoStopBefore:bool ->
?undoStopAfter:bool ->
unit ->
bool Promise.tval setDecorations :
t ->
decorationType:TextEditorDecorationType.t ->
rangesOrOptions:
[ `Ranges of Range.t list | `Options of DecorationOptions.t list ] ->
unitval revealRange :
t ->
range:Range.t ->
?revealType:TextEditorRevealType.t ->
unit ->
unit