[cp-patches] FYI: Caret fixes

2005-11-03 Thread Roman Kennke
Hi, this fixes the blinking stuff in the DefaultCaret implementation as well as some minor issues. Most importantly, this sets up the blink timer when first needed, not earlier. Should save some threading/eventqueue load when setting up a GUI with many text components. Also, this fixes the

[cp-patches] FYI: Some Swing text additions

2005-11-03 Thread Roman Kennke
Hi, I implemented the last missing methods in javax.swing.text.Utilities. These should then be used by the text components to place the caret when moving up or down using the arrow keys. I had to add an abstract method to View, and an implementation of this to all existing View implementations.

[cp-patches] FYI: DefaultTextUI added

2005-11-03 Thread Roman Kennke
Hi, I added the deprecated DefaultTextUI class. 2005-11-02 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/DefaultTextUI.java: New file. /Roman Index: javax/swing/text/DefaultTextUI.java === RCS file:

[cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Meskauskas Audrius
Our JTextField contains an imaginary end of line character (0xA), but the new text must be always inserted before it, not after. When clicking right from the last character in the field, the PlainTextView.viewToModel should return the position before the end of line character and not after the

[cp-patches] FYI: BasicTextUI fix

2005-11-03 Thread Roman Kennke
Obviously my previous addition of an abstract method broke the build because I forgot the RootView in BasicTextUI. I fixed this. 2005-11-02 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicTextUI.java (RootView.getNextVisualPositionFrom): New method. /Roman Index:

[cp-patches] Patch: MenuItem fix

2005-11-03 Thread Lillian Angel
Fixes Bug #24651 2005-11-03 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicMenuItemUI.java: Changed field to be the gap between the different menu's instead. defaultTextArrowGap is not needed. (getPreferredMenuItemSize): Adjusted preferred size of

[cp-patches] FYI: updates to WrappedPlainView and JTextComponent

2005-11-03 Thread Anthony Balkissoon
This patch fixes a bug in JTextComponent.select, the end of the selection is constrained to be = the start of the selection, not 0. This is fixed. I implemented WrappedPlainView.drawLine to properly call drawUnselectedText and drawSelectedText rather than just drawing the whole line using

Re: [cp-patches] Patch: DefaultTableCellRenderer fix

2005-11-03 Thread Lillian Angel
Further testing some apps, I overlooked something really trivial. I have changed this patch completely. The problem was not the border, but the background color of the actual cell renderer (label) maybe set differently than that of the table. I fixed this. 2005-11-03 Lillian Angel [EMAIL

[cp-patches] FYI: more WrappedPlainView improvements

2005-11-03 Thread Anthony Balkissoon
This patch implements insertUpdate and removeUpdate for WrappedPlainView.WrappedLine and also fixes some small issues in WrappedPlainView. ChangeLog entry explains them. 2005-11-03 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/WrappedPlainView.java: Fixed some 80 chars

Re: [cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Roman Kennke
Hi Audrius, Am Donnerstag, den 03.11.2005, 15:50 +0100 schrieb Meskauskas Audrius: Our JTextField contains an imaginary end of line character (0xA), but the new text must be always inserted before it, not after. When clicking right from the last character in the field, the

[cp-patches] Patch: BasicTreeUI and DefaultTableCellRenderer fix

2005-11-03 Thread Lillian Angel
The ChangeLog fully explains all changes to BasicTreeUI. For DefaultTableCellRenderer, Roman suggested I fix it this way. Both ways work, but this looks a bit more intuitive. 2005-11-03 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicTreeUI.java (mousePressed): If

Re: [cp-patches] Patch: BasicTreeUI and DefaultTableCellRenderer fix

2005-11-03 Thread Roman Kennke
Hi there, Am 3.11.2005 schrieb Lillian Angel [EMAIL PROTECTED]: For DefaultTableCellRenderer, Roman suggested I fix it this way. Both ways work, but this looks a bit more intuitive. 2005-11-03 Lillian Angel [EMAIL PROTECTED] [..] * javax/swing/table/DefaultTableCellRenderer.java

[cp-patches] FYI: Add 0.19 to the homepage

2005-11-03 Thread Mark Wielaard
Hi, This adds the announcement to our home, news and download pages. 2005-11-03 Mark Wielaard [EMAIL PROTECTED] * doc/www.gnu.org/announce/20051102.wml: New file. * doc/www.gnu.org/newsitems.txt: Add 0.19 release announcement. * doc/www.gnu.org/downloads/downloads.wml:

Re: [cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Roman Kennke
Hi there, Am 3.11.2005 schrieb Roman Kennke [EMAIL PROTECTED]: Hi Audrius, Am Donnerstag, den 03.11.2005, 15:50 +0100 schrieb Meskauskas Audrius: Our JTextField contains an imaginary end of line character (0xA), but the new text must be always inserted before it, not after. When clicking