This is an automated email from the ASF dual-hosted git repository.
gerben pushed a change to branch import-dom-seek
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.
from 645eb77 Factor out chunkRangeToRange
new 84ae601 Handle half-characters in CodePointSeeker.seekToChunk
new d6a0be0 Make CodePointSeeker.seekToChunk count units, not points
new ec53350 Create basic tests for describe text position
new 2ec7100 Export describeTextPosition & use it in demo
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
packages/dom/src/code-point-seeker.ts | 38 +++++++---------
packages/dom/src/index.ts | 1 +
packages/dom/test/text-position/describe.test.ts | 55 ++++++++++++++++++++++++
web/demo/index.html | 9 ++++
web/demo/index.js | 14 ++++--
5 files changed, 92 insertions(+), 25 deletions(-)
create mode 100644 packages/dom/test/text-position/describe.test.ts