This is currently not applied, Robert has taken the bug and modified this differently.

Audrius

Audrius Meskauskas wrote:

2006-05-03 Audrius Meskauskas <[EMAIL PROTECTED]>

* javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
Do not care about pos < currLineEnd if currLineStart == currLineEnd.


------------------------------------------------------------------------

Index: WrappedPlainView.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/text/WrappedPlainView.java,v
retrieving revision 1.20
diff -u -r1.20 WrappedPlainView.java
--- WrappedPlainView.java       3 May 2006 08:27:40 -0000       1.20
+++ WrappedPlainView.java       4 May 2006 07:18:57 -0000
@@ -563,8 +563,8 @@
          // If pos is between currLineStart and currLineEnd then just find
          // the width of the text from currLineStart to pos and add that
          // to rect.x
- if (pos >= currLineStart && pos < currLineEnd || - (currLineEnd==currLineStart) ) + if (pos >= currLineStart + && (pos < currLineEnd || currLineEnd==currLineStart) ) { try
                {


Reply via email to