Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ece4548e authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Ensure each character is coverted by at most one LocaleSpan

This is a groundwork to attach LocaleSpan for committed text
in LatinIME.

This CL adds a utility method to ensure that a given range
of the text is coverted by at most one LocaleSpan.  Of course
it could be possible to allow a substring to be coverted by
multiple LocaleSpans at the same time, but ensuring uniqueness
for LocaleSpan is supposed to be a good starting point.

BUG: 16029304
Change-Id: Ic33a7178d0df1f05d3626aeb5773ec902254703f
parent 513784e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment