Philip Peitsch
ea8c135546
PositionIterator.setUnfilteredPosition automatically advances to the next valid position
...
This makes the result of next & previous always a node that will pass
the filter. Previous implementations could return entirely unexpected
nodes
* Corrected module load order for tests
2013-06-19 16:58:13 +02:00
Philip Peitsch
4ab30523c0
Modified cursor movement to remove the need to adapt position iterators
2013-06-19 13:43:46 +02:00
Friedrich W. H. Kossebau
55fc7ab9c6
Switch code to use Node.${XXX}_NODE instead of magic values
2013-06-17 13:49:07 +02:00
Philip Peitsch
ff4033be4b
OdtDocument.getDistanceFromCursor expects filtered offsets
...
* Fixed api comments incorrectly claiming unfiltered offsets
2013-06-12 11:00:01 +02:00
Jos van den Oever
0b08f50e1b
Split text nodes completely.
2012-11-09 18:12:22 +01:00
Jos van den Oever
a26ceb6fb9
Add test that checks iterating over a DOM with neighboring text nodes.
2012-11-09 18:02:30 +01: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
3e3de5be29
Fix failing PositionIteratorTests.
2012-10-03 15:28:01 +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
98bc24d7bc
Fix PositionIterator to handle empty text nodes.
2012-08-26 17:59:15 +02:00
Jos van den Oever
e6611afe38
Fix more tests.
2012-08-25 00:04:58 +02:00
Jos van den Oever
7c2540fa61
Add more tests.
2012-08-24 22:44:37 +02:00
Jos van den Oever
27a0c2a614
Adapt tests in PositionIteratorTests and fix PositionIterator so they pass.
2012-08-24 21:52:24 +02:00
Jos van den Oever
a75a4432a3
Change to use PositionIterator instead of PointWalker.
...
This class still needs to be implemented.
2012-08-24 18:05:20 +02:00