Article View: comp.sys.next.programmer
Article #1483Simple TextDidChange Question
From: Tom West
Date: Tue, 10 Nov 1992 22:20
Date: Tue, 10 Nov 1992 22:20
25 lines
1171 bytes
1171 bytes
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
Technical Details
Message-ID:
<1992Nov10.172039.23956@jarvis.csri.toronto.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!turing.toronto.edu!westShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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