Search in Lister

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Search in Lister

Post by *Sam_Zen »

If i search for a string with F7, then the search starts at the top line of the window shown.
So if i'm at the bottom of the page, the string is 'not found', because maybe the string occurs at the top of the document.
Out of sight. Nothing else to do than first scroll up, or do Ctrl-Home, before the search.
It would be nice to have an option "search from start' in the dialog.

Maybe this has some connection with the 'Search result - Lines from top of list' item of the configuration.
0.618033988
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Why not use the checkbox
"Search backwards" :?:
Hoecker sie sind raus!
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

I must admit that I overlooked that.
But it would only be valid in a position at the bottom, nof if somewhere in the middle.
0.618033988
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

A command ?

Post by *Clo »

2Sam_Zen

:) Hello Sam !

• Hence, if I got you alright, you would like a command to reverse the search direction
when one is in the the middle or around ?
- This should be indeed interesting, I could support that !

:mrgreen: FR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

An option I hadn't think of, but it could be a help.
But this would introduce the chance of having to do a search twice in the same file.

The search in Lister isn't connected to the position of the cursor, like in an ascii-editor, to search forwards or backwards
from that point, but is related to the start of the top-line of the file-part visible on the screen on that moment.

Even if there's no room for an extra checkbox, it would be more efficient to replace "Search backwards" by
"Search from the beginning", because then the search would cover the whole content.
0.618033988
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Sam_Zen wrote:Even if there's no room for an extra checkbox, it would be more efficient to replace "Search backwards" by
"Search from the beginning", because then the search would cover the whole content.
Support+.

This checkbox should be remembered after closing,
F3 should (still) continue the search from the last position.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

StatusQuo wrote:
Sam_Zen wrote:Even if there's no room for an extra checkbox, it would be more efficient to replace "Search backwards" by
"Search from the beginning", because then the search would cover the whole content.
Support+.
Please ONLY optional :!:
I love my serach backwards :!:
Hoecker sie sind raus!
Post Reply