home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7131 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.1 KB

  1. Path: sparky!uunet!utcsri!turing.toronto.edu!west
  2. Newsgroups: comp.sys.next.programmer
  3. From: west@turing.toronto.edu (Tom West)
  4. Subject: Simple TextDidChange Question
  5. Message-ID: <1992Nov10.172039.23956@jarvis.csri.toronto.edu>
  6. Organization: CSRI, University of Toronto
  7. Date: 10 Nov 92 22:20:39 GMT
  8. Lines: 25
  9.  
  10. Hopefully as simple question:
  11.  
  12.   The situation:
  13.  
  14.   I have a Text object that implements TextDidChange.  It sets the window to
  15. "changed" (i.e. close box correctly marked and so forth).  When I save 
  16. the window, I set the window to "unchanged".  Unfortunately, I never see
  17. TextDidChange again because TextDidChange fires only the first time that
  18. the text changed after the Text is made first responder.
  19.  
  20.   The Question:
  21.  
  22.   Short of selecting some arbitrary window and then selecting my text again,
  23. is there some way of resetting the TextDidChange flag so that it will fire
  24. once again?  How is this generally solved?
  25.  
  26.   Once again, I'll be happy to forward any answer I receive.
  27.  
  28. -- 
  29.  
  30.     Tom West        
  31.  
  32.    west@turing.toronto.edu  or            "Children of the Blood"
  33. tomwest@gpu.utcs.utoronto.ca  or          -Michelle Sagara
  34.        west@hsa.on.ca
  35.