pos
320321322323324325326327328329330
} } runStart = runLimit; } if (textLength > 0) { if (text.characterStyleAt(textLength) != text.characterStyleAt(textLength-1)) { errln("Character styles at end aren't the same"); } }
321322323324325326327328329330331
} runStart = runLimit; } if (textLength > 0) { if (text.characterStyleAt(textLength) != text.characterStyleAt(textLength-1)) { errln("Character styles at end aren't the same"); } } // check damaged range: