Fixed bug 830332, "Convert selected ACIP=>Tibetan busted".

This commit is contained in:
dchandler 2003-10-26 18:25:25 +00:00
parent e74547d743
commit 5c36dd81d3
3 changed files with 63 additions and 48 deletions

View file

@ -1609,12 +1609,12 @@ public void paste(int offset) {
DuffData[] duffdata = null;
if (fromACIP) {
getTibDoc().remove(start, i-start);
TibTextUtils.insertTibetanMachineWebForACIP(sb.toString(),
getTibDoc(),
start,
withWarnings);
}
else
i += -1 /* because i++ will occur */
+ TibTextUtils.insertTibetanMachineWebForACIP(sb.toString(),
getTibDoc(),
start,
withWarnings);
} else
duffdata = TibTextUtils.getTibetanMachineWebForEWTS(sb.toString());
if (!fromACIP) {
getTibDoc().remove(start, i-start);