On 25 Feb 2022, at 13:04, KerbyLane wrote:

> Recently I started working with a project that includes a number of files
> that use a tab size of 2 spaces. Almost everywhere else I'm working it is
> 4. I'm looking for a faster way to change the "tab width" setting than
> opening preferences, going into "Editor Defaults" and changing the value.

Since changing the preference only affects new documents or files you've never 
opened before, it's not really recommend for what you're trying to do.

> Is there a slider widget or something else that I can expose to make this
> easier?

The "Show Fonts" command on View -> Text Display provides tab control.

You can use the "Text Options" command on the Edit menu. (Either of those can 
have keyboard equivalents assigned, see the "Menus & Shortcuts" preferences.)

The Edit Options panel via the gear in the top left corner of the editing area 
provides a tab width control.

You can use a .editorconfig file for the project in question to enforce a 
project-wide two spaces per tab width.

Alternatives abound. :-)

R.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/32FA56F3-6B96-4269-BF4C-43D224775948%40barebones.com.

Reply via email to