• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Verification of a bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Verification of a bug


  • Subject: Re: Verification of a bug
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 27 Mar 2002 14:50:30 -0500

this shouldn't be necessary, since this is already implemented (and works in almost all the other cases).. and it worked fine before the sheets UI was added.

also, TextEdit doesn't use the NSDocument code last time I checked...


On Wednesday, March 27, 2002, at 04:31 AM, Martin Kautz wrote:

guess you need to care about your doc's change state by yourself.

There's a good example in Apples TextEdit source...

<snip>
- (void)setDocumentEdited:(BOOL)flag {
if (flag != isDocumentEdited) {
isDocumentEdited = flag;
[[self window] setDocumentEdited:isDocumentEdited];
if (transientDocument == self) transientDocument = nil;
}
if (!isDocumentEdited) changeCount = 0;
}

- (BOOL)isDocumentEdited {
return isDocumentEdited;
}
</snip>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Verification of a bug
      • From: Greg Titus <email@hidden>
References: 
 >Re: Verification of a bug (From: Martin Kautz <email@hidden>)

  • Prev by Date: Re: protocol not seeing superclass implementation : bug or feature?
  • Next by Date: programmatic next key ordering ?
  • Previous by thread: Re: Verification of a bug
  • Next by thread: Re: Verification of a bug
  • Index(es):
    • Date
    • Thread