Index: javax/swing/text/CompositeView.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/text/CompositeView.java,v retrieving revision 1.12 diff -u -r1.12 CompositeView.java --- javax/swing/text/CompositeView.java 17 Nov 2005 20:45:13 -0000 1.12 +++ javax/swing/text/CompositeView.java 23 Nov 2005 14:20:57 -0000 @@ -661,34 +661,4 @@ { return false; } - - /** - * Returns the document position that is (visually) nearest to the given - * document position pos in the given direction d. - * - * @param c the text component - * @param pos the document position - * @param b the bias for pos - * @param d the direction, must be either address@hidden SwingConstants#NORTH}, - * address@hidden SwingConstants#SOUTH}, address@hidden SwingConstants#WEST} or - * address@hidden SwingConstants#EAST} - * @param biasRet an array of address@hidden Position.Bias} that can hold at least - * one element, which is filled with the bias of the return position - * on method exit - * - * @return the document position that is (visually) nearest to the given - * document position pos in the given direction - * d - * - * @throws BadLocationException if pos is not a valid offset in - * the document model - */ - public int getNextVisualPositionFrom(JTextComponent c, int pos, - Position.Bias b, int d, - Position.Bias[] biasRet) - throws BadLocationException - { - // TODO: Implement this properly. - throw new AssertionError("Not implemented yet."); - } } Index: javax/swing/text/GlyphView.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/text/GlyphView.java,v retrieving revision 1.12 diff -u -r1.12 GlyphView.java --- javax/swing/text/GlyphView.java 17 Nov 2005 20:45:14 -0000 1.12 +++ javax/swing/text/GlyphView.java 23 Nov 2005 14:20:57 -0000 @@ -1057,34 +1057,4 @@ return painter.getNextVisualPositionFrom(this, pos, bias, a, direction, biasRet); } - - /** - * Returns the document position that is (visually) nearest to the given - * document position pos in the given direction d. - * - * @param c the text component - * @param pos the document position - * @param b the bias for pos - * @param d the direction, must be either address@hidden SwingConstants#NORTH}, - * address@hidden SwingConstants#SOUTH}, address@hidden SwingConstants#WEST} or - * address@hidden SwingConstants#EAST} - * @param biasRet an array of address@hidden Position.Bias} that can hold at least - * one element, which is filled with the bias of the return position - * on method exit - * - * @return the document position that is (visually) nearest to the given - * document position pos in the given direction - * d - * - * @throws BadLocationException if pos is not a valid offset in - * the document model - */ - public int getNextVisualPositionFrom(JTextComponent c, int pos, - Position.Bias b, int d, - Position.Bias[] biasRet) - throws BadLocationException - { - // TODO: Implement this properly. - throw new AssertionError("Not implemented yet."); - } } Index: javax/swing/text/WrappedPlainView.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/text/WrappedPlainView.java,v retrieving revision 1.8 diff -u -r1.8 WrappedPlainView.java --- javax/swing/text/WrappedPlainView.java 16 Nov 2005 18:58:51 -0000 1.8 +++ javax/swing/text/WrappedPlainView.java 23 Nov 2005 14:20:58 -0000 @@ -620,36 +620,6 @@ currLineStart = currLineEnd; } } - - /** - * Returns the document position that is (visually) nearest to the given - * document position pos in the given direction d. - * - * @param c the text component - * @param pos the document position - * @param b the bias for pos - * @param d the direction, must be either address@hidden SwingConstants#NORTH}, - * address@hidden SwingConstants#SOUTH}, address@hidden SwingConstants#WEST} or - * address@hidden SwingConstants#EAST} - * @param biasRet an array of address@hidden Position.Bias} that can hold at least - * one element, which is filled with the bias of the return position - * on method exit - * - * @return the document position that is (visually) nearest to the given - * document position pos in the given direction - * d - * - * @throws BadLocationException if pos is not a valid offset - * in the document model - */ - public int getNextVisualPositionFrom(JTextComponent c, int pos, - Position.Bias b, int d, - Position.Bias[] biasRet) - throws BadLocationException - { - // TODO: Implement this properly. - throw new AssertionError("Not implemented yet."); - } /** * This method is called from insertUpdate and removeUpdate.