home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!tecsun1!tmoulto
- From: tmoulto@tecsun1.etl.army.mil (Thomas A. Moulton)
- Newsgroups: comp.windows.x.motif
- Subject: Deleting text inside a Scrolled Text Widget
- Summary: Deleting text inside a Scrolled Text Widget
- Keywords: Scrolled Text Widget
- Message-ID: <1248@tecsun1.etl.army.mil>
- Date: 21 Aug 92 20:14:16 GMT
- Organization: U.S. Army Topographic Engineering Center, Ft. Belvoir, VA.
- Lines: 22
-
-
- I have written a text editor using the Scrolled Text Widget.
-
- text = XmCreateScrolledText(form, "text", TextArgs, TextArgCnt);
- re
- Whenever a line or groups of lines are deleted from text inside this et
- widget the Scrolled Text widget most often than not becomes premature o
- in displaying the end of the text buffer. For instance, if I were to delete
- a twenty line procedure from the text buffer and then scroll to the bottom
- of the file, the true bottom of the file would not be showing. In other
- words the Scrolled Widget appears to get mixed up as to where the end of
- the text buffer is. The result is that the user is unable to see the bottom
- portion of the text buffer.
-
- I would appreciate anyones insight into this matter. I do not
- believe that this is a glich in my code. I have seen another program which
- uses a Scrolled Text Widget and it also suffers from the same problem.
-
- Thanks,
-
-
- Tom Moulton
-