[hg] main-silver: #235270:org.netbeans.modules.jumpto.file.FileS...

  • From: Tomas Zezula < >
  • To: ,
  • Subject: [hg] main-silver: #235270:org.netbeans.modules.jumpto.file.FileS...
  • Date: Wed, 18 Sep 2013 10:35:20 -0700

changeset 0099de1290e2 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/0099de1290e2
description:
        
#235270:org.netbeans.modules.jumpto.file.FileSearchAction.getSelectedFiles: 
LowPerformance took 39031 ms.

diffstat:

 jumpto/src/org/netbeans/modules/jumpto/file/FileSearchAction.java |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff --git 
a/jumpto/src/org/netbeans/modules/jumpto/file/FileSearchAction.java 
b/jumpto/src/org/netbeans/modules/jumpto/file/FileSearchAction.java
--- a/jumpto/src/org/netbeans/modules/jumpto/file/FileSearchAction.java
+++ b/jumpto/src/org/netbeans/modules/jumpto/file/FileSearchAction.java
@@ -312,6 +312,9 @@
                         initSearchText = recentPane.getSelectedText();
                     }
                     if (initSearchText != null) {
+                        if (initSearchText.length() > 256) {
+                            initSearchText = initSearchText.substring(0, 
256);
+                        }
                         panel.setInitialText(initSearchText);
                     } else {
                         FileObject fo = 
arr[0].getLookup().lookup(FileObject.class);

[hg] main-silver: #235270:org.netbeans.modules.jumpto.file.FileS...

Tomas Zezula 09/18/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