[hg] main-silver: #225056 - Double pasting and double delete on ...

  • From: Milutin Kristofic < >
  • To: ,
  • Subject: [hg] main-silver: #225056 - Double pasting and double delete on ...
  • Date: Tue, 22 Jan 2013 09:39:21 -0800

changeset 89c3ea3ec65f in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/89c3ea3ec65f
description:
        #225056 - Double pasting and double delete on Mac OSX - logging

diffstat:

 editor.lib/src/org/netbeans/editor/BaseKit.java |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (32 lines):

diff --git a/editor.lib/src/org/netbeans/editor/BaseKit.java 
b/editor.lib/src/org/netbeans/editor/BaseKit.java
--- a/editor.lib/src/org/netbeans/editor/BaseKit.java
+++ b/editor.lib/src/org/netbeans/editor/BaseKit.java
@@ -1810,6 +1810,14 @@
                     return;
                 }
 
+                if (LOG.isLoggable(Level.FINER)) {
+                    StringBuilder sb = new StringBuilder("DeleteCharAction 
stackTrace: \n");
+                    for (StackTraceElement ste : 
Thread.currentThread().getStackTrace()) {
+                        sb.append(ste.toString()).append("\n");
+                    }
+                    LOG.log(Level.FINER, sb.toString());
+                }
+
                final BaseDocument doc = (BaseDocument)target.getDocument();
                final Caret caret = target.getCaret();
                final int dot = caret.getDot();
@@ -2072,6 +2080,13 @@
                     return;
                 }
                 
+                if (LOG.isLoggable(Level.FINER)) {
+                    StringBuilder sb = new StringBuilder("PasteAction 
stackTrace: \n");
+                    for (StackTraceElement ste : 
Thread.currentThread().getStackTrace()) {
+                        sb.append(ste.toString()).append("\n");
+                    }
+                    LOG.log(Level.FINER, sb.toString());
+                }
                 
                 final BaseDocument doc = Utilities.getDocument(target);
                 if (doc==null) return;

[hg] main-silver: #225056 - Double pasting and double delete on ...

Milutin Kristofic 01/22/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 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close