mediawiki-extensions-Visual.../modules/ve/test/dm
Ed Sanders 90e4f4d665 Store multi byte characters as one element
Getting & setting the cursor is done with byte offsets
instead of data model offset (characters) so we need to
be able to convert between the two as well as splitting
characters.

TODO: The regex only works on surrogate pairs, not
yet combining accents.

fixupInsertion will combine a combining mark with the
character to its left it it can.

Bug: 48630

Change-Id: I8d936fb15d82f73cd45fac142c540a7950850d55
2013-05-25 00:50:11 +02:00
..
lineardata Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
nodes Implement ve.dm.MWTemplateNode.getWikitext() 2013-05-15 15:16:34 -07:00
ve.dm.AnnotationSet.test.js Further AnnotationSet optimisation: create containsIndex 2013-04-25 22:55:43 +01:00
ve.dm.BranchNode.test.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.dm.Converter.test.js Store multi byte characters as one element 2013-05-25 00:50:11 +02:00
ve.dm.Document.test.js Transactions to store metadata merge info when present 2013-04-16 22:26:56 +01:00
ve.dm.DocumentSynchronizer.test.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.example.js Support for thumb and frame images with captions. 2013-05-23 00:44:43 -07:00
ve.dm.IndexValueStore.test.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.dm.LeafNode.test.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.dm.LinearData.test.js Store data in LinearData class with an index-value store for objects 2013-03-30 10:06:34 +00:00
ve.dm.MetaList.test.js Transactions to store metadata merge info when present 2013-04-16 22:26:56 +01:00
ve.dm.Model.test.js Make .static.storeHtmlAttributes more versatile 2013-05-07 14:45:26 -07:00
ve.dm.ModelRegistry.test.js Fix ModelRegistry bugs 2013-04-08 18:05:34 -07:00
ve.dm.Node.test.js Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00
ve.dm.NodeFactory.test.js Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
ve.dm.Surface.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.SurfaceFragment.test.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.Transaction.test.js Add a transaction builder for replacing the contents of a node 2013-05-20 13:09:54 -07:00
ve.dm.TransactionProcessor.test.js Refactor HTML attribute preservation 2013-05-17 20:57:33 -07:00