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

jcelle

  • Senior Community Member
  • Posts: 255
  • Hero Points: 5
(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: 32
  • 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: 255
  • Hero Points: 5
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

  • Senior Community Member
  • Posts: 3993
  • Hero Points: 520
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: 255
  • Hero Points: 5
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

  • Senior Community Member
  • Posts: 3993
  • Hero Points: 520
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?