The list of files changes on many commits and makes merging hard. This patch simply removes the list from the code and uses one that is generated and placed in the build directory.
When selecting or modifying large areas of content, the multiple
style information lookup becomes quite expensive. These can be greatly
sped up by using a common cached value + associated query object
instead.
Existing behaviour was slow if the cursor has a large distance between
the
anchor and focus nodes. It also tended to lose the first letter when
right
near the start of a paragraph or root boundary.
New logic avoids the need for expensive positional lookups, instead
exploiting the fact that the actual step value of the cursor is expected
to be unmoved. This allows the start and end points of the range to be
simply moved to their nearest valid step.
* Re-ordered ambiguous elements in test
"Remove_DeleteLastCharacterInSpan"
Fixes issue #261
The code is much more readable now and some inefficiencies are resolved now.
E.g. in one place an array was iterated like it was an object.
The use of getElementByTagnameNS has been replaced by more efficient
getDirectChild.
The manifest.json files are generated automatically from the sources by the script updateJS.js, which also runs JSLint.
Dependencies are stored in manifest.json now. This allows the loading of modules to be more efficient, since all the required modules can be determined before loading.