[vwnc] [VW 7.4] TextCollector>>endEntry fires change notice too soon

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] [VW 7.4] TextCollector>>endEntry fires change notice too soon

Charles Adams
If I'm interested in #appendEntry, then I'm getting it too soon. Or do I misunderstand what #appendEntry is supposed to signify?
 
TextCollector>>endEntry
 
 entryStream isEmpty ifFalse:
  [self writeSequencer critical:
   [nextEntry := entryStream contents.
   [self changed: #appendEntry] ensure: [nextEntry := nil].
   value replaceFrom: value size+1 to: value size with: self nextEntry asText.
   value size > self characterLimit ifTrue:
    [value replaceFrom: 1 to: value size - (self characterLimit // 2)-1 with: ''].
   self beginEntry]]
 
 
Charlie

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [VW 7.4] TextCollector>>endEntry fires change notice too soon

Charles Adams
I'm not interested in submitting a bug report. Cincom can pick this up or not. I don't care. But someone might do me the honor of saying so.
 
Charlie
----- Original Message -----
Sent: Wednesday, April 22, 2009 3:58 PM
Subject: [vwnc] [VW 7.4] TextCollector>>endEntry fires change notice too soon

If I'm interested in #appendEntry, then I'm getting it too soon. Or do I misunderstand what #appendEntry is supposed to signify?
 
TextCollector>>endEntry
 
 entryStream isEmpty ifFalse:
  [self writeSequencer critical:
   [nextEntry := entryStream contents.
   [self changed: #appendEntry] ensure: [nextEntry := nil].
   value replaceFrom: value size+1 to: value size with: self nextEntry asText.
   value size > self characterLimit ifTrue:
    [value replaceFrom: 1 to: value size - (self characterLimit // 2)-1 with: ''].
   self beginEntry]]
 
 
Charlie


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [VW 7.4] TextCollector>>endEntry fires change notice toosoon

Andres Valloud-6
AR 58885...


From: [hidden email] [mailto:[hidden email]] On Behalf Of Charles Adams
Sent: Tuesday, April 28, 2009 11:05 AM
To: [hidden email]
Subject: Re: [vwnc] [VW 7.4] TextCollector>>endEntry fires change notice toosoon

I'm not interested in submitting a bug report. Cincom can pick this up or not. I don't care. But someone might do me the honor of saying so.
 
Charlie
----- Original Message -----
Sent: Wednesday, April 22, 2009 3:58 PM
Subject: [vwnc] [VW 7.4] TextCollector>>endEntry fires change notice too soon

If I'm interested in #appendEntry, then I'm getting it too soon. Or do I misunderstand what #appendEntry is supposed to signify?
 
TextCollector>>endEntry
 
 entryStream isEmpty ifFalse:
  [self writeSequencer critical:
   [nextEntry := entryStream contents.
   [self changed: #appendEntry] ensure: [nextEntry := nil].
   value replaceFrom: value size+1 to: value size with: self nextEntry asText.
   value size > self characterLimit ifTrue:
    [value replaceFrom: 1 to: value size - (self characterLimit // 2)-1 with: ''].
   self beginEntry]]
 
 
Charlie


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc