find in viewer
Nerijus Baliunas
nerijus at users.sourceforge.net
Wed Nov 1 22:57:11 UTC 2006
Hello,
could this patch please be committed to cvs (I am attaching it for your convenience)?
BTW, how this patch works when two mc are running? If I search in 1st mc,
then in 2nd mc, and then again in 1st mc, what will I get - last text from
1st or 2nd? I'd prefer from 1st, i.e. different mc sessions to be independent.
Regards,
Nerijus
On Tue, 23 May 2006 15:44:30 +0300 (EEST) Pavel Tsekov <ptsekov at gmx.net> wrote:
> > On Thu, May 18, 2006 at 05:42:45PM +0300, Pavel Tsekov wrote:
> >> I guess in the long term the last seach string should be remembered
> >> onto persistent storage as for example the file positions.
> >>
> > yes.
>
> How about the following patch ? This is not a final version - I am just
> posting it to see whether you like the idea. The patch uses the input
> field's ability to automatically retrieve the last entered text from
> the history. The last search expression would be loaded in the input
> field even after you've exited MC and then launch it again - this differs
> from the old behaviour where the search expression would be lost on MC
> exit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view-persistent-search.patch
Type: application/octet-stream
Size: 1769 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20061102/9999a8e2/attachment.obj>
More information about the mc-devel
mailing list