Menu

#659 [ENHANCEMENT] Improve Find In Files

Next_release
open
nobody
None
5
2015-05-08
2015-03-22
Pavel Nedev
No

This patch implements several FinInFiles enhancements. Most of them are taken from this discussion and what people have suggested there.

Here is a summary of what is changed/fixed/implemented:
1. When FindInFiles is started for the first time since Notepad++ start then only the progress window appears OK. Other N++ windows are not updated and look crappy. This is fixed.
2. When user cancels the FindInFile operation the canceled results so far are discarded now and the FindDialog stays open. Results window is not shown in this case. Same thing happens also when there are zero matches. Both these cases are reported in the FindDialog status bar.
3. Progress now starts before making the list of files to search. Now it is possible to cancel this search step also.
4. Progress window position is now connected with FindDialog position - this is helpful on configurations with several monitors where the progress used to appear between the monitors.
5. Progress window now auto-fits the currently processed file name to its size by showing dots in the middle of the path so there is no text wrapping on multiple lines in case of long paths.
6. Progress window now gives more information about the search stage. It shows the currently indexed directory, then the currently searched file and on user cancel event - the cancelling action.
7. Progress window disables FindDialog now and re-enables it when search is over. This emulates modal progress window to some extent.
8. Several non-functional optimization are made.

1 Attachments

Discussion

  • Pavel Nedev

    Pavel Nedev - 2015-04-02

    Just saw bug report #5212 - this patch fixes it (see point 5).

     
  • Don HO

    Don HO - 2015-05-08

    Could you break down this big path into logical smaller ones and do some pull requests on Notepad++ github repo?

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.