Ticket #2365 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

Repeat previous quicksearch on C-s C-s

Reported by: E.L.K. Owned by: slavazanko
Priority: minor Milestone: 4.7.5
Component: mc-core Version: 4.7.4
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: commited-master

Description

There is a handy thing - repeat the previous search in panel in case if user pressed C-s C-s (without entering text).

Example usage:

  1. bunch of photos and videos in directory
  2. C-s *.avi
  3. view video found
  4. C-s C-s to the next video (*.avi) file.

Patch attached.

There is, however, problem with this patch: in case if no such file in the panel, every next C-s will lead to deleting of last char in the search pattern. I have no idea which behaviour there will be the better, so for now i left as it is.

Attachments

previous_seach.patch (1.5 KB) - added by E.L.K. 6 years ago.
previous search patch

Change History

Changed 6 years ago by E.L.K.

previous search patch

comment:1 Changed 6 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.5

Thanks! Applied with some changes.

Created 2365_quick_search branch. Parent branch is master.
changeset:0cf86fa66abda5226fe7cd957669822d00d3509b

comment:2 Changed 6 years ago by slavazanko

Have two minor changesent in branch:

comment:3 Changed 6 years ago by angel_il

  • Votes for changeset set to angel_il

comment:4 Changed 6 years ago by slavazanko

  • Keywords stable-candidate added
  • Owner changed from andrew_b to slavazanko
  • Votes for changeset changed from angel_il to angel_il slavazanko
  • severity changed from on review to approved

comment:5 Changed 6 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from angel_il slavazanko to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:6 Changed 5 years ago by andrew_b

  • Status changed from testing to closed
  • Keywords stable-candidate removed
Note: See TracTickets for help on using tickets.