Next: , Previous: , Up: BLOX.BText   [Index]


1.42.7 BLOX.BText: inserting text

insertAtEnd: aString

Clear the selection and append aString at the end of the widget.

insertSelectedText: aString

Insert aString in the widget at the current insertion point, leaving the currently selected text (if any) in place, and selecting the text.

insertText: aString

Insert aString in the widget at the current insertion point, replacing the currently selected text (if any).

insertText: aString at: position

Insert aString in the widget at the given position, replacing the currently selected text (if any). The position is a Point object in which both coordinates are 1-based: the first line is line 1, and the first character in the first line is character 1.

insertTextSelection: aString

Insert aString in the widget after the current selection, leaving the currently selected text (if any) intact.

invokeCallback

Generate a synthetic callback.

nextPut: aCharacter

Clear the selection and append aCharacter at the end of the widget.

nextPutAll: aString

Clear the selection and append aString at the end of the widget.

nl

Clear the selection and append a linefeed character at the end of the widget.

refuseTabs

Arrange so that Tab characters, instead of being inserted in the widget, traverse the widgets in the parent window.

replaceSelection: aString

Insert aString in the widget at the current insertion point, replacing the currently selected text (if any), and leaving the text selected.

searchString: aString

Search aString in the widget. If it is not found, answer zero, else answer the 1-based line number and move the insertion point to the place where the string was found.

space

Clear the selection and append a space at the end of the widget.


Next: , Previous: , Up: BLOX.BText   [Index]