Author Topic: Customization of mini find  (Read 299 times)

Graeme

  • Senior Community Member
  • Posts: 1899
  • Hero Points: 215
Customization of mini find
« 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]
« Last Edit: February 12, 2017, 01:36:11 am by Graeme »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3573
  • Hero Points: 228
Re: Customization of mini find
« Reply #1 on: January 26, 2017, 12:46:09 am »
Interesting changes

Graeme

  • Senior Community Member
  • Posts: 1899
  • Hero Points: 215
Re: Customization of mini find
« Reply #2 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.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3573
  • Hero Points: 228
Re: Customization of mini find
« Reply #3 on: January 26, 2017, 02:09:41 am »
The SlickEdit team will discuss these and likely add some of these changes to v22.

Graeme

  • Senior Community Member
  • Posts: 1899
  • Hero Points: 215
Re: Customization of mini find
« Reply #4 on: January 28, 2017, 05:09:41 am »
Updated 28 Jan 2017 to fix a problem with Ctrl-\ - cycle through lookin.

Graeme

  • Senior Community Member
  • Posts: 1899
  • Hero Points: 215
Re: Customization of mini find
« Reply #5 on: February 12, 2017, 01:36:30 am »
Updated Feb 12, 2017 for V21.0.1 hotfix 3.