Menu ▾ ▴

Bug : Very Slow Find&Replace

Gish
2009-06-12
2012-11-13
  • Gish

    Gish - 2009-06-12

    All release of Notepad++ up to 5.4.3 perform a very SLOW find&replace of large number of short string or characters (e.g replace 100000 characters "," with ":"); moreover, the "undo" or "redo" after these huge search&replace  can hung Notepad++.
    Such bug appears randomly but can be verified repeating the search&replace a couple of times on a large file.

    Please note that this behaviour is strange, considering that Notepad++ is at least 20 time slower (or it even hungs) compared to other editor based on Scintilla, such as Wscite or Programmer Notepad  (the same used by Notepad++). or other similar editor (e.g. Jedit)

     
    • Worried

      Worried - 2009-06-12

      I did start a thread "Navigating using the find all in current document" on June 8.  It appears that you are facing a similar problem.  There is something going on with the find/replace functions on n++ for large files.  I am not a developer, so some of us would appreciate if someone with the right knowlege have a look at it to see if there is an easy fix.  Thanks.

       
    • cchris

      cchris - 2009-06-12

      I can confirm that searching dfor "else" in the 5.4.2 source folder recursive hangs N++ 5.4.3. Must kill using task manager after say 10 minutes (WinXP SP3, 1Go RAM).

      CChris