Menu

several search bugs

Anonymous
2008-03-29
2012-11-13
  • Anonymous

    Anonymous - 2008-03-29

    hello,
    can someone confirm these search bugs:

    bug 1: search display position isn't maintained:
    if you select in the search menu: display position middle the view should
    be placed, so that the match is placed in the middle of the viewing field.

    this works fine for the first match and if the next match is outside of the
    current view. but if you have several matches close by, with each new match
    the cursor moves upward in the viewing field until it reaches the second
    line from above.

    bug 2: problem with search wraparound in large files
    if you search in a large file for a text and npp wraps-around / starts again
    at the document beginning, the view for the first match isn't placed where
    the cursor (the text match is), but instead somewhere else.

    how to reproduce:
    create a file with many lines (~30.000 here), place two (or more) matches
    in it and search for it using wrap around.