diff --git a/source/org/thdl/tib/input/DuffPane.java b/source/org/thdl/tib/input/DuffPane.java index e27c229..1aee00d 100644 --- a/source/org/thdl/tib/input/DuffPane.java +++ b/source/org/thdl/tib/input/DuffPane.java @@ -1600,7 +1600,7 @@ public void paste(int offset) { * corresponding to one of these glyphs, then noSuchWylie[0] will be * set to true * @return the string of Wylie corresponding to the associated document -* @see org.thdl.tib.text.TibetanDocument#getWylie() */ +* @see org.thdl.tib.text.TibetanDocument#getWylie(boolean[]) */ public String getWylie(boolean noSuchWylie[]) { return getTibDoc().getWylie(noSuchWylie); } diff --git a/source/org/thdl/tib/text/TibetanDocument.java b/source/org/thdl/tib/text/TibetanDocument.java index b5b9249..36e1d6b 100644 --- a/source/org/thdl/tib/text/TibetanDocument.java +++ b/source/org/thdl/tib/text/TibetanDocument.java @@ -703,9 +703,9 @@ public class TibetanDocument extends DefaultStyledDocument { cases will be appended to this StringBuffer @return false on 100% success, true if any exceptional case was encountered - @see #convertToUnicode(int,int,StringBuffer,String) - @see #convertToTMW(int,int,StringBuffer) - @see #convertToTM(int,int,StringBuffer) */ + @see #convertToUnicode(int,int,StringBuffer,String,long[]) + @see #convertToTMW(int,int,StringBuffer,long[]) + @see #convertToTM(int,int,StringBuffer,long[]) */ private boolean convertHelper(int begin, int end, boolean toTM, boolean toUnicode, StringBuffer errors, String unicodeFont, diff --git a/source/org/thdl/util/RTFFixerInputStream.java b/source/org/thdl/util/RTFFixerInputStream.java index d37dcd2..a2744b0 100644 --- a/source/org/thdl/util/RTFFixerInputStream.java +++ b/source/org/thdl/util/RTFFixerInputStream.java @@ -27,8 +27,8 @@ import java.io.BufferedInputStream; import java.io.InputStream; -/** Provides an input stream that fixes an RTF input stream so that it - no longer contains hexadecimal escapes that {@see +/** Provides an input stream that fixes another RTF input stream so + that it no longer contains hexadecimal escapes that {@link javax.swing.text.rtf#RTFEditorKit} cannot understand. Instead, Unicode escapes (that can be understood) are used. This is almost as fast as possible. @@ -43,14 +43,19 @@ public class RTFFixerInputStream extends FilterInputStream { then just the 32 "\\\'8X" and "\\\'9X" escapes are replaced. */ private boolean replaceAllHexEscapes = false; - /** 7, as in "\\u255 ?" (KEEP THIS IN SYNC WITH addASpace) */ + /** The number of bytes in the Unicode RTF escape sequence that we + will use after processing. I.e., 7, as in "\\u255 ?" (KEEP THIS IN + SYNC WITH addASpace) */ static final int bytesInNewEscape = 7; - /** true if you want "\\u255 ?" instead of "\\u255?" (KEEP THIS IN SYNC WITH bytesInNewEscape) */ + /** True if you want a space in your Unicode RTF escape. I.e., + true if you want "\\u255 ?" instead of "\\u255?" (KEEP THIS IN + SYNC WITH bytesInNewEscape) */ private static final boolean addASpace = true; private boolean weSubstitutedAtLeastOnce = false; - /** 4, as in "\\\'ff" */ + /** The number of bytes in the RTF hexadecimal escape. I.e., 4, + as in "\\\'ff". */ static final int bytesInOldEscape = 4; /** an instance field just to avoid needless heap allocation */ private final byte readHelper[] = new byte[bytesInNewEscape];