Simple question: Forgetting BBEdit savings for documents

37 views
Skip to first unread message

David Stein

unread,
Nov 29, 2022, 8:34:05 PM11/29/22
to BBEdit Talk
Simple question regarding tabs vs. spaces:

I've been using BBEdit to write some Python scripts. To date, I've used spaces for indenting, and I've used the "Auto-Expand Tabs" option to insert spaces when I hit the Tab key.

Recently, I switched to using tabs. I turned off "Auto-Expand Tabs," and I find that on new files, BBEdit inserts tabs instead of spaces. Also, I've run "Change Spaces to Tabs" on my existing scripts. So far, so good.

The problem is that BBEdit continues to insert spaces instead of tabs when I hit the Tab key.

I cannot find any way to persuade BBEdit to forget its previous settings for documents. It's like BBEdit has cached the previous settings somewhere, and I can't dump the cache or force it to refresh with the current BBEdit settings.

Any suggestions? Thanks in advance.

Rich Siegel

unread,
Nov 29, 2022, 8:58:29 PM11/29/22
to BBEdit Talk
On 29 Nov 2022, at 17:04, David Stein wrote:

> Simple question regarding tabs vs. spaces:
> [...]

Documents remember their own settings if those changes were made individually using the Text Options panel.

You can restore them to the (current) global preferences by using "Normalize Options", on the Edit menu.

R.

David Stein

unread,
Nov 30, 2022, 3:43:54 PM11/30/22
to BBEdit Talk
Perfect. Thank you!

David Barto

unread,
Nov 30, 2022, 4:36:07 PM11/30/22
to bbe...@googlegroups.com
Is there anything on the UI of BBEdit that shows that the global options don’t match the options being applied to the file?

That would be a "nice to have".

David

/never top posting.
Reply all
Reply to author
Forward
0 new messages