|
|
@@ -58,14 +58,6 @@ export default class Document {
|
|
|
*/
|
|
|
this.version = 0;
|
|
|
|
|
|
- /**
|
|
|
- * Selection done on this document.
|
|
|
- *
|
|
|
- * @readonly
|
|
|
- * @member {module:engine/model/liveselection~LiveSelection}
|
|
|
- */
|
|
|
- this.selection = new LiveSelection( this );
|
|
|
-
|
|
|
/**
|
|
|
* Schema for this document.
|
|
|
*
|
|
|
@@ -91,6 +83,14 @@ export default class Document {
|
|
|
*/
|
|
|
this.markers = new MarkerCollection();
|
|
|
|
|
|
+ /**
|
|
|
+ * Selection done on this document.
|
|
|
+ *
|
|
|
+ * @readonly
|
|
|
+ * @member {module:engine/model/liveselection~LiveSelection}
|
|
|
+ */
|
|
|
+ this.selection = new LiveSelection( this );
|
|
|
+
|
|
|
/**
|
|
|
* Array of pending changes. See: {@link #enqueueChanges}.
|
|
|
*
|