mediawiki-extensions-Visual.../modules/ve/ce
Trevor Parscal cdec86fb48 (bug 37875) Scroll changes on paste
This solves 2 issues:

1. Paste scrolls to the top of the editable box because we temporarily moved the focus to the paste container, and then moved it back. We solve this by saving/restoring the scroll position.
2. Scroll position adjusts vertically when pasting (using key repeat) because we handle pastes with a setTimeout and multiple paste jobs will pile up before they can be finished. We solve this by disallowing paste until we are done handling the previous one. In the case of key repeat this only is observable as slowing the repeat rate.

Thank you Christian for helping me solve this the old fashioned way - by sacrificing features you don't really need!

Change-Id: I75bcf9843b57cdff0db9b6dea62d66d4d76ac011
2012-12-07 14:58:29 -08:00
..
nodes Don't phantomize inline aliens when dragging 2012-12-03 15:52:36 -08:00
styles
ve.ce.BranchNode.js Render inline annotations in CE 2012-11-28 11:21:59 -08:00
ve.ce.ContentBranchNode.js Rename and cleanup ve.ce.Surface locking state 2012-12-05 15:19:56 -08:00
ve.ce.Document.js
ve.ce.js
ve.ce.LeafNode.js Static composition of 'can' and 'not', may improve performance slightly 2012-12-07 13:38:00 -08:00
ve.ce.Node.js Only apply HTML attributes to DOM nodes that are "safe" 2012-11-27 14:34:29 -08:00
ve.ce.NodeFactory.js
ve.ce.Surface.js (bug 37875) Scroll changes on paste 2012-12-07 14:58:29 -08:00
ve.ce.SurfaceObserver.js Fixing Pre-Annotations 2012-12-05 15:13:25 -08:00