gcc/libjava ChangeLog javax/swing/plaf/basic/B ...

mkoch@gcc.gnu.org mkoch@gcc.gnu.org
Mon Aug 30 12:09:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	java-gui-branch
Changes by:	mkoch@gcc.gnu.org	2004-08-30 12:09:31

Modified files:
	libjava        : ChangeLog 
	libjava/javax/swing/plaf/basic: BasicLookAndFeel.java 
	                                BasicTextUI.java 
	libjava/javax/swing/text: DefaultCaret.java 
	                          DefaultEditorKit.java 
	                          DefaultHighlighter.java PlainView.java 
	                          Utilities.java 

Log message:
	2004-08-30  Michael Koch  <konqueror@gmx.de>
	
	* javax/swing/plaf/basic/BasicLookAndFeel.java
	(initComponentDefaults): Add keybindings for selection.backward and
	selection-forward for text components.
	* javax/swing/plaf/basic/BasicTextUI.java
	(paintSafely): Paint highlight only when something is actually
	selected.
	* javax/swing/text/DefaultCaret.java
	(handleHighlight): New method.
	(setSelectionVisible): Don't do anything when nothing changes.
	Handle highlight.
	(moveDot): Reimplemented. Handle highlight.
	(setDot): Set mark too. Handle highlight.
	(getSelectionPainter): New method.
	* javax/swing/text/DefaultEditorKit.java
	(defaultActions): Added new actions for text selection.
	* javax/swing/text/DefaultHighlighter.java
	(DefaultHighlightPainter): New inner class.
	(DefaultPainter): New field.
	(paint): Implemented.
	* javax/swing/text/PlainView.java
	(paint): Don't draw background here again.
	* javax/swing/text/Utilities.java
	(getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
	(drawTabbedText): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.359&r2=1.2660.2.360
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicLookAndFeel.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.4.2.19&r2=1.4.2.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicTextUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.4.16.13&r2=1.4.16.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/text/DefaultCaret.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.8.8&r2=1.3.8.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/text/DefaultEditorKit.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.4.8.5&r2=1.4.8.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/text/DefaultHighlighter.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/text/PlainView.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/text/Utilities.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.4&r2=1.1.2.5



More information about the Gcc-cvs mailing list