int32_t actualBreak = t->bi->preceding(i);
int32_t expectedBreak = BreakIterator::DONE;
- // For supplementaries, back up to the start of the character.
- // int32_t currentCharStart = i < t->dataToBreak.length()? t->dataToBreak.getChar32Start(i) : i;
-
- // for (int32_t j=currentCharStart-1; j >= 0; j--) {
for (int32_t j=i-1; j >= 0; j--) {
if (t->expectedBreaks->elementAti(j) != 0) {
expectedBreak = j;
<locale fi>
<line>
-// TODO: problems with Finnish line break rules cause these two lines to fail.
+# TODO: problems with Finnish line break rules cause these two lines to fail.
#<data>•abc •- •def •abc •-def •abc- •def •abc-•def•</data> # With ASCII hyphen
#<data>•abc •‐ •def •abc •‐def •abc‐ •def •abc‐•def•</data> # With Unicode u2010 hyphen