CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 05/10/14 17:21:21
Modified files: . : ChangeLog javax/swing/text: DefaultCaret.java Log message: 2005-10-14 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/text/DefaultCaret.java: (ALWAYS_UPDATE): New field. (NEVER_UPDATE): New field. (UPDATE_WHEN_ON_EDIT): New field. (insertUpdate): Fixed docs. Only update the dot if the policy is ALWAYS_UPDATE or if the policy is UPDATE_WHEN_ON_EDT and the event was generated on the Event Dispatch thread. (removeUpdate): Fixed docs. Only update the dot if the policy is ALWAYS_UPDATE, if the policy is UPDATE_WHEN_ON_EDT and the event was generated on the Event Dispatch thread, or if the document length has become less than the current dot position. (setUpdatePolicy): New method. (getUpdatePolicy): New method. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5228&tr2=1.5229&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/DefaultCaret.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text