Re: interaction between Find next menu and the Search pane
Hussein Shafie <hussein <at> xmlmind.com>
2016-06-15 13:11:33 GMT
Leif H. S. wrote:
> I have a small wish - may be I have said something similar before:
> * Bug/Feature wish: The Search tool allows us to search downwards
> (default) and upwards. Nice. But when I do change the direction, I
> would like the direction to affect the «Find Next» menu as well. It
> seems to me that Find next should then move upwards, as well.
There is a dedicated keyboard shortcut for that: Ctrl+Shift-G.
However, it seems that your idea is basically:
Use the Search tool to parametrize the behavior of "Tools|Find Next". No
need to click "Start" in the Search tool for this to happen.
In fact, it's currently the opposite which is implemented.
Please select some text directly in the document view, then directly
press Ctrl-G (Find Next) or Ctrl+Shift-G (Find Previous) and see by
yourself what happens in the Search tool.
Then please alternate between Ctrl-G and Ctrl+Shift-G without touching
the Search tool.
We'll probably not implement what you suggest, not because it does not
make sense, but because we are not convinced that this would
substantially improve the text search/replace facilities of XMLmind XML
The fact that it does not work in XMLmind XML Editor like in any other
Mac application is not sufficient to implement what you suggest.
Please let me add a personal comment. I've never, ever found a text
search/replace facility perfectly comfortable to use, and this, whatever
the application and whatever the OS. (This of course includes XMLmind
XML Editor.) I mean, I always have minor gripes against the text
search/replace facility of the application I use, whatever is this
Leif H. S. also wrote:
> (PS: In my first reply I said "Find next" - the typical wording even in English Mac applications. However, I
just now noticed that in XMLeditor it is called "Search next".)
> Another anomaly related to the interaction between Find next menu and the Search pane:
> When you the first time enter "X" into the search field of the Search tool pane, then simply press Command-G
(or select Search next from the Search menu), and then you will find the first instance of "X". That is: You
do not have to click the Start button of the Search/Replace pane - you can simply press Command-G.
> Now if, before you are completely finished searching for "X", you want to search for "Y" instead, you
simply do the same thing:
> You enter/type "Y" inside the search field in the Search pane
> Then, to start searching, you press Command-G (or select Search next from the Search menu).
> What should happen then? You should find "Y". And this is also what happens.
> Now, imagine that, after "Y", you want to go back to to searching for "X" - you then have two options - one
option that works as expected and another one that has an unexpected effect.
> What does work as expected is to simply follow the steps 1.1, 1.2 and 1.3 above - that is: You can enter "X"
into the Search field - that is: you can type "X" into the search field - and then press Command-G to start searching.
> What does not work as expected is this: Imagine that "X" was actually a very long search term which you
therefore do not have to enter by retyping. So therefore you click the pop-up menu of the Search field, and
from this pop-up you select the "X".
> Then, because step 1.2 above worked, you assume that you can find the next instance of "X" by simply
entering Command-G again. And this is what you do - you hit Command-G
> Now what should happen?
> EXPECTED OUTCOME: You should find the next "X".
> ACTUAL OUTCOME: What actually happens is that you locate the next "Y" !!!
> Workaround: First: The reason for using Command-G is of course to work as much as possible via the keyboard
instead of clicking and buttons. So as a workaround that achieve that, then, whenever I enter a search term
via the pop-up menu of the Search field (as opposed to enter it manually), instead of clicking the Start
button, I can start searching by hitting the «Enter» key on the keyabord.
> The workaround works. But it is annoying to have to use another method. In every other Mac app I use, I can
start to search for next - including the first - instance by hitting Command-G (or Find next from the menu).
> I hope this was clear and sorry for using so many words to explain it ...
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com