modification date tracking
James Moore
jam at omnigroup.com
Thu Jan 26 17:31:48 PST 2006
On Jan 21, 2006, at 9:39 AM, Sean Ahern wrote:
> On Jan 21, 2006, at 11:52 AM, Warren Young wrote:
>> Okay, let me clarify: if we say that we want OO to remember these
>> things, then they have to be saved _somewhere_.
>>
>> You can argue that OO shouldn't remember these things from one run
>> to the next, but I'm sure they didn't add these features for no
>> reason. You'll be fighting against someone else's wishlist if you
>> take that tack.
>
> I wasn't suggesting that those things should be thrown away, or
> saved to some place other than the document file itself. I was
> thinking instead that the "modified" state of the document should
> not be based on those things. For instance, in a Powerpoint file,
> I believe the current zoom level is saved to the file so that you
> have the same view when you reopen the file. However, changing the
> zoom level does not mark the document as "modified," and does not
> require that you save the document before you quit Powerpoint.
> (I'm not positive Powerpoint behaves in this manner, but the
> example is illustrative nonetheless.)
>
> The distinction is: state which is considered part of the content
> of the document and state which is merely for the convenience of
> the document's author and not content per se.
>
> Someone else just pointed out that, in some cases, things like
> hoisting, selection, and expansion can be considered document
> content, and not just convenience. There's some validity to that
> argument, and I hadn't considered those cases.
OmniOutliner currently maintains a suite of settings that we refer to
as editor state. Changes to your editor state will cause the white
diamond to appear in your title bar. Attempting to close your window
while you only have changes to your editor state will not cause
Outliner to prompt you to save, those changes are just discarded.
Here is a list of things stored in the editor state:
Window size & position
Selected rows/columns/text range
Main outline view scroll position
Automatic Level Styles
Hoisted root
Document-specific toolbar
Spell-checking enabled
Outline title visibility
Column title visibility
Ruler visibility
Ruler units
Note display (inline vs. pane)
Note pane splitter position, scroll position
Inline notes span document
Status visibility
Folded editing
Attachment tags
Drawer
Width
Preferred edge
Visibility, split view, scroll positions
Batch find term
Find scope
Row expanded/collapsed
Attachment expanded/collapsed
--------
There seems to be a bug in the modification time print option. If I
continually open and close the page setup sheet while the document is
dirty the modification time keeps updating. I'm hitting cancel after
opening the sheet mind you.
I'll write this up as a bug.
--
-James
Technical Support Engineer
The Omni Group
More information about the OmniOutliner-Users
mailing list