Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISingleEditOperation

A single edit operation, that acts as a simple replace. i.e. Replace text at range with text in model.

Hierarchy

  • ISingleEditOperation

Index

Properties

Optional forceMoveMarkers

forceMoveMarkers: boolean

This indicates that this operation has "insert" semantics. i.e. forceMoveMarkers = true => if range is collapsed, all markers at the position will be moved.

range

range: IRange

The range to replace. This can be empty to emulate a simple insert.

text

text: string | null

The text to replace with. This can be null to emulate a simple delete.

Generated using TypeDoc