> From: Brian Frick <[email protected]>
> Reply-To: <[email protected]>
> Date: Fri, 13 Aug 2010 10:51:43 -0500
> To: <[email protected]>
> Subject: Re: Saved window state frustration
>
> No... I have tried that. I can "save default window" and any new window
> behaves properly. It's only windows that aren't saved in the default-window
> configuration that are re-opening in the last saved state.
>
> I swear there used to be an option somewhere that said "Retain window state on
> save" or something like that; if it was unchecked, then windows would re-open
> in default config..
> --
> Brian
>
> On Aug 13, 2010, at 10:46 AM, Kerri Hicks wrote:
>
>> On Fri, Aug 13, 2010 at 10:15 AM, Brian Frick <[email protected]>
>> wrote:
>>>
>>> At one point, there was a setting to save (or not save) window state. In
>>> BBE9, it has been moved, removed, changed, or something to the point where I
>>> cannot find the setting.
>>>
>>> Can anyone direct me to the preference?
>>
>>
>> Do you mean the item under the Window menu, called "Save Default Window"?
>>
>> --Kerri
>>
This has changed.
>From the 9.5 release notes:
The internal format of saved document state has been reworked, as well as
the behaviors for saving and loading it. The most important visible changes
are as follows:
When saving state, BBEdit captures only those settings which are fundamental
to the document (window position, selection range, folds, splitter setting),
or settings which vary from the global preferences. The latter ensures that
changes to the global preferences are never inappropriately overridden by
document state.
So, for example, if the default document font is Consolas when you save the
document, and the document uses that font, but you change the global
preference to Menlo before the next time you open that same document, the
document's font will be set to Menlo. (Note that this behavior applies to
any document setting which takes its default from the prefs; the font is
used only to illustrate.)
This change should resolve lots of confusion surrounding the question of "I
changed my prefs, how come my document settings don't reflect that?"
The internal data format of the state has changed to accommodate this new
behavior. Documents with existing saved state will exhibit the old behavior
when they are opened; this is not a bug. BBEdit will write out the new state
format the next time you save the document.
Note that the new format is not backward-compatible; so if you open the
document with an older version of BBEdit, the new format state will be
ignored.
Also:
If you are using the expert preference to save state in the document's
resource fork (rather than in a central location), please note that the new
format state data is not actually saved in a resource anymore - it is now
written into an extended attribute, which you can verify from the command
line using xattr -l /path/to/some/file.
And finally:
A new "Normalize Options" command is available on the Edit menu. This
command will reset the front document's display and editing options to the
current defaults established by your preferences (including any
language-specific overrides), and clear the document's saved state. This can
be useful in situations where previously saved state is restored and
contains undesired variances from your preferences.
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.