Path: utzoo!attcan!uunet!husc6!cs.utexas.edu!po From: po@cs.utexas.edu (Po Ling Cheung) Newsgroups: comp.windows.x Subject: Problems with Athena Text widget Keywords: Athena Text Widget Message-ID: <3874@cs.utexas.edu> Date: 8 Nov 88 21:26:20 GMT Organization: U. Texas CS Dept., Austin, Texas Lines: 16 How do you modify the translation table of an asciiString text widget to disable most of the editing facilites provided by defaultTranslations[] so that the user can insert and delete characters only from the end of the current line? Yet the user should be able to do text selection. My major problems are to prevent deleting text past current line, and to disable insertion/deletion at any arbitrary position. Another question : Is there any way you can associate some kind of file input with the text widget so that you can read whatever is entered into the text widget just like reading from a terminal? Would someone give me a hint, please ??? Thanx, Po