CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Robert Schuster <[EMAIL PROTECTED]> 06/02/16 08:45:28
Modified files: . : ChangeLog javax/swing/text: DefaultEditorKit.java JTextComponent.java Log message: This fixes PR #26158 and optimizes stuff a little bit. 2006-02-16 Robert Schuster <[EMAIL PROTECTED]> * javax/swing/text/JTextComponent.java: (replaceSelection): Added code to update the magic caret position. * javax/swing/text/DefaultEditorKit.java: Added code to update the magic caret position of the text component in all relevant movement actions, make use of the magic caret position in up and down movements and selections, simplified some actions (code-wise). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6413&tr2=1.6414&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/DefaultEditorKit.java.diff?tr1=1.28&tr2=1.29&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/text/JTextComponent.java.diff?tr1=1.52&tr2=1.53&r1=text&r2=text