[bug #16017] viewer position from "find file" dialog vs. parsed files



URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16017>

                 Summary: viewer position from "find file" dialog vs. parsed
files
                 Project: GNU Midnight Commander
            Submitted by: ossi
            Submitted on: Mon 03/06/06 at 20:05
                Category: Viewer
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: current (CVS or snapshot)
        Platform Version: All

    _______________________________________________________

Details:

the "find file" dialog does seaching on unfiltered file contents. it tells
the viewer to start viewing a the line of the match. however, if the file is
filtered ("parsed", as opposed to "raw") before viewing (e.g., lynx -dump),
the line number is applied to the filtered output - usually with "suboptimal"
results.

i'm not sure what to do about this. translating the line numbers would
require cooperation from the filter, which is sort of impossible for external
filters. and grepping on filtered files would be sloooow. maybe like this: if
matches are found and the file is "formattable", filter it and grep again and
display that as the result. alternatively, force the viewer into raw mode, but
i would not like this.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16017>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]