diff --git a/source/org/thdl/tib/input/DuffPane.java b/source/org/thdl/tib/input/DuffPane.java index 2e01e0c..963e0a9 100644 --- a/source/org/thdl/tib/input/DuffPane.java +++ b/source/org/thdl/tib/input/DuffPane.java @@ -931,7 +931,17 @@ public void paste(int offset) { try { Transferable contents = rtfBoard.getContents(this); +/* + if (!isRomanEnabled) { + if (contents.isDataFlavorSupported(DataFlavor.stringFlavor)) { + String data = (String)contents.getTransferData(DataFlavor.stringFlavor); + toTibetanMachineWeb(data, offset); + } + } else if (contents.isDataFlavorSupported(rtfFlavor)) { +*/ + if (contents.isDataFlavorSupported(rtfFlavor)){ + InputStream in = (InputStream)contents.getTransferData(rtfFlavor); int p1 = offset;