mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
fc4ba3019a
Because of the end>=left condition, the loop was exiting right before hitting the startBefore case, so use end>=left-1 instead. Fixing this exposed another bug that caused nodeRange and nodeOuterRange to be off by one: we need to increment left after storing it in startOffset, not before Change-Id: I54e18fb2119c8caefb4f7a7f2be43c6129afc4c0 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
image.png | ||
index.html | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.Factory.test.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js |