12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Text <strong>Widget</strong>sCtrl-h Delete Previous Character Meta-y Insert Current SelectionCtrl-j Newline And Indent Meta-z Scroll One Line DownCtrl-k Kill To End Of Line Meta-d Delete Next WordCtrl-l Redraw Display Meta-D Kill WordCtrl-m Newline Meta-h Delete Previous WordCtrl-n Next Line Meta-H Backward Kill WordCtrl-o Newline And Backup Meta-< Beginning Of FileCtrl-p Previous Line Meta-> End Of FileCtrl-r Search/Replace Backward Meta-] Forward ParagraphCtrl-s Search/Replace Forward Meta-[ Backward ParagraphCtrl-t Transpose CharactersCtrl-u Multiply by 4 Meta-Delete Delete Previous WordCtrl-v Next Page Meta-Shift Delete Kill Previous WordCtrl-w Kill Selection Meta-Backspace Delete Previous WordCtrl-y Unkill Meta-Shift Backspace Kill Previous WordCtrl-z Scroll One Line UpCtrl-\\ Reconnect to input methodKanji Reconnect to input methodIn addition, the pointer may be used to cut and paste text:Button 1 Down Start SelectionButton 1 Motion Adjust SelectionButton 1 Up End Selection (cut)Button 2 Down Insert Current Selection (paste)Button 3 Down Extend Current SelectionButton 3 Motion Adjust SelectionButton 3 Up End Selection (cut)Since all of these key and pointer bindings are set through the translations andresource manager, the user and the application programmer can modify them bychanging the Text widget's translations resource.Search and ReplaceThe Text widget provides a search popup that can be used to search for a stringwithin the current Text widget. The popup can be activated by typing either Control-ror Control-s. If Control-s is used the search will be forward in the file from thecurrent location of the insertion point; if Control-r is used the search will be backward.The activated popup is placed under the pointer. It has a number of buttonsthat allow both text searches and text replacements to be performed.At the top of the search popup are two toggle buttons labeled backward and forward.One of these buttons will always be highlighted; this is the direction in which thesearch will be performed. The user can change the direction at any time by clickingon the appropriate button.Directly under the buttons there are two text areas, one labeled Search for: and theother labeled Replace with:. If this is a read-only Text widget the Replace with: field65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!