tabs and spaces options nightmare!

1,212 views
Skip to first unread message

froddd

unread,
Sep 7, 2010, 5:55:50 AM9/7/10
to BBEdit Talk
Hi all,

Since I started using BBEdit there's one thing I've never been able to
set right... It's one of these little annoyances that makes you switch
to another editor for a bit, before returning to BBEdit (cos it's
still better!) and then being annoyed again :(

Here's my problem: in most, if not all, editors I've used besides
BBEdit, pressing the tab key creates a tab, as it should. But then
pressing backspace deletes one space at a time, rather than the whole
tab... Driving me mad!

I'm sure it must be some option being badly set, but no matter what I
set 'auto-indent tabs' to, and all other indentation/tab settings, it
doesn't work. I've also tried reopening documents after saving the
settings in the hope it would apply them more forcefully but no luck.

Am I missing something? :-P Any help greatly appreciated!

RobS

unread,
Sep 7, 2010, 8:50:20 AM9/7/10
to BBEdit Talk
On Sep 7, 6:55 am, froddd <fred.mareces...@gmail.com> wrote:
> Here's my problem: in most, if not all, editors I've used besides
> BBEdit, pressing the tab key creates a tab, as it should. But then
> pressing backspace deletes one space at a time, rather than the whole
> tab... Driving me mad!

BBEdit has always worked as you describe it should -- that is, tab -
tab - delete - delete gets you back where you started. I can't recall
ever setting spaces or tabs in Prefs, so I assume my version (the most
recent) is using its default settings. You might try saving your Prefs
file somewhere handy, then allowing BBEdit to remake a new default one
and see if things work as you wish.

Rob

Gabriel Roth

unread,
Sep 7, 2010, 9:18:55 AM9/7/10
to bbe...@googlegroups.com
I'm sure it must be some option being badly set, but no matter what I
set 'auto-indent tabs' to, and all other indentation/tab settings, it
doesn't work. 

Go to Preferences > Editor Defaults and uncheck Auto-expand Tabs. Does that help?







--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbe...@googlegroups.com
To unsubscribe from this group, send email to
bbedit+un...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "sup...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

John Delacour

unread,
Sep 7, 2010, 10:46:05 AM9/7/10
to bbe...@googlegroups.com
At 02:55 -0700 07/09/2010, froddd wrote:

>Here's my problem: in most, if not all, editors I've used besides
>BBEdit, pressing the tab key creates a tab, as it should. But then
>pressing backspace deletes one space at a time, rather than the whole
>tab... Driving me mad!

It is impossible for BBEdit to delete "one space at a time" if there
are not spaces there to delete in the first place, so presumably to
have set BBEdit preferences to insert n spaces when you press the tab
key instead of inserting a tab.

JD

Maarten Sneep

unread,
Sep 7, 2010, 11:00:59 AM9/7/10
to bbe...@googlegroups.com
John Delacour schreef:

Have you tried to turn on 'show invisibles' (including spaces)? You'll
probably see that the tab-key inserts spaces, not tabs.

Depending on your use (Python comes to mind) having spaces may be what you
need. BBEdit will not delete a tabs worth of spaces with a single
backspace keystroke.

Workaround: used indent and outdent (cmd-shift-], cmd-shift-[, cmd-],
cmd-[) to work with tabstops when using spaces.

Best,

Maarten

Dennis Cox

unread,
Sep 7, 2010, 9:18:36 AM9/7/10
to BBEdit Talk
> From: froddd <fred.ma...@gmail.com>
> Reply-To: <bbe...@googlegroups.com>
> Date: Tue, 7 Sep 2010 02:55:50 -0700 (PDT)
> To: BBEdit Talk <bbe...@googlegroups.com>
> Subject: tabs and spaces options nightmare!

Do you have Auto-expand tabs checked in your prefs?
If you turn on invisibles do you get the tab character - a triangle?

Preferences --> Editor Defaults

Dennis Cox

John Delacour

unread,
Sep 7, 2010, 1:37:00 PM9/7/10
to bbe...@googlegroups.com
At 08:18 -0500 07/09/2010, Dennis Cox wrote:

>Do you have Auto-expand tabs checked in your prefs?
>If you turn on invisibles do you get the tab character - a triangle?
>
>Preferences --> Editor Defaults

...and it's worth mentioning that when you change the preference the
change will apply to windows created after the change. If you want
to change existing windows, there are the Entab... and Detab...
commands in the Text menu.

It's all in the manual and the manual is acccessible from the Help menu.

JD

Reply all
Reply to author
Forward
0 new messages