Author Topic: (un)Identing lines space by space also  (Read 552 times)

jcelle

  • Senior Community Member
  • Posts: 128
  • Hero Points: 4
(un)Identing lines space by space also
« on: October 02, 2020, 01:17:11 pm »
Hello,
I am often selecting lines of code and indent or unindent them using the TAB and SHIFT+TAB keys.
In my previous editors it was also possible to use SPACE and SHIFT+SPACE to refine the indentation.
Unfortunately in SlickEdit if you press SPACE with a selection of lines active you just lose your lines and get a ... space.
I was wondering if there was a way to achieve this ?
My current workaround is a complex select-block operation...

Thanks for any clue. I am sure I am missing something here.
Jerome

redcar

  • Community Member
  • Posts: 25
  • Hero Points: 0
Re: (un)Identing lines space by space also
« Reply #1 on: October 02, 2020, 07:09:15 pm »
How about edit/other/shift...  (shift f7 and shift f8)

jcelle

  • Senior Community Member
  • Posts: 128
  • Hero Points: 4
Re: (un)Identing lines space by space also
« Reply #2 on: October 05, 2020, 05:37:30 am »
ah that's interesting, it is so hidden that I had never noticed this one.
I'll check how to inject this in space function if a selection exists, but right now that is much better than what I was doing by clearing the lines selection to create a block selection or even sometimes adjusting line by line.
Thank you !

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3212
  • Hero Points: 459
Re: (un)Identing lines space by space also
« Reply #3 on: October 05, 2020, 04:11:23 pm »
This is also a good place to make use of multiple cursors.  I like to do that holding down Ctrl+Shift+Alt+Down until I have cursors on all the lines I want to re-indent.  If you overshoot, you can undo to remove the extra cursors.

jcelle

  • Senior Community Member
  • Posts: 128
  • Hero Points: 4
Re: (un)Identing lines space by space also
« Reply #4 on: October 06, 2020, 07:35:21 am »
Oh that's a nice one too !
Question though: how do you remove the extra cursors ? I tried to press ESC but no way, had to close SE !

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3212
  • Hero Points: 459
Re: (un)Identing lines space by space also
« Reply #5 on: October 06, 2020, 02:24:13 pm »
Esc should work.  What emulation are you in?  If you go to Help > Where is command > "cmdline_toggle", is it bound to Esc?