Lister/several files - option to jump (or not) from last to first and vice-versa

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
amach
Junior Member
Junior Member
Posts: 41
Joined: 2003-04-09, 14:23 UTC
Location: Brazil

Lister/several files - option to jump (or not) from last to first and vice-versa

Post by *amach »

When we select several files (e.g. text files) and use the command to show them all in Lister, then we can use the keys N and P to jump to next or previous file, respectively. When reaching the last file and typing N again, or when in first one and typing P, it jumps over to the other end (first↔last).
I'd like to ask for an option to enable/disable that behavior, that is, when typing N or P towards the end of the list, a dialog should be shown, just like searching for a text and finding no more matches. E.g.

Code: Select all

[Lister]
JumpOverFirstOrLastFile=1
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Lister/several files - option to jump (or not) from last to first and vice-versa

Post by *Usher »

amach wrote: 2019-03-15, 21:28 UTCJumpOverFirstOrLastFile=1
Why so complicated? Why not LoopView or ViewInLoop?
Andrzej P. Wozniak
Polish subforum moderator
amach
Junior Member
Junior Member
Posts: 41
Joined: 2003-04-09, 14:23 UTC
Location: Brazil

Re: Lister/several files - option to jump (or not) from last to first and vice-versa

Post by *amach »

Usher wrote: 2019-04-15, 16:15 UTC Why so complicated? Why not LoopView or ViewInLoop?
The name of the option is the least important thing here, it was just an example. As long as it works, it could have any name.
If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved. (Romans 10.9)
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Lister/several files - option to jump (or not) from last to first and vice-versa

Post by *Usher »

It wasn't an example, it was misleading description. In most programs this feature is called "loop", see IrfanView options for EXAMPLE:
  • Browsing / Editing
    If the end/begin of the folder is reached (during browsing)
    ◎ Show Browse dialog ◉ Loop current folder ◎ Do nothing (stop)
  • Video / Sound
    ◉ Use internal video/sound player:
       ☐ …
       ☑ Loop
Andrzej P. Wozniak
Polish subforum moderator
Post Reply