Menu

N++ 3.7 "Find next" bug

2006-06-24
2012-11-13
  • Nobody/Anonymous

    seems like for version 3.7, we have to highlight a work before we can start performing "find next"

    The previous word entered in the search dialog is not saved for performing "find next"

     
    • Nobody/Anonymous

      Before I gripe - GREAT editor!!

      I just installed 3.7. This find bug is painful, so I am revert to 3.6.

      Here's what happens in either case:
      1. Highlight word with F3 or search dialogue. 
      2. Use F3 to search for next occurence of word.

      This works until a cursor key is used, in which case F3 will not find the next occurence of the word.
      In addition, Ctrl-F3 does nothing at all with the word, while Shift-F3 will search for the previous word - until an arrow key is used.

      My take on it? F3 should only ever repeat the last searched for item AND direction. It should never automatically select a word and search forward. F3 is defined as Find Next, which to me implies, repeat the last search criteria.

       
    • Nobody/Anonymous

      I thought I'd clarify the way I believe the search functionality should behave.
      Ctrl-F   - initiate search dialog.
      Ctrl-F3  - select word and search forward
      Shift-F3 - select word and search backward
      F3 - DO NOT select word, but repeat last active search set by either Ctrl-F or Ctrl-F3 or Shift-F3

       
    • blikksem

      blikksem - 2006-07-06

      Just registered for SourceForge - ID is blikksem

       
    • blikksem

      blikksem - 2006-07-12

      Much oblidged Don.
      Looking forward to 3.8

       
    • Nobody/Anonymous

      I think I supplied Don with some 'fixes' surrounding F3 in addition to the Windows dialog.  Not sure if he rolled those back in to the main branch or not.

      For me F3, Ctrl-F3, Shift-F3 all seem to work but perhaps its just my workflow as I hardly ever use Ctrl-F because I dont like dialogs for simple searches.

      The changes did have to be merged through 3 or 4 releases of npp so perhaps something was broken as a result.  If so, I appologize and will investigate further when I have some time.

      My Ctrl-F3 autoselects any word and starts a forward search using that word if no word was selected.  I dont think previous builds of npp did anything when F3 was selected unless Ctrl-F was used first.

       
MongoDB Logo MongoDB