Page 1 of 1

Tabs-size problem

Posted: 22 Jul 2020 09:30
by akari
Hi,

I want the tab size exactly 4 spaces, but sometimes when I press tab it is 2,3,4 or more spaces.

Trying to turn off Smart tab, Tab inserts spaces & Preserve tab characters still can't make it always 4 spaces.

It is a bug or I doing the wrong setting?

Re: Tabs-size problem

Posted: 22 Jul 2020 12:27
by pjj
Switch off "Smart tab", but keep switched on "Tab inserts spaces", that should do the trick.

Nb. "Preserve tab characters" means "don't convert tabs to spaces on document open". If you prefer to always have spaces and no tabs, switch it off.

Re: Tabs-size problem

Posted: 23 Jul 2020 03:28
by akari
pjj wrote:
22 Jul 2020 12:27
Switch off "Smart tab", but keep switched on "Tab inserts spaces", that should do the trick.

Nb. "Preserve tab characters" means "don't convert tabs to spaces on document open". If you prefer to always have spaces and no tabs, switch it off.
Thank you! Actually I got try this also, but not sure why it didn't work well, I try to reinstall and this fixes the problem.

Re: Tabs-size problem

Posted: 23 Jul 2020 06:46
by pjj
I'm glad you managed to sort it out :)