home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!turing.toronto.edu!west
- Newsgroups: comp.sys.next.programmer
- From: west@turing.toronto.edu (Tom West)
- Subject: Simple TextDidChange Question
- Message-ID: <1992Nov10.172039.23956@jarvis.csri.toronto.edu>
- Organization: CSRI, University of Toronto
- Date: 10 Nov 92 22:20:39 GMT
- Lines: 25
-
- Hopefully as simple question:
-
- The situation:
-
- I have a Text object that implements TextDidChange. It sets the window to
- "changed" (i.e. close box correctly marked and so forth). When I save
- the window, I set the window to "unchanged". Unfortunately, I never see
- TextDidChange again because TextDidChange fires only the first time that
- the text changed after the Text is made first responder.
-
- The Question:
-
- Short of selecting some arbitrary window and then selecting my text again,
- is there some way of resetting the TextDidChange flag so that it will fire
- once again? How is this generally solved?
-
- Once again, I'll be happy to forward any answer I receive.
-
- --
-
- Tom West
-
- west@turing.toronto.edu or "Children of the Blood"
- tomwest@gpu.utcs.utoronto.ca or -Michelle Sagara
- west@hsa.on.ca
-