Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

savannah: viewer position from "find file" dialog vs. parsed files #39

Open
mc-butler opened this issue Dec 25, 2008 · 6 comments
Open
Labels
area: mcview mcview, the built-in text editor prio: low Minor problem or easily worked around

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/39
Reporter ossi (@ossilator)

Original: http://savannah.gnu.org/bugs/?16017

Submitted by:Oswald Buddenhagen <ossi>Submitted on:Mon 06 Mar 2006 07:05:52 PM UTC
Category:ViewerSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:current (CVS or snapshot)Operating System:All

Original submission:

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. 
@mc-butler
Copy link
Author

Changed by styx (@styx) on May 25, 2009 at 6:49 UTC (comment 1)

  • Milestone set to future releases

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on Apr 7, 2010 at 12:24 UTC (comment 2)

  • Type changed from defect to enhancement
  • Severity set to no branch

@mc-butler
Copy link
Author

Changed by ossi (@ossilator) on Aug 1, 2010 at 14:03 UTC (comment 3)

  • Component changed from mc-core to mcview
  • Cc set to ossi@….org
  • Priority changed from major to minor

@mc-butler
Copy link
Author

Changed by ossi (@ossilator) on Jan 11, 2014 at 16:05 UTC (comment 4)

  • Description edited
  • Branch state set to no branch
  • Reporter changed from slavazanko to oss
  • Cc ossi@….org deleted

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 2, 2015 at 2:42 UTC (comment 5)

Ticket #3532 has been marked as a duplicate of this ticket.

@mc-butler
Copy link
Author

Changed by ossi (@ossilator) on Sep 15, 2021 at 14:52 UTC (comment 6)

  • Reporter changed from oss to ossi

@mc-butler mc-butler marked this as a duplicate of #3532 Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcview mcview, the built-in text editor prio: low Minor problem or easily worked around
Development

No branches or pull requests

1 participant