Commit Graph
6 Commits
Author SHA1 Message Date
Philip Peitsch 4a0b3968eb Replacing non-edit related uses of OdtDocument.getPositionInTextNode with faster alternatives
Calling getPositionInTextNode adds unnecessary empty text nodes
into the document. This function should only be used by operations
that are about to insert text or otherwise edit the DOM.

As part of this patch, the position checks are limited to the current
editing root, fixing issue #48.
2013-11-14 20:28:31 +11:00
Friedrich W. H. Kossebau c2a795e668 Update link to repo: now https://github.com/kogmbh/WebODF/ 2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau 508570dab8 Add copy of the AGPL3 to sources (+ add to created zip files) 2013-10-21 17:55:16 +02:00
Philip Peitsch 71d757ce4c More tightly couple direct styling support to text manipulator
At this point, this is not intended to be open for extension as it is too
easy to break OT logic by incorrectly manipulating the operation groups.
Instead, convert this to use a specific-built extension point under tight
control of WebODF.
2013-10-16 01:31:38 +11:00
Friedrich W. H. Kossebau f46bb9e502 Change ops.OperationRouter.push to take a sequence of ops
Taking a sequence of ops also enables to give the guarantee that all
contained operations will be executed directly after each other,
in the given order. So creator of the ops can calculate the spec of each op
by relying on the known effect of the other ops.
2013-10-02 19:29:52 +02:00
Philip Peitsch 06be7045ec Extract text manipulation functions from SessionController 2013-09-27 18:30:07 +02:00