1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import Coordinate from './Coordinate' /* Anchors are special annotations which have a zero width. Examples are the start and end anchors of ContainerAnnotations, or a Cursor. TODO: in future we will need to introduce a built-in type for this so that annotation updates can be compared with text operations. Sub-Classes: model/ContainerAnnotation.Anchor, model/Selection.Cursor @class @abstract */ class Anchor extends Coordinate { isAnchor() { return true } } export default Anchor |