Author Topic: Can't invoke command line prompt if text selection exists  (Read 456 times)

jcelle

  • Senior Community Member
  • Posts: 170
  • Hero Points: 5
Can't invoke command line prompt if text selection exists
« on: September 30, 2020, 08:22:30 am »
Hello,
I don't know if this is related to new 25 version but here we go.
I have bounded the cmdline-toggle function to the F9 key.
If i select some text and press F9 to toggle in command mode (I want to do a untabify-region) then the selection is removed and the prompt is not toggled.
Is this wanted or some bug ?
Thanks for any advice.
Jerome

Note I found the convert-tabs2spaces afterwards, which solves my immediate issue, but I'm still curious about original problem.
« Last Edit: September 30, 2020, 09:54:54 am by jcelle »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6126
  • Hero Points: 470
Re: Can't invoke command line prompt if text selection exists
« Reply #1 on: September 30, 2020, 01:00:13 pm »
Set the macros variable "def_esc_deselects" to 0.  Macro>Set Macro Variable...

jcelle

  • Senior Community Member
  • Posts: 170
  • Hero Points: 5
Re: Can't invoke command line prompt if text selection exists
« Reply #2 on: September 30, 2020, 01:12:29 pm »
Hi Clark, thanks for the tip, it works but I however need to be able to deselect using Esc key.



Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6126
  • Hero Points: 470
Re: Can't invoke command line prompt if text selection exists
« Reply #3 on: September 30, 2020, 02:45:45 pm »
There isn't an option to remove the selection and also toggle to the command line in the same key press. When this is set to 1, the first key press deselects and the second key press toggles to the command line.