On Sun, Nov 17, 2013 at 4:45 AM, Edward K. Ream <edream...@gmail.com> wrote:

>
> The new find replace will likely be based on scite and similar editors:
>
> - A separate Search menu.
> - Quite possibly, a Search *tab* distinct from the Find tab.
> - Buttons in the Find/Search tabs initiate the desired actions.
> - Editable find/search text areas to specify the find/search strings.
> - Complete integration with the minibuffer-based commands.
>
> Oh yes, the various search-related bugs must be fixed.  For instance, F2
> does work in headline-only mode!  This is a big project.
>

The gui work is mostly complete. It's clear that a single Find Tab will
suffice.  The Find Tab now has the following six buttons:

    Find Next,Find Previous,Find All,
    Replace,Replace Then Find and Replace All.

I am as horrified by the code as I was by the response to the screencast
;-) Some of it is more than 10 years old.  It must be rid of layer upon
layer of subclasses, delegates, cruft, Tk'isms and other forms of
stupidity.  This will create a simpler base from which to fix the numerous
(long standing!) bugs in Leo's find commands.

Alas, the Spell tab is mixed up in this foolishness, so it must be revised
as well.

Experiments with the new Find Pane show that it is wrong to rip focus away
from it when a find command completes.  Instead of using the log to report
status (which hides the Find Pane), some other status area will be used.
The Find All command may write to another tab, without showing it by
default.

By default (newbie settings) Ctrl-F will put focus directly into the Find
Text box.  Tab will move to the Replace Text box.  Further tabs will select
buttons, and even more tabs will select settings.  Return will execute a
button if it is selected.  Space will toggle settings if they are selected.

Something like @bool minibuffer-find = True will enable the present mode of
operation, which is easier on my eyes.

I expect to complete this in a day or so.  It will then be time to redo the
find screencast.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to