treat white spaces as indent (?)

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 61
Joined: Thu Feb 04, 2016 5:27 am

treat white spaces as indent (?)

Post by c-sanchez »

I wonder if AkelPad have some option or if possible on some way treat the white spaces as indent.
ie, if we have Spaces as Tabs enabled, treat the defined numbers of space as tabs.
You can view this behavior on ZinjaI IDE.
Check this example with tabs, 4 spaces and 2 spaces.
Image

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

c-sanchez
Set checkbox "Main menu -> Options -> Settings... -> Editor 1 -> Tab size -> Spaces"

Offline
Posts: 61
Joined: Thu Feb 04, 2016 5:27 am

Post by c-sanchez »

Instructor wrote:c-sanchez
Set checkbox "Main menu -> Options -> Settings... -> Editor 1 -> Tab size -> Spaces"
Thanks Instructor, but is not that. I know we can use spaces as indents.
But what i want is that, if you have 2, 4, or X spaces as indent TREAT that X spaces on deleting or moving arrow keys as an indent.
Check the gif when is deleted the indents, when TWO spaces are deleted in an step, and when FOUR spaces are deleted in an step.
just like an real indent (no spaces).

Offline
Posts: 1862
Joined: Mon Aug 06, 2007 1:07 pm
Contact:

Post by Infocatcher »

c-sanchez wrote:But what i want is that, if you have 2, 4, or X spaces as indent TREAT that X spaces on deleting … as an indent.
See SmartSel::SmartBackspace.

Offline
Posts: 61
Joined: Thu Feb 04, 2016 5:27 am

Post by c-sanchez »

Infocatcher wrote:See SmartSel::SmartBackspace.
Thanks Infocatcher. this SmartSel is just what was looking for :D
Post Reply