"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const range = require("./range.js");
class EditOperation {
  static insert(position, text) {
    return {
      range: new range.Range(position.lineNumber, position.column, position.lineNumber, position.column),
      text,
      forceMoveMarkers: true
    };
  }
  static delete(range2) {
    return {
      range: range2,
      text: null
    };
  }
  static replace(range2, text) {
    return {
      range: range2,
      text
    };
  }
  static replaceMove(range2, text) {
    return {
      range: range2,
      text,
      forceMoveMarkers: true
    };
  }
}
exports.EditOperation = EditOperation;
