Specifications

Athena Widget Set libXaw 1.0.7
Ctrl-o Newline And Backup Meta-< Beginning Of File
Ctrl-p Previous Line Meta-> End Of File
Ctrl-r Search/Replace Backward Meta-] Forward Paragraph
Ctrl-s Search/Replace Forward Meta-[ Backward Paragraph
Ctrl-t Transpose Characters
Ctrl-u Multiply by 4 Meta-Delete Delete Previous Word
Ctrl-v Next Page Meta-Shift Delete Kill Previous Word
Ctrl-w Kill Selection Meta-Backspace Delete Previous Word
Ctrl-y Unkill Meta-Shift Backspace Kill Previous Word
Ctrl-z Scroll One Line Up
Ctrl-\ Reconnect to input method
Kanji Reconnect to input method
In addition, the pointer may be used to cut and paste text:
Button 1 Down Start Selection
Button 1 Motion Adjust Selection
Button 1 Up End Selection (cut)
Button 2 Down Insert Current Selection (paste)
Button 3 Down Extend Current Selection
Button 3 Motion Adjust Selection
Button 3 Up End Selection (cut)
Since all of these key and pointer bindings are set through the translations and resource manager,
the user and the application programmer can modify them by changing the Textwidget’s transla-
tions resource.
5.1.2. Search and Replace
The Textwidget provides a search popup that can be used to search for a string within the current
Te x twidget. The popup can be activated by typing either Control-r or Control-s.If Control-s is
used the search will be forward in the file from the current location of the insertion point; if Con-
trol-r is used the search will be backward. The activated popup is placed under the pointer.Ithas
anumber of buttons that allowboth text searches and text replacements to be performed.
At the top of the search popup are twotoggle buttons labeled backward and forward.One of
these buttons will always be highlighted; this is the direction in which the search will be per-
formed. The user can change the direction at anytime by clicking on the appropriate button.
Directly under the buttons there are twotextareas, one labeled Search for: and the other labeled
Replace with:.Ifthis is a read-only Textwidget the Replace with: field will be insensitive and no
replacements will be allowed. After each of these labels will be a text field. This field will allow
the user to enter a string to search for and the string to replace it with. Only one of these text
fields will have a windowborder around it; this is the active textfield. Anykey presses that occur
when the focus in in the search popup will be directed to the active textfield. There are also a
fewspecial key sequences:
Carriage Return:Execute the action, and pop down the search widget.
Tab:Execute the action, then move tothe next field.
Shift Carriage Return:Execute the action, then move tothe next field.
Control-q Tab:Enter a Tab into a text field.
Control-c:Pop down the search popup.
73