Jos van den Oever
6f515c19c8
Speedup by using local definitions of return values.
2012-10-21 17:38:17 +02:00
Jos van den Oever
f959545875
Use stricter typing.
2012-10-21 17:17:55 +02:00
Aditya Bhatt
cdf9c05660
fix conflict
2012-10-21 15:38:19 +02:00
Aditya Bhatt
d1ba31a6df
webodf/lib/
...
use zero-length selection to get the clicked area (element + offset), and improve SelectionMover's step counter
2012-10-21 15:36:22 +02:00
Tobias Hintze
758333d210
update "@source:" references to gitorious.org/webodf
...
(as in master: de1a79c36f )
2012-10-21 12:18:15 +02:00
Jos van den Oever
d1271871a7
Some progress on implementing the insertText operation.
2012-10-21 11:38:17 +02:00
Jos van den Oever
0a82df45d5
Add function signatures documentation to SessionImplementation.
...
This helps with finding errors.
2012-10-20 12:19:38 +02:00
Jos van den Oever
00dd7b1cd6
Add option to pass a key handler to an avatar.
2012-10-17 10:10:32 +02:00
Jos van den Oever
6e0192f1c7
Add functions for adding and removing paragraphs.
...
Also change session operations to return a boolean. This will later be used for making an implementation of a session that signals if certain operations are allowed or not. This is useful in operational transforms, unit tests and enabling or disabling parts of the ui.
2012-10-11 17:40:25 +02:00
Jos van den Oever
ea840b7579
Add ability to create a new empty text odf document.
2012-10-11 13:07:44 +02:00
Jos van den Oever
ac51bbc948
Make the session caret iterator move more nicely.
2012-10-03 09:01:14 +02:00
Jos van den Oever
f90bfedd36
Use a SelectionManager to keep track of selections, positioniterators and selectionmovers.
...
This is needed because moving a cursor influences all the positionIterator.
2012-09-02 10:37:24 +02:00
Jos van den Oever
3efcbf70f4
Use one SelectionMover for all Avatars.
2012-09-02 10:22:48 +02:00
Jos van den Oever
8497b82c84
Also move through span elements and only move one avatar when clicking.
2012-08-31 16:31:41 +02:00
Jos van den Oever
97ab9bbfbe
Work towards positioning the avatar by mouse click.
2012-08-29 23:30:40 +02:00
Jos van den Oever
566749728e
Get avatar to move somewhat along with the caret.
2012-08-28 22:19:58 +02:00
Jos van den Oever
b9ce3ae618
Make it possible to step more than one positions at once in SelectionMover.
2012-08-28 00:01:43 +02:00
Jos van den Oever
e785aeed3f
Add more avatar tests.
2012-08-21 19:23:43 +02:00
Jos van den Oever
bd1d25fc4d
Add a simple avatar test.
2012-08-21 19:23:43 +02:00
Jos van den Oever
9cbd4b2db5
Add an implementation of Selection.
...
Normally a document can have only one Selection. With collaboration we need more than one, so we add our own implementation of the same interface.
2012-08-09 17:21:22 +02:00
Jos van den Oever
6186336626
Make test file have two documents and add avatar icons.
2012-08-09 09:17:39 +02:00
Jos van den Oever
c37feaaa03
Add a blinking caret for an avatar.
2012-08-08 21:29:30 +02:00