Add an space to selected line

Working on new editor enhancements?
Fredi
Enthusiast
Enthusiast
Posts: 143
Joined: Wed Jul 23, 2008 10:45 pm

Add an space to selected line

Post by Fredi »

I want do something like "Insert comments" in IDE but instead of ";" add space to selected lines, its possible or not yet?

Example:

Code: Select all

If a> 1

line 1
line 2
line 3
line 4

Endif
To:

Code: Select all

If a> 1

   line 1
   line 2
   line 3
   line 4

Endif
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Add an space to selected line

Post by PB »

Select all the lines and press the Tab key. ;) Shift+Tab moves them back.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Fredi
Enthusiast
Enthusiast
Posts: 143
Joined: Wed Jul 23, 2008 10:45 pm

Add an space to selected line

Post by Fredi »

Thank you PB :wink:
Post Reply