Edith Manual Text Windows 24th September 1994 There are six TYPES of text window. DEFAULT text windows ALTERNATIVE text windows BINARY text windows the NOTE PAD TEXT BUFFER and TRASH CAN extract windows HELP windows Each type of text window has its own settings for colours, fonts and dimensions, which can be set in the dialogs in the Options menu (Text Appearance, Fonts). Also dependent on text window TYPE, a window can have a MENU BAR a vertical SCROLL BAR a RULER The MENU BAR is a copy of the desktop menu bar, plus a box indicating the text status. The vertical SCROLL BAR is a special type of scroll bar that moves your text up and down immediately as you move the slider. However, when the RIGHT MOUSE BUTTON is used, it behaves as a normal window scroll bar. The RULER indicates the TRUE TAB stops (upper set of triangles), the EDITOR TAB stops (lower set of triangles) and the RIGHT MARGIN (the thick vertical line). See the printed manual or the help page for the EDITOR OPTIONS dialog for an explanation of the tab/true tab system. The TEXT STATUS BOX in the right corner of the menu bar shows five FLAGS: CHANGES - for No changes / for Changes, but Undo restores original state X for Irristorable changes UNDO - for Undo not applicable U for Undo applicable SELECTION - when there is no selection S when there is a selection EDITABILITY - when text is editable R when text is read-only NEWLINES d when text is in MS-DOS style u when text is in UNIX style m when text is in MAC/C64 style and the CURSOR ROW and COLUMN positions. USING THE MOUSE ù Click the left mouse button anywhere in the text window to move the cursor. ù Move the mouse over the text while holding down the left mouse button to select a contiguous text fragment. ù Double click the left mouse button to select a word. Triple click to select a line. ù Move the mouse over the text while holding down the right mouse button to select a square area of text. ù To add new fragments to the selection, perform any of the above operations while holding down a SHIFT key. ù Click the left mouse button inside a selected fragment to drag and drop the selected text. Hold CONTROL while doing this to move instead of copy. ù Click the right mouse button to paste (the same as PASTE in the EDIT menu or the ^V key combination). ù Click the left mouse button on the ruler to add or remove an editor tab stop ù Click the right mouse button on the ruler to set the right margin. THE EDIT MENU Undo Undo the last global operation or the changes to the line you were just editing. Repeat Repeat the last editing operations on one line. (typing text, delete, backspace, delete word, etc.) Clear Clear the selection, the position stack (the triangles on the scroll bar) and the buffer for the REPEAT operation. Cut Copy the selection into the cut/paste text buffer and discard the selected text. Copy Copy the selection into the cut/paste text buffer. Paste Paste the cut/paste text buffer into the text. Delete Copy the selection into the delete/textop text buffer and discard the selected text. Overlay Paste the cut/paste text buffer into the text line by line, left-aligned. Open Selection Create a stretchable selection that follows the cursor as you move it down or type text. Select SouthEast Quadrant Select the paragraph to the southeast of the cursor. THE TEXT MENU The operations in this menu operate on the selection, but if there is no selection, they will apply to a default scope. Shift Left Shift selected lines left over one tab position. Use ^< to shift over one column. (Depending on your keyboard, you may need to add the SHIFT key). DEFAULT SCOPE: ONE LINE. Shift Right Shift selected lines right over one tab position. Use ^> to shift over one column. DEFAULT SCOPE: ONE LINE. Compress Tabs Convert as many spaces as possible to true tab characters DEFAULT SCOPE: WHOLE TEXT. Expand Tabs Convert all true tabs to spaces DEFAULT SCOPE: WHOLE TEXT. Kill Trailing Blanks Remove all spaces at the end of lines DEFAULT SCOPE: WHOLE TEXT. To Lower/To Upper/Capitalize. DEFAULT SCOPE: ONE WORD. Erase Remove the selection by blanks. DEFAULT SCOPE: ONE WORD. Sort: Sort the selected lines. DEFAULT SCOPE: SOUTHEAST QUADRANT Reverse: Reverse the selected lines. DEFAULT SCOPE: SOUTHEAST QUADRANT Format: Format paragraph(s). DEFAULT SCOPE: SOUTHEAST QUADRANT SEARCH MENU Search Press HELP on the Search dialog. Next Target Search next Previous Target Search next, opposite direction Replace Replace selection by cut/paste text buffer; fragmentwise, when possible. (see the printed manual). Next Fragment Find the next fragment in the text selection. Previous Fragment Find the previous fragment in the text selection. Push Position Save the current cursor position. It will be marked on the scroll bar by a black triangle. Pop Position Jump to the last cursor position saved Goto Line Enter a line number and move to that line. Insert/Replace Mode Toggle between insert and replace mode. REMARKS ** It may occur to the user that typing text into a window only works when the mouse is above that window. Moreover, clicking on a background window with left mouse button will not top it. This allows one to type and make selections in background windows as well. If you think of these features as undesirable, they can be disabled in the GEM OPTIONS dialog. Edith Manual Text Windows 24th September 1994