});
}
}, null, document);
newOffset = startOffset + converted.length();
}
<BUG>else {
newOffset = endOffset;</BUG>
}
int start = startOffset;
int end = newOffset;

});
}
}, null, document);
newOffset = startOffset + converted.length();
}
else {
TextRange textRange = new TextRange(startOffset, endOffset);
rangesToChange.add(Pair.create(textRange,converted));
newOffset = endOffset;
}
int start = startOffset;
int end = newOffset;
