SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => SlickEdit User Macros => Topic started by: Graeme on January 25, 2017, 09:45:52 AM

Title: Customization of mini find
Post by: Graeme on January 25, 2017, 09:45:52 AM
I've made some additions to docsearch.e for the mini find dialog to add some extra shortcut keys, mainly to do with the ENTER key.  I've added the following hard coded shortcut keys.
Shift+Enter search backwards
Ctrl+Enter exit back to where we started
Ctrl+Shift+Enter exit back to where we started and show all in next search tab
Alt+Enter show menu
F2 show search options
Ctrl-\ cycle thru lookin options

I have gui-find bound to Ctrl+Enter hence my desire for ENTER key capability.

The attached docsearch.e is based on the code from hotfix 1 so you should load hotfix 1 before loading this.  If you want to use it I recommend creating a "Customise" folder in your configuration folder, put docsearch.e in the folder and load it using Macro -> Load.  Make sure the mini find dialog is closed before loading docsearch.e.  If you want to revert to the non-customised version, you need to extract it from the hotfix file in your hotfix folder and load it from there.

Maybe also consider creating a second configuration folder with the customised version installed, leaving your current config folder as it is.  docsearch.e is likely to change in future hotfixes so you may need to used a diff tool to restore the customisation.

[Updated 28 Jan 2017 to fix a problem with Ctrl-\ - cycle through lookin]
[Updated Feb 12, 2017 for V21.0.1 hotfix 3]
Title: Re: Customization of mini find
Post by: Clark on January 26, 2017, 12:46:09 AM
Interesting changes
Title: Re: Customization of mini find
Post by: Graeme on January 26, 2017, 01:57:14 AM
Interesting changes
You're welcome to build them in to the real thing. :) 
I may not have everything completely correct but it seems to work ok.
Title: Re: Customization of mini find
Post by: Clark on January 26, 2017, 02:09:41 AM
The SlickEdit team will discuss these and likely add some of these changes to v22.
Title: Re: Customization of mini find
Post by: Graeme on January 28, 2017, 05:09:41 AM
Updated 28 Jan 2017 to fix a problem with Ctrl-\ - cycle through lookin.
Title: Re: Customization of mini find
Post by: Graeme on February 12, 2017, 01:36:30 AM
Updated Feb 12, 2017 for V21.0.1 hotfix 3.