my avoidance of Leo's native S&R has less to do with mouse reliance than
the extra steps.
---
Later: after watching screen cast and trying again. There are a few more
key presses, e.g. [ctrl-shift-R] vs [ctrl-H], but mostly I think is
cognitive dissonance.
In Leo after finding and selecting the {text to be replaced} there is
*zero* visual feedback on what the next step is. My inclination at this
point is to hit [enter], synonymous with "ok, let's go to next step", which
has 3 unwanted results: (a) deleting the selected text, (b) inserting a
new line, (c) dropping me completely out of Search & Replace.
In other programs that I'm familiar with such as Notepad2 there are buttons
for [Replace] and [Replace All] with underline hints as to what Alt-{key}
to push to do the action. After activating that action/button (replace,
skip and find next, replace all, ...), using either mouse or keyboard, the
dialog stays open, and the S&R mode is still active, waiting to do it
again.
In Leo if I make a mistake, I have to start all over again. In Notepad2
since the dialog is still open, I can tweak any item - the find and/or
replace patterns, regex, whole words, etc - and go again. In Leo I need to
step through each part, as if it were a wizard.
So this experience puts me off balance and makes me uncomfortable, then
not seeing anything resembling "replace all", something I use near daily, I
just give up and retreat to familiarity. :)
--- Notepad2 ---
[ctrl-H]
{type find pattern}
[tab]
{type replace pattern}
{options: type [Alt-x] for enable/disable regex, forwards, reverse, etc.},
[Alt-R] # find and replace next match
or [Alt-A] # find & replace all
[esc] # close dialog
--- Leo ---
[ctrl-shift-R] # already an extra key stroke
{type find pattern}
[enter]
{type replace pattern}
[enter]
# cursor moves to new place, find pattern is selected
# pressing [enter] inserts a newline, deleting selected. WTF?
# read docs, remember [ctrl--] means "do the thing" and try again
[ctrl-shift-R] # already an extra key stroke
{type find pattern}
[enter]
{type replace pattern}
[enter]
[ctrl--] # yay, success!
# there is no Replace All, or I haven't found it.
----
NB just found a bug: pressing CAPS while typing the find/replace pattern
cancels the command.
There's also some other very weird stuff going on. At one point I entered
'install' as my find pattern, 'install_foo' as replace, and then when
pressing [enter] a *completely* different pattern was selected: '.ps1))'.
No amount of repeating [ctrl-shift-r] with different patterns changed the
text found and selected. I had to exit and restart Leo to get it to work.
If I can replicate it again I'll file a bug report.
-matt
On Sun, Nov 17, 2013 at 2:35 AM, Edward K. Ream <[email protected]> wrote:
> On Sun, Nov 17, 2013 at 3:04 AM, Matt Wilkie <[email protected]> wrote:
>
>> Oh my. If you have had trouble with search/replace, I wonder how many
>>>> people gave up because of it.
>>>
>>>
>> I'm one :)
>>
>
> Yikes. That's not acceptable.
>
> I've spent the last 5+ years moving away from the mouse, but obviously
> that has gone one step too far ;-)
>
> Recent comments, including yours, have convinced me that the find pane
> must be usable using the mouse, no matter how much work that entails. This
> will happen before 4.11.1.
>
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.