Defocus find/replace strip

56 views
Skip to first unread message

zetah

unread,
Aug 16, 2012, 9:37:07 PM8/16/12
to scite-i...@googlegroups.com
Is there any setting that can focus on text pane after executing find or replace?

I can't think why is it like this. Even when I restore scite from task bar to paste some text, it's pasted in find/replace strip input box instead text pane, if find/replace strip is opened.
If it's some programmatic problem, then maybe option to autoclose find/replace strip like similar property for "Find in Files" dialog, after execution?

Neil Hodgson

unread,
Aug 17, 2012, 12:21:37 AM8/17/12
to scite-i...@googlegroups.com
zetah:

> Is there any setting that can focus on text pane after executing find or replace?

There is no setting to change focus after performing find or replace in the replace strip.

> I can't think why is it like this. Even when I restore scite from task bar to paste some text, it's pasted in find/replace strip input box instead text pane, if find/replace strip is opened.

Focus restoration after restore could be improved.

> If it's some programmatic problem, then maybe option to autoclose find/replace strip like similar property for "Find in Files" dialog, after execution?

The replace strip stays open after commands so that you can change parameters and repeat operations.

I'll accept a well-written option to automatically close the replace strip or dialog after command execution.

Neil

zetah

unread,
Aug 17, 2012, 11:30:21 AM8/17/12
to scite-i...@googlegroups.com, nyama...@me.com
Thanks for your reply Neil

Hope someone will find the option useful and perhaps patch easy


Cheers

zetah

unread,
Apr 28, 2013, 12:51:59 AM4/28/13
to scite-i...@googlegroups.com
I'll post reply here instead initiating new topic, as it's similar issue.

 - hit Ctrl+F and type some string to find
 - now hovering text pane*, use your mouse track-wheel to hopefully scroll in text pane, but:

as previously reported focus is in this find input box, and mouse wheel rolls find history. It's not just that, but the search term that initiated the search can't be found again in find history - go type it again and recheck!

I just don't understand why no one complains about this silly hard-coded find/replace strip "features".

Neil Hodgson

unread,
Apr 28, 2013, 6:16:40 AM4/28/13
to scite-i...@googlegroups.com
zetah:

> - hit Ctrl+F and type some string to find
> - now hovering text pane*, use your mouse track-wheel to hopefully scroll in text pane, but:
>
> as previously reported focus is in this find input box, and mouse wheel rolls find history.

On Windows (but not some other platforms), mouse wheel events go to the control with focus. While this could be worked around, its not simple or obvious.

Neil

zetah

unread,
Apr 28, 2013, 12:08:07 PM4/28/13
to scite-i...@googlegroups.com, nyama...@me.com
Maybe it's that strip dialogs are really handy but unorthodox... I for one would never expect they grab focus after I execute find/replace action

Windows applications where mouse hover grabs focus are not uncommon. I'll mention some I use from top of my head: Altap Salamander file manager, foobar2000 (audio player using native Windows UI), Sublime Text editor...

Amir Sabbagh

unread,
Apr 28, 2013, 12:19:56 PM4/28/13
to scite-interest, nyama...@me.com

If I can report another strange behavior of the find-replace strip,  the combination ctrl + c, ctrl + v doesn't work inside the strip. I have to use the right mouse button menu.

Amir

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scite-interes...@googlegroups.com.
To post to this group, send email to scite-i...@googlegroups.com.
Visit this group at http://groups.google.com/group/scite-interest?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Neil Hodgson

unread,
Apr 28, 2013, 8:19:08 PM4/28/13
to scite-i...@googlegroups.com
zetah:

> Maybe it's that strip dialogs are really handy but unorthodox... I for one would never expect they grab focus after I execute find/replace action

Don't you expect to be able to type into them after showing them? That's focus. The text control shows the blue border and selected contents that are indicative of focus.

Neil

Neil Hodgson

unread,
Apr 28, 2013, 8:23:16 PM4/28/13
to scite-i...@googlegroups.com
Amir Sabbagh:

If I can report another strange behavior of the find-replace strip,  the combination ctrl + c, ctrl + v doesn't work inside the strip. I have to use the right mouse button menu.

   Do you have a particular sequence of actions that illustrate this? I just tried Ctrl+C and Ctrl+V on the strips on Windows, OS X, and Linux and it worked on all platforms.

   Neil

zetah

unread,
Apr 29, 2013, 3:15:14 AM4/29/13
to scite-i...@googlegroups.com, nyama...@me.com
To summarize my points:

1. From my earlier complain:

 - Allow option to change focus from find/replace strip to text pane after executing command. This would include focus transfer from any control on strip dialog, as Scite retains focus even to buttons.
 - When restoring Scite (switching to it, etc) never focus on strip dialog.

2. My new complain:

 - Even if focus is on find/replace strip, allow scrolling text pane if mouse is hovering it, and scroll input box only if mouse is hovering strip dialog.

zetah

unread,
Apr 29, 2013, 3:18:08 AM4/29/13
to scite-i...@googlegroups.com, nyama...@me.com
On Monday, April 29, 2013 9:15:14 AM UTC+2, zetah wrote:
 - When restoring Scite (switching to it, etc) never focus on strip dialog.


Forgot to mention, that even if text pane is focused and Scite is minimized, when I restore it, it focuses on strip dialog if present which is a bug.
Reply all
Reply to author
Forward
0 new messages