mediawiki-extensions-Visual.../modules/ve
Ed Sanders 4f0ac479ed Implement SurfaceFragment.unwrapAllNodes and fix wrapAllNodes.
wrapAllNodes was calulating the new selection incorrectly. This has
been fixed and a test added.

unwrapAllNodes takes a depth as its argument and unwraps that many
elements from inside the selection.

Tests for wrap/unwrap apply also now check that applying a wrap
and then its inverse as an unwrap result in the document reverting
to its original state.

Change-Id: I7dcacdfb5894be59ffad69b369d7b32933a25b61
2013-02-22 13:37:42 -08:00
..
actions Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ce Introduce ve.Keys based on DOM Level 3 KeyEvent 2013-02-20 16:15:59 -08:00
dm Implement SurfaceFragment.unwrapAllNodes and fix wrapAllNodes. 2013-02-22 13:37:42 -08:00
init Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
styles Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
test Implement SurfaceFragment.unwrapAllNodes and fix wrapAllNodes. 2013-02-22 13:37:42 -08:00
ui Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Action.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ActionFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.AnnotationSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.BranchNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.CommandRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.debug.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Document.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.EventEmitter.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Factory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.js Introduce ve.Keys based on DOM Level 3 KeyEvent 2013-02-20 16:15:59 -08:00
ve.LeafNode.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Node.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.OrderedHashSet.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Range.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Registry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Surface.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.Trigger.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.TriggerRegistry.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00