devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
18 lines (17 loc) • 659 B
TypeScript
import { ModelChangeType } from './enums';
export interface ModelChangeBase {
readonly type: ModelChangeType;
toJSON?(withPostData?: boolean): any;
}
export interface SubDocumentChangeBase extends ModelChangeBase {
subDocumentId: number;
}
export declare abstract class ContentInsertedSubDocumentChange implements SubDocumentChangeBase {
subDocumentId: number;
position: number;
length: number;
constructor(subDocumentId: number, position: number, length: number);
type: ModelChangeType;
toJSON?(_withPostData?: boolean): any;
canContinuesWith(nextChange: ContentInsertedSubDocumentChange): boolean;
}