Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!richsun!richsun.cpg.trs.reuter.com From: jack@richsun.cpg.trs.reuter.com (Jack Gidding) Newsgroups: comp.windows.open-look Subject: Guide & text panes Message-ID: <1750@richsun.cpg.trs.reuter.com> Date: 6 May 91 21:18:50 GMT Sender: news@richsun.cpg.trs.reuter.com Organization: Reuters Client Site Systems, Oakbrook,IL Lines: 27 Hello net-world, I am using Sun Microsystems Guide to become familiar with Open Look programming as well as to design an implement a simple front end for a demo program. I have two questions, both involving text panes. 1) When I quit the application(which uses a text pane), a notice box comes up and asks to save or discard the edits. I would like to stop this from happening. The text pane is read-only and there is no real reason to save the output. Is there a way to stop this notifier box? 2) It appears that when I write something to the text pane using textsw_insert() there is a "lag" time in between the time that I call for it to be printed and the time that it is printed. It seems as if it will print at the time that a mouse event is encountered(e.g. mouse moves over text pane). If there is no mouse event, it saves the data for a while and then writes it all at once. It is acting like a buffer. The problem is that the items being written out are real-time data and buffering is very bad. Is there a way that I can stop this "feature"? Thanks, Jack Gidding jack@richsun.cpg.trs.reuter.com