Module Vscode.TextEditorEdit

include Interop.Js.T
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type replaceLocation = [
  1. | `Position of Position.t
  2. | `Range of Range.t
  3. | `Selection of Selection.t
]
type deleteLocation = [
  1. | `Range of Range.t
  2. | `Selection of Selection.t
]
val replace : t -> location:replaceLocation -> value:string -> unit
val insert : t -> location:Position.t -> value:string -> unit
val delete : t -> location:deleteLocation -> unit
val setEndOfLine : t -> endOfLine:EndOfLine.t -> t
val create : replace:(location:replaceLocation -> value:string -> unit) -> insert:(location:Position.t -> value:string -> unit) -> delete:(location:deleteLocation -> unit) -> setEndOfLine:(endOfLine:EndOfLine.t -> t) -> t