UNPKG

devexpress-richedit

Version:

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

12 lines (11 loc) 504 B
import { DestinationType } from '../utils/destination-type'; import { BookmarkDestinationBase } from './bookmark-destination-base'; export class BookmarkStartDestination extends BookmarkDestinationBase { get destinationType() { return DestinationType.BookmarkStartDestination; } createEmptyClone() { return new BookmarkStartDestination(this.importer); } assignBookmarkPosition(bookmark) { bookmark.start = this.importer.importers.character.logPosition; } }