Function editor Search box
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
11 posts
• Page 1 of 2 • 1, 2
Function editor Search box
When running Dyalog for Windows, using the standard function editor, there is a drop down box used by the "search next match" and "search last match" buttons.
Once some text has been entered in this box, it is highlighted, and it can be searched for. All well and good.
At a later stage in the APL session, other text may be entered, highlighted, and searched for, or (via the drop down arrow) earlier text may be selected and searched for. Again, all well and good.
However, I find it annoying that after using the search facility, on subsequent editing a function, the last selected search text is highlighted both in the drop-down box and (if present) within in the function body.
My question is, other than starting a new APL session, how can one clean out all the text previously entered in the drop down box?
I assume the contents of the drop down edit box resides somewhere within ⎕SE, and therefore could be erased with ease (say via a user command).
Thanks
Once some text has been entered in this box, it is highlighted, and it can be searched for. All well and good.
At a later stage in the APL session, other text may be entered, highlighted, and searched for, or (via the drop down arrow) earlier text may be selected and searched for. Again, all well and good.
However, I find it annoying that after using the search facility, on subsequent editing a function, the last selected search text is highlighted both in the drop-down box and (if present) within in the function body.
My question is, other than starting a new APL session, how can one clean out all the text previously entered in the drop down box?
I assume the contents of the drop down edit box resides somewhere within ⎕SE, and therefore could be erased with ease (say via a user command).
Thanks
Ray Cannon
Please excuse any smelling pisstakes.
Please excuse any smelling pisstakes.
-
ray - Posts: 221
- Joined: Wed Feb 24, 2010 12:24 am
- Location: Blackwater, Camberley. UK
Re: Function editor Search box
Yes, this drives me crazy.
It should emphasize hits right after the search was performed. It does not!
It should not emphasize hits later on, for example when the editor is restarted. It does.
Also, there should be a mechanism for switching off the highlighting, even if it is done by searching for nothing.
I have reported this in January 2019.
If you agree that this needs changing, step in and have your say. Only when enough people agree that the current behaviour is not only wrong but a pain in the arse will Dyalog change this.
It should emphasize hits right after the search was performed. It does not!
It should not emphasize hits later on, for example when the editor is restarted. It does.
Also, there should be a mechanism for switching off the highlighting, even if it is done by searching for nothing.
I have reported this in January 2019.
If you agree that this needs changing, step in and have your say. Only when enough people agree that the current behaviour is not only wrong but a pain in the arse will Dyalog change this.
-
kai - Posts: 137
- Joined: Thu Jun 18, 2009 5:10 pm
- Location: Hillesheim / Germany
Re: Function editor Search box
I was wrong about being held in ⎕SE.
did not clear it, or for that matter, the language bar!
- Code: Select all
⎕SE.⎕EX ⎕SE.⎕NL ⍳9
did not clear it, or for that matter, the language bar!
Ray Cannon
Please excuse any smelling pisstakes.
Please excuse any smelling pisstakes.
-
ray - Posts: 221
- Joined: Wed Feb 24, 2010 12:24 am
- Location: Blackwater, Camberley. UK
Re: Function editor Search box
I agree with all points made here. The behavior without the ability to disable the highlights is very annoying at times.
-
norbertjurkiewicz84 - Posts: 62
- Joined: Mon Nov 01, 2010 7:26 pm
Re: Function editor Search box
Looked into this with Gil. We found that there is a way to reset it: Click the "X" in the search box in the toolbar.
I did not realize this because I never use that field: preferring keyboard over mouse I press Ctrl+F to make the "Find" dialog box appear, which has the additional benefit of more options.
For those who prefer the mouse this is a solution. For those who prefer the keyboard... I am missing John again very much :(
I did not realize this because I never use that field: preferring keyboard over mouse I press Ctrl+F to make the "Find" dialog box appear, which has the additional benefit of more options.
For those who prefer the mouse this is a solution. For those who prefer the keyboard... I am missing John again very much :(
-
kai - Posts: 137
- Joined: Thu Jun 18, 2009 5:10 pm
- Location: Hillesheim / Germany
Re: Function editor Search box
I assume Gil and Kai are both using 17.1 as it's not present in 17.0 or V17.0.35960.0 at least. Perhaps Dyalog has moved on this without telling anyone.
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
Re: Function editor Search box
Hi, as far as I know, that mysterious x has been around in the 17.0 all the time.
You can use that in the Edit (or Combo) object with the HasClearButton property.
Before that I learned to search for, say qqq, to get rid of the annoying highlights.
-Veli-Matti
You can use that in the Edit (or Combo) object with the HasClearButton property.
Before that I learned to search for, say qqq, to get rid of the annoying highlights.
-Veli-Matti
- Veli-Matti
- Posts: 93
- Joined: Sat Nov 28, 2009 3:12 pm
Re: Function editor Search box
Nor in 17.0.36301. Do I need to update my session?
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
Re: Function editor Search box
Or do you mean I have to manipulate an editor object?
'⎕SE'⎕WG'Editor'
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
Re: Function editor Search box
Hi all,
The X on the edit field is in 16.0 and 17.0, but only if you Native Look and Feel enabled.
It clears what is in the quick search edit field, but not the history in the drop down combo.
That history is stored in the memory of the process and there is no way to clear it currently.
There is an issue logged for this quick search edit field: 16848: Editor does not clear the quick search edit field when searching for new text with the Edit->Find dialog.
Regards,
Vince
The X on the edit field is in 16.0 and 17.0, but only if you Native Look and Feel enabled.
It clears what is in the quick search edit field, but not the history in the drop down combo.
That history is stored in the memory of the process and there is no way to clear it currently.
There is an issue logged for this quick search edit field: 16848: Editor does not clear the quick search edit field when searching for new text with the Edit->Find dialog.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
11 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group