For most of my work in BBEdit, I want tab = 4 spaces, so that's what I have set in Preferences. But I often need to work on data files which are most easily read when displayed with tab = 15 spaces. Currently I am wasting a lot of time bringing up the Preferences window to change the tab setting between these two modes.
I need to preserve the tab characters in the data files, so converting them to spaces is not an option. Is there a way to embed a metadata item in these data files, which would override the tab setting in Preferences, so that when I am working in one of these files, BBEdit will use tab = 15 instead of 4? Alternatively, is it possible to script BBEdit so I can tell it to use tab = 15 for the frontmost document, without changing the setting in Preferences or changing the display of other open documents? I have a basic grasp of AppleScript. There is a third option, which is the least attractive to me, but probably the one most likely to be feasible. Can I set the Preferences tab setting via AppleScript? If that's possible, I could put a couple of script items in BBEdit's script menu, one to switch into Tab = 4 mode, and one to switch to Tab = 15 mode. At least this gives me the ability to switch modes with one click. -- Julian Vrieslander <[EMAIL PROTECTED]> -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
