mediawiki-extensions-Visual.../tests/ve2
Catrope 2f18605a1a Fix buggy replace behavior when inserting content that contains nodes
Copy-pasting things like "text<IMAGE>moretext" failed spectacularly,
this commit fixes that.

* Check for content rather than structure in the inserted/removed data
* In the content case
** Run selectNodes() over the removal range, rather than just the cursor
*** i.e. no longer assume that content replacements only affect one node
** If there is structure involved, rebuild all affected nodes

Change-Id: I80e40b5b7c514a3fb105d57e4a17770d0fefaaea
2012-05-31 07:27:36 -07:00
..
ce Restructured static node rules 2012-05-21 17:39:12 -07:00
dm Fix buggy replace behavior when inserting content that contains nodes 2012-05-31 07:27:36 -07:00
image.png Added transparent 1px image to make unit tests not show HTTP errors 2012-05-14 15:04:06 -07:00
index.html Restructured static node rules 2012-05-21 17:39:12 -07:00
ve.BranchNode.test.js remove hasChildren method as I was using it to debug something on 2012-05-18 14:11:23 -07:00
ve.Document.test.js Massive refactor of node trees, generalizing lots of previously dm only stuff 2012-05-09 21:11:09 -07:00
ve.example.js Added merge test for ve.dm.TransactionProcessor 2012-05-16 13:33:42 -07:00
ve.LeafNode.test.js Split node factory into dm specific implementation 2012-04-30 15:42:36 -07:00
ve.Node.test.js - Optimize surface model and write unit tests 2012-05-04 15:29:47 -07:00
ve.NodeFactory.test.js Restructured static node rules 2012-05-21 17:39:12 -07:00