Re: [cp-patches] RFC: fixed & implemented highlighting - 2nd try

2006-02-21 Thread Lillian Angel
On Tue, 2006-02-21 at 09:45 -0500, Lillian Angel wrote: > I get this when I run the swing demo. Any idea why? > > [EMAIL PROTECTED] examples]$ jamvm gnu/classpath/examples/swing/Demo > Exception during event dispatch: > java.lang.NullPointerException >at javax.swing.text.WrappedPlainView.updat

Re: [cp-patches] RFC: fixed & implemented highlighting - 2nd try

2006-02-21 Thread Lillian Angel
On Tue, 2006-02-21 at 11:56 +0100, Robert Schuster wrote: > Committed - Roman reviewed the first version. > > cya > Robert > I get this when I run the swing demo. Any idea why? [EMAIL PROTECTED] examples]$ jamvm gnu/classpath/examples/swing/Demo Exception during event dispatch: java.lang.NullPo

Re: [cp-patches] RFC: fixed & implemented highlighting - 2nd try

2006-02-21 Thread Robert Schuster
Committed - Roman reviewed the first version. cya Robert Robert Schuster wrote: > Hi all. > > I fixed to small errors in this patch that lead to strange behavior: > > >>+ // Last line, from beginning-of-line to p1. >>+ r0.width = r1.x + r1.width; > > Had to add -1 to the calculation

[cp-patches] RFC: fixed & implemented highlighting - 2nd try

2006-02-21 Thread Robert Schuster
Hi all. I fixed to small errors in this patch that lead to strange behavior: > + // Last line, from beginning-of-line to p1. > + r0.width = r1.x + r1.width; Had to add -1 to the calculation above otherwise there were drawing differences between single line and multi line selections. >