[hg] main-silver: #232133: additional logging provided

  • From: Svata Dedic < >
  • To:
  • Subject: [hg] main-silver: #232133: additional logging provided
  • Date: Wed, 10 Jul 2013 23:36:12 -0700

changeset 2a9d5842087c in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/2a9d5842087c
description:
        #232133: additional logging provided

diffstat:

 
editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/CodeFoldingSideBar.java
 |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff --git 
a/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/CodeFoldingSideBar.java
 
b/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/CodeFoldingSideBar.java
--- 
a/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/CodeFoldingSideBar.java
+++ 
b/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/CodeFoldingSideBar.java
@@ -478,6 +478,12 @@
                     }
                     
                     if (map.isEmpty() && foldList.size() > 0) {
+                        if (foldList.size() != 1) {
+                            LOG.log(Level.WARNING, "More folds found on 
screen, but no fold in paint map. foldList: {0},"
+                                    + "foldHierarchy: {1}", new Object[] {
+                                    foldList, hierarchy.toString()
+                                    });
+                        }
                         assert foldList.size() == 1;
                         PaintInfo pi = new PaintInfo(PAINT_LINE, 0, clip.y, 
clip.height, -1, -1);
                         mouseBoundary = new Rectangle(0, 0, 0, clip.height);

[hg] main-silver: #232133: additional logging provided

Svata Dedic 07/11/2013

Project Features

About this Project

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