20 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau 55e856e67a Ending OpRemoveAnnotation, rerender existing annotations, not refresh all 2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau 31598d3e63 Workaround AnnotationViewManager not fixing cursor pos after highlighting 2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau f632956f80 In OpRemoveAnnotation just drop markup for the one annotation removed 2015-03-31 15:57:20 +02:00
Philip Peitsch 3172ad8dec Convert core.DomUtils into a static singleton 2014-09-12 10:17:09 +10:00
Friedrich W. H. Kossebau 1e2a4a8323 Normalize license headers of the webodf.js source files
* remove @license tag (to prevent Closure compiler keeping the comment)
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released webodf.js
* separate license header by empty line from following content
2014-06-02 12:19:05 +02:00
Philip Peitsch 4f631ac8f1 Remove obsolete length parameter from step insert/remove cache signals
The length parameter is incorrect under many circumstances, and has
proven so difficult to get correct that the cache implementation now
ignores it entirely. Remove this tech debt to simplify future ops.
2014-05-23 00:44:06 +10:00
Jos van den Oever ddcb6009eb Add a number of more precise types and remove unneeded casts. 2014-02-10 15:59:37 +01:00
Jos van den Oever 25fa630f0d Make some operation classes 100% typed. 2014-02-08 10:38:04 +01:00
Jos van den Oever ed7270442f Remove loadClass calls from class files. The load system reads the dependencies from the manifest.json files now. 2014-02-07 15:38:09 +01:00
Friedrich W. H. Kossebau b9beecaf9f Create direct linking between matching annotation and annotation-end elements 2014-02-06 12:44:44 +01:00
Jos van den Oever 8a171bb30f Make gui.TrivialUndoManager and gui.UndoStateRules 100% typed. 2014-02-05 15:28:06 +01:00
Philip Peitsch 58ff0da610 Preserve both cursor and anchor nodes when removing an annotation 2014-01-15 23:23:49 +11:00
Aditya Bhatt bfdc14b907 Add isEdit properties to all operation classes
to make life easier by avoiding the need to listen
to various signals or look at optypes when you just
want to know whether any edits have taken place.
2013-11-22 20:35:29 +01:00
Philip Peitsch bc7fee0189 Correct the reported steps removed when deleting an annotation
The reported position is the first walkable step inside the annotation.
This step will be removed entirely when the annotation is deleted, so
the stable step is just before.
2013-11-14 20:28:38 +11:00
Philip Peitsch 410280fe14 Add signals necessary to keep a caching implementation in sync with the document 2013-11-14 20:28:33 +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
Friedrich W. H. Kossebau 1164be7ee4 Remove some unneeded listing of Node & NodeFilter in jslint globals 2013-10-08 16:00:12 +02:00
Friedrich W. H. Kossebau aa6e53a223 Remove odf.Namespaces.webodfns 2013-10-01 14:57:04 +02:00
Aditya Bhatt d17e0a1c02 * Add a cicrular button to the annotation note in AnnotationViewManager
to delete the annotation
* Add click-handling for such buttons in SessionController
* Add OdfCanvas.forgetAnnotations() to untrack annotations
* Add OpRemoveAnnotation that takes a position within the
 annotation, and deletes that annotation. It also takes the
 walkable length of the annotation node for OT purposes.
 Any cursors inside are moved to the left of the annotation.
2013-08-14 13:49:33 +02:00