todo note update
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 17 Jul 2013 12:42:38 +0000 (14:42 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 17 Jul 2013 12:42:38 +0000 (14:42 +0200)
modules/documentCanvas/canvas/canvas.js

index a5d4825..c2b579b 100644 (file)
@@ -477,7 +477,7 @@ $.extend(Cursor.prototype, {
                 }
             }
         } else {
                 }
             }
         } else {
-            // TODO: Handle order
+            // TODO: Handle order via https://developer.mozilla.org/en-US/docs/Web/API/Node.compareDocumentPosition
             if(which === 'start') {
                 element = anchorElement;
                 offset = selection.anchorOffset
             if(which === 'start') {
                 element = anchorElement;
                 offset = selection.anchorOffset