• 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: Martin Kautz <email@hidden>
  • Date: Wed, 27 Mar 2002 10:31:31 +0100

Am 27.03.2002 9:26 Uhr schrieb "Scott Anguish" <email@hidden> :

> can anyone verify this as a bug?
>
> I've got a basic document application with a text view (HTMLEditorX to
> be exact)
>
> the archive is here
>
> http://graphics.stepwise.com/Articles/HTMLEditorX/HTMLEditorX-1.dmg
>
> if you make a new document, type some text, save, and then type some
> more text, the document isn't marked dirty automatically..
Hello Scott,

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>


Martin

> _______________________________________________
> 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.
_______________________________________________
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: Scott Anguish <email@hidden>
References: 
 >Verification of a bug (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: protocol not seeing superclass implementation : bug or *feature*?
  • Next by Date: Re: Using OpenSSL and RSA
  • Previous by thread: Verification of a bug
  • Next by thread: Re: Verification of a bug
  • Index(es):
    • Date
    • Thread