lfs@d62zeke.mitre.org (Lyman F. Sheats) (02/20/91)
I have a text widget with XmNwordWrap set to True and XmNeditMode set to XmMULTI_LINE_EDIT. I am having problems overriding the tab key. My .Xdefaults file contains: *app_name*XmText*translations: #override <Key>Tab: next-tab-group() With the above commented out, the multi-line text widget displays eight spaces when the TAB key is pressed, and sets the input focus to the first item in the PREVIOUS tab group when SHIFT-TAB is pressed. With the above not commented out, the multi-line text widget displays eight spaces when the tab key is pressed, and sets the input focus to the first item in the NEXT tab group when SHIFT-TAB is pressed. With the above not commented out, I expected that SHIFT-TAB's behavior would not change. I also expected that pressing the TAB key when the multi-line text widget had the input focus would set the input focus to the first widget in the next tab group. I'm confused. I realize that multi-line text widget translations are different from single line text translations, but why the strange behavior? Am I missing something? Any help would be appreciated, and thanks in advance. (email: lfs@mbunix.mitre.org) P.S. Almost forgot: X11R3 with Motif 1.0.3, and the multi-line text widget is in a tab group by itself.