Honor saved state options?

2009-07-16 Thread Morbus Iff


G'day. I'm working with two different mental states:

  * Code. Small font, tab stops, line numbers, etc.
  * Fiction. Large font, no tab stops, line numbers, etc.

About the only thing I can get reliably to save in the document state, 
however, is the font - how does one save don't show me line numbers 
and don't show the gutter, tab stops, etc., etc.?

-- 
Morbus Iff ( putting the sanity back in sanity )
Technical: http://www.oreillynet.com/pub/au/779
Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/
aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: Honor saved state options?

2009-07-16 Thread Rich Siegel

On 7/16/09 at 1:06 PM, mor...@disobey.com (Morbus Iff) wrote:

G'day. I'm working with two different mental states:

* Code. Small font, tab stops, line numbers, etc.
* Fiction. Large font, no tab stops, line numbers, etc.

About the only thing I can get reliably to save in the document 
state, however, is the font - how does one save don't show me 
line numbers and don't show the gutter, tab stops, etc., etc.?

Today's preferences give you control over that (see Preferences 
- Text Files).

R.
-- 
Rich Siegel Bare Bones Software, Inc.
sie...@barebones.com  http://www.barebones.com/

Someday I'll look back on all this and laugh... until they 
sedate me.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: Honor saved state options?

2009-07-16 Thread Morbus Iff

 * Code. Small font, tab stops, line numbers, etc.
 * Fiction. Large font, no tab stops, line numbers, etc.

 About the only thing I can get reliably to save in the document 
 state, however, is the font - how does one save don't show me 
 line numbers and don't show the gutter, tab stops, etc., etc.?
 
 Today's preferences give you control over that (see Preferences 
 - Text Files).

I think I'm running Yesterday, then... where can I get Today?

When I head here, for Honor saved state, I see (and have checked) 
Window position, Font settings, Selection range, Scrollbar position, 
Option settings, and Emacs local variables. Save document state is also 
checked, but *not* Emacs local variables there.

-- 
Morbus Iff ( anything else in the box, pandora? )
Technical: http://www.oreillynet.com/pub/au/779
Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/
aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: Honor saved state options?

2009-07-16 Thread Morbus Iff


Oh, and here's another one - ideally, I'd like to save these things as 
literal mental states or visual profiles, as opposed to document 
states - something I can toggle back and forth on the fly. I had 
irrationally hoped that I could just duplicate perfect_for_writing.txt 
and get all the same saved document state, but alas, fie fie.

Perhaps a stationery or AppleScript could rig it up for me...

-- 
Morbus Iff ( flee at once -- all is discovered )
Technical: http://www.oreillynet.com/pub/au/779
Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/
aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: Honor saved state options?

2009-07-16 Thread Morbus Iff

 Yep, AppleScript will do that just fine. Use the Start 
 Recording command, setup the document the way you want, then 
 Stop Recording. You may need to tweak the resulting script a 
 bit but it should be close to what you want to happen.

That worked nicely enough:

tell application BBEdit
activate
set properties of text window 1 to {soft wrap text:true}
set properties of text window 1 to {show page guide:false}
set properties of text window 1 to {show tab stops:false}
set properties of text window 1 to {show line numbers:false}
set properties of text window 1 to {show invisibles:false}
set properties of text window 1 to {smart quotes:true}
end tell

It didn't catch my font changes though (to Georgia 16). I'll see if I 
can figure that out, as well as Hide All Others and Set all desktop 
backgrounds to black - i.e., recreate Full Screen mode ;)

-- 
Morbus Iff ( anything else in the box, pandora? )
Technical: http://www.oreillynet.com/pub/au/779
Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/
aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups BBEdit Talk group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to supp...@barebones.com 
rather than posting to the group.
-~--~~~~--~~--~--~---