Page 1 of 1

treat white spaces as indent (?)

Posted: Thu Aug 24, 2017 4:16 am
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

Posted: Sat Aug 26, 2017 3:26 pm
by Instructor
c-sanchez
Set checkbox "Main menu -> Options -> Settings... -> Editor 1 -> Tab size -> Spaces"

Posted: Sat Aug 26, 2017 9:41 pm
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).

Posted: Sun Aug 27, 2017 5:00 pm
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.

Posted: Sun Aug 27, 2017 7:17 pm
by c-sanchez
Infocatcher wrote:See SmartSel::SmartBackspace.
Thanks Infocatcher. this SmartSel is just what was looking for :D