[hg] main-silver: #225692 - Preview of fold text too narrow.

  • From: Miloslav Metelka < >
  • To: ,
  • Subject: [hg] main-silver: #225692 - Preview of fold text too narrow.
  • Date: Mon, 04 Feb 2013 08:08:50 -0800

changeset e851c93546a5 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/e851c93546a5
description:
        #225692 - Preview of fold text too narrow.

diffstat:

 editor.lib2/src/org/netbeans/modules/editor/lib2/view/ViewBuilder.java |  2 
+-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/editor.lib2/src/org/netbeans/modules/editor/lib2/view/ViewBuilder.java 
b/editor.lib2/src/org/netbeans/modules/editor/lib2/view/ViewBuilder.java
--- a/editor.lib2/src/org/netbeans/modules/editor/lib2/view/ViewBuilder.java
+++ b/editor.lib2/src/org/netbeans/modules/editor/lib2/view/ViewBuilder.java
@@ -1234,7 +1234,7 @@
             for (; pIndex < endIndex; pIndex++) {
                 ParagraphView pView = docView.getParagraphView(pIndex);
                 Shape pAlloc = docView.getChildAllocation(pIndex, 
docViewRect);
-                if (!pView.isChildrenNull()) {
+                if (pView.isChildrenNull()) {
                     LOG.info("Null children for accurate span at pIndex=" + 
// NOI18N
                         pIndex + "\nviewBuilder:\n" + this); // NOI18N
 //                        "\n\ndocView:\n" + 
docView.toStringDetailNeedsLock()); // NOI18N

[hg] main-silver: #225692 - Preview of fold text too narrow.

Miloslav Metelka 02/04/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close