Options
All
  • Public
  • Public/Protected
  • All
Menu

Content and offsets belonging to a previous performed check, which must be replaced by the replacement. The offsets of the matches are only valid to the unchanged document content, which was originally sent using checkGlobal and can be identified by its check id. The matches are ordered by the offsets in the original document. The matches can be non-continuously. Usually it is a good idea to iterate from the last match to the first match performing the replacement operation. The content of a match could differ from the original document. Usually it is the readable version of what you submitted. For example, entities can be resolved.

Hierarchy

  • Match
    • MatchWithReplacement

Index

Properties

content

content: string

Optional extractedRange

extractedRange: [number, number]

Available since the 5.0 server.

Optional locations

locations: MatchLocation[]

Available since the 5.2.1 server.

range

range: [number, number]

A range are two numbers: A start offset and an end offset.

replacement

replacement: string

Legend

  • Object literal
  • Type alias
  • Interface
  • Property
  • Enumeration

Generated using TypeDoc