NO

Author Topic: Un-tab key for when tabs are inserted as spaces  (Read 3336 times)

YellowBeast

  • Guest
Un-tab key for when tabs are inserted as spaces
« on: May 03, 2014, 07:55:39 PM »
I personally prefer to insert tabs as four spaces.

It is helpful if the editor keeps treating the inserted spaces as tabs.
For example, Programmer's Notepad 2 uses Shift-Tab as the "un-tab" command, and it correctly removes multiple spaces that form tabs.

So it would be nice if the editor in Pelles C could insert tabs as spaces AND remove spaces as tabs.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Un-tab key for when tabs are inserted as spaces
« Reply #1 on: May 03, 2014, 09:02:31 PM »
I personally prefer to insert tabs as four spaces.
I personally prefer you to read help files, after that just from menu Tools... -> Options ... -> Tabs
May the source be with you

YellowBeast

  • Guest
Re: Un-tab key for when tabs are inserted as spaces
« Reply #2 on: May 03, 2014, 10:08:37 PM »
There is a misunderstanding.
This thread is about the feature of being able to remove spaces as if they were tabs.

I mentioned my tab preferences to give context why such a feature is needed.
Backspace and Delete can un-indent code with hard tabs, but not code with soft tabs (tabs inserted as spaces).
I also like the idea of a un-tab key combination: Shift-Tab seems popular.