Specifications
Athena Widget Set libXaw 1.0.7
Label label
Te x ttext
Command insert
Command cancel
5.1.4. Text Selections for Users
The text widgets have a textselection mechanism that allows the user to copypieces of the text
into the PRIMARY selection, and paste into the text widget some text that another application
(or text widget) has put in the PRIMARY selection.
One method of selecting text is to press pointer button 1 on the beginning of the text to be
selected, drag the pointer until all of the desired text is highlighted, and then release the button to
activate the selection. Another method is to click pointer button 1 at one end of the text to be
selected, then click pointer button 3 at the other end.
To modify a currently active selection, press pointer button 3 near either the end of the selection
that you want to adjust. This end of the selection may be movedwhile holding down pointer but-
ton 3. When the proper area has been highlighted release the pointer button to activate the selec-
tion.
The selected text may nowbepasted into another application, and will remain active until some
other client makes a selection. To paste text that some other application has put into the PRI-
MARY selection use pointer button 2. First place the insertion point where you would likethe
text to be inserted, then click and release pointer button 2.
Rapidly clicking pointer button 1 the following number of times will adjust the selection as
described.
Tw o Select the word under the pointer.Aword boundary is defined by the Textwid-
get to be a Space, Tab, or Carriage Return.
Three Select the line under the pointer.
Four Select the paragraph under the pointer.Aparagraph boundary is defined by the
text widget as twoCarriage Returns in a rowwith only Spaces or Tabs between
them.
Five Select the entire text buffer.
To unset the text selection, click pointer button 1 without moving it.
5.2. Text Widget Actions
All editing functions are performed by translation manager actions that may be specified through
the translations resource in the Textwidget.
Insert Point Movement Delete
forward-character delete-next-character
backward-character delete-previous-character
forward-word delete-next-word
backward-word delete-previous-word
forward-paragraph delete-selection
backward-paragraph
beginning-of-line
end-of-line Selection
next-line select-word
previous-line select-all
next-page select-start
previous-page select-adjust
75