--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/DGNsGmGkcJ8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/32FA56F3-6B96-4269-BF4C-43D224775948%40barebones.com.
tell application "BBEdit"
set tabW to tab width of text window 1
if tabW > 64 then
set tabW to 4
else
set tabW to tabW + 12
end if
set tab width of text window 1 to tabW
end tell
HTH
On Feb 25, 2022, at 10:05 AM, KerbyLane <member...@gmail.com> 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. Is there a slider widget or something else that I can expose to make this easier?Thanks!--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" 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 bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/aee66adb-01ba-41cf-8421-7ef80d6147e5n%40googlegroups.com.