Search in Lister

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

bbutcher
Junior Member
Junior Member
Posts: 22
Joined: 2009-02-28, 18:48 UTC

Search in Lister

Post by *bbutcher »

Search in Lister check text only down from cursor and cannot search in whole file, if file was scrolled.

1. Open any big text file.
2. Scroll it to the middle.
3. Press Crtl+F
4. Try to find any string in this file, which present only in text above current screen.
5. Lister will say: "Not found".

Why Lister cannot seek text in whole file without reference to currect scroll (for ex., like MS Word)?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Tick the box

Post by *Clo »

2bbutcher

:) Hello !

• On the Search dialogue, just tick the box [×] Search backwards and it works.
- You must do it prior.

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Clo,

A "Wrap at the end of file" would actually be a better option to have.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Search in a loop ?

Post by *Clo »

2Boofo

:) Most certainly, Bob … But I'm not sure that “Search as a loop” might be set by default (?).
- What do you think ?

:mrgreen: KR
Claude
clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Clo,

Yes, to have it set as default would be the only way to go. EditPlus has that feature and I use it constantly.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

No bug but lacuna

Post by *Clo »

[mod]Thread moved to “TC7.5 Suggestions” since there is no bug, but the feature is missing…
Clo, moderator.[/mod]
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I would think,
"Foobar not found! Continue search from Beginning?"
[OK] [Cancel]
I dont think it even needs to be an option, instead of just popping up with Not found, give the option to research from beginning - problem solved.
bbutcher
Junior Member
Junior Member
Posts: 22
Joined: 2009-02-28, 18:48 UTC

Post by *bbutcher »

Lister is not editor, it's only viewer. Why search in it is dependent from cursor position?

Why I must before each search in text file press Ctrl+Home for putting invisible cursor to the beginig of file? It's uncomfortable.

Imho, search in loop is useful, than confirmation or current behavour.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

The cursor isn't invisible. At least it doesn't have to be:
Wincmd.ini, Helpfile: Ini File Settings
[Lister]
Caret=1 Show caret (text cursor), e.g. to select text with the keyboard.
And I doubt many would agree that search should automatically start from the top every time you search, that would be incredibly annoying.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Balderstrom wrote:The cursor isn't invisible. At least it doesn't have to be:
Wincmd.ini, Helpfile: Ini File Settings
[Lister]
Caret=1 Show caret (text cursor), e.g. to select text with the keyboard.
And I doubt many would agree that search should automatically start from the top every time you search, that would be incredibly annoying.
Is it a bit easier to press F6 in lister instead of modifying wincmd.ini? :wink:
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Hehehe, I scrolled right past that in the Lister Options menu -- when I clicked on "Configure" and couldn't see it in the "Configure Lister" menu.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Balderstrom wrote:instead of just popping up with Not found, give the option to research from beginning - problem solved.
Support.
This way F3 wouldn't loop through the file without notifying the user that searching started over at the beginning.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
bbutcher
Junior Member
Junior Member
Posts: 22
Joined: 2009-02-28, 18:48 UTC

Post by *bbutcher »

Balderstrom wrote:And I doubt many would agree that search should automatically start from the top every time you search, that would be incredibly annoying.
Ok. For example, why not from current position to end and then from top to current position? Why search cannot automaticaly seek text in whole file if text was scrolled?
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Because it is polite.

Hey there Balderstrom Sir, I couldn't find anything. I tried very hard. Do you wish me to continue from the beginning?

No, that's ok FindTool, that would be a waste of time...there was a reason I made you start in the middle and didn't tell you to search backwards, but thank you anyways.
bbutcher
Junior Member
Junior Member
Posts: 22
Joined: 2009-02-28, 18:48 UTC

Post by *bbutcher »

:lol:
Post Reply