mediawiki-extensions-Visual.../modules/ve
Ed Sanders 1261a5f471 Fix unindent action when acting on multiple list items
This is caused by a limitation of surface fragments in that they
always expand to include insertions touching them. In this case
we build surface fragments contain adjacent listItems, so when
the first listItem is de-listed a transaction is first created to
split the list. This insertion of ('/list', 'list') is adjacent
to the second surface fragment and so becomes part of that fragment.

This then causes the wrong node to be passed to unindentListItem.

The workaround is to use the inner range of the listItem, not
the outer range.

Bug: 48390

Change-Id: I7418910412d292ef4953e294a97f66e48d6f776f
2013-05-12 22:15:09 +01:00
..
actions Fix unindent action when acting on multiple list items 2013-05-12 22:15:09 +01:00
ce (bug 48022) Ignore certain function keys in key press handler 2013-05-10 13:51:23 -07:00
dm Fix breaking getLength() call 2013-05-10 17:02:07 -07:00
init Access keys for edit and edit source 2013-05-10 17:10:26 -07:00
styles
test Fix unindent action when acting on multiple list items 2013-05-12 22:15:09 +01:00
ui Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
ve.Action.js
ve.ActionFactory.js
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.CommandRegistry.js
ve.debug.js
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js
ve.js Add ve.properOuterHtml 2013-05-10 17:03:04 -07:00
ve.LeafNode.js
ve.NamedClassFactory.js
ve.Node.js
ve.Range.js
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Surface.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Trigger.js
ve.TriggerRegistry.js Code style fixes 2013-05-06 12:36:52 +01:00