AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

treat white spaces as indent (?)

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
c-sanchez



Joined: 04 Feb 2016
Posts: 49

PostPosted: Thu Aug 24, 2017 4:16 am    Post subject: treat white spaces as indent (?) Reply with quote

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.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 6250

PostPosted: Sat Aug 26, 2017 3:26 pm    Post subject: Reply with quote

c-sanchez
Set checkbox "Main menu -> Options -> Settings... -> Editor 1 -> Tab size -> Spaces"
Back to top
View user's profile Send private message Send e-mail
c-sanchez



Joined: 04 Feb 2016
Posts: 49

PostPosted: Sat Aug 26, 2017 9:41 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
Infocatcher



Joined: 06 Aug 2007
Posts: 1767

PostPosted: Sun Aug 27, 2017 5:00 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
c-sanchez



Joined: 04 Feb 2016
Posts: 49

PostPosted: Sun Aug 27, 2017 7:17 pm    Post subject: Reply with quote

Infocatcher wrote:
See SmartSel::SmartBackspace.
Thanks Infocatcher. this SmartSel is just what was looking for Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group