UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

19 lines (18 loc) 528 B
export class ContentInsertedSubDocumentChange { subDocumentId; position; length; constructor(subDocumentId, position, length) { this.subDocumentId = subDocumentId; this.position = position; this.length = length; } type; canContinuesWith(nextChange) { if (nextChange.subDocumentId != this.subDocumentId) return false; if (nextChange.position != (this.position + this.length)) return false; return true; } }