[comp.sys.next] appending to Text object

adams@hilbert.berkeley.edu (Jeffrey P. Adams) (06/09/90)

Thanks to the dozens who suggested I select a null selection at
the end of my text, and then replace it.  It works.

However, what they DON'T tell you in the docs is that after
doing this, the selection is still a 0-long string at the
end of the text.  In other words, you don't have to re-select
each time.  Just keep issuing 
  [myText replaceSel:"Whatever it is you want to add\n"];
messages, and successive replaceSel's keep appending.

Saves time.

(Now if I can just figure out how to get the &#**?@ Button
to work...)

Jeff Adams
adams@ucscl.ucsc.edu