################################################## # textsw.info May 2 bug fixes ################################################## ################################################## # Open Windows Version 3 FCS rev'd by James Brook # helpopen path changed 11 July 1991 ################################################## #####################50########################### :textsw:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Text window Use text-editing keyboard and menu commands to write and change plain ASCII text. To set the editing caret, position the mouse pointer and click SELECT. To move the caret, use the arrow keys on the right keypad. To select text, click SELECT at the beginning of the text, then click ADJUST at the end. You can copy or cut the selected text using the Copy and Cut keys on the left keypad. With the Paste key, you can then paste the text elsewhere in this or another text window. Copy, Cut, and Paste are available on the Text Editor menu, along with many other options. To display that menu, click MENU in the text window. ################################################## # File menu ################################################## :mfilecmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook File Provides a menu of File options for saving the contents of the text window: Load File Pops up a window in which you type the directory and file names for the file you want to load. Save Current File Saves the contents of the text window to the current file. Store as New File Pops up a window in which you type the directory and file names for your file. Include File Pops up a window in which you type the directory and file names for the file you want to include. Empty Document Clears the text window without saving its contents. :mloadfile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Load File Pops up a window in which you type the directory and file name for the file you want to load. In that pop-up window, click on Load File to load the specified file in the text window, replacing the window's current contents. Before choosing this option, you can select the name of the file you want to load. You may have to type the name first. Keyboard equivalent: Diamond-L Left-L #####################50########################### :loadfile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Load File Click on this button to load the specified text file into the text window. This replaces any text that was already in the window. :msavefile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Save Current File Saves the contents of the text window to the current file. Makes a backup version of the file, named filename% . If there is no current file, or you wish to save the contents to a different file, use Store as New File. :mstorefile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Store as New File Pops up a window in which you type the directory and file name for your file. In that pop-up window, click on Store as New File to create a file in the current directory and save the contents of the text window to it. Before choosing this option, you can select the name you want for the new file. You may have to type the name first. Keyboard equivalent: Diamond-S Left-S #####################50########################### :storefile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Store as New File Click on this button to save the contents of the text window as a text file, using the directory and file name you specify. :mincludefile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Include File Pops up a window in which you type the directory and file name for the file you want to include. In that pop-up window, click on Include File to include the contents of the specified file. The file will appear in the text window, beginning at the caret. Before choosing this option, you can select the name of the file you want to include. You may have to type the name first. #####################50########################### :includefile:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Include File Click on this button to add the contents of the specified file to the text in the text window. The new text is added at the insert point. :memptydoc:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Empty Document Clears the text window without saving its contents. :dirstring:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Directory Type the path of the directory for the file you want to include. :includestring:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook File Type the name of the file you want to include. :loadstring:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Directory Type the path of the directory for the file you want to load. :loadpanel:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook File Type the name of the file you want to load. :storestring:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Directory Type the path of the directory for the file you want to store. :storepanel:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook File Type the name of the file you want to store. ################################################## # Edit menu ################################################## :meditcmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Edit Provides a menu of Edit options: Again Re-executes the most recent sequence of editing operations, except for Undo. Undo Provides a choice of undoing the most recent editing operation or undoing all edits since you opened the window or last saved its contents. Copy Copies the selected text onto the clipboard, overwriting the clipboard's previous contents. Paste Inserts the contents of the clipboard into the text window, beginning at the caret. Cut Deletes the selected text and copies it onto the clipboard, overwriting the clipboard's previous contents. Defaults to Again or the most recently selected option on the menu. #####################50########################### :meditagain:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Again Re-executes the most recent sequence of editing operations, except for Undo. Keyboard equivalents: Again key Diamond-A Left-A :meditundo:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Undo Provides a choice of undoing the most recent editing operation or undoing all edits since you opened the window or last saved its contents. Defaults to Undo Last Edit or the most recently selected option on the menu. :mundolast:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Undo Last Edit Reverses the effects of the most recent editing operation unless you have saved your file. Selecting Undo Last Edit again reverses the second most recent editing operation, and so on. Keyboard equivalents: Undo Diamond-U Left-U #####################50########################### :mundoall:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Undo All Edits Eliminates all text changes made since the window was started or since you last saved its contents. :meditcopy:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Copy Copies the selected text onto the clipboard, overwriting the clipboard's previous contents. Keyboard equivalents: Copy Diamond-C Left-C :meditpaste:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Paste Inserts the contents of the clipboard into the text window, beginning at the caret. Keyboard equivalents: Paste Diamond-V Left-V #####################50########################### :meditcut:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Cut Deletes the selected text and copies it onto the clipboard, overwriting the clipboard's previous contents. Keyboard equivalents: Cut Diamond-X Left-X ################################################## # View menu ################################################## :mdisplaycmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook View Provides ways to change the position of the cursor and the way lines are wrapped: Select Line at Number Pops up a window in which you type the number of the line you want to go to. What Line Number? Pops up a notice telling you the number of the line containing the selected text. Show Caret at Top Moves the line containing the caret to the top of the window. Change Line Wrap Provides a menu of Line Wrap options. Defaults to Select Line at Number or the most recently selected option on the menu. #####################50########################### :mselectline:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Select Line at Number Pops up a window in which you type the number of the line you want to go to. Click on Select Line at Number to scroll the window's contents to the "nth" line, where "n" is the integer you typed. :selectline:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Select Line at Number Click on this button to scroll through the window's contents to the "nth" line, where "n" is the integer you typed for Line Number. :linenumber:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Line Nubmer Type the number of the line you want to scroll to. The line number must be an integer. #####################50########################### :mwhatline:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook What Line Number? Pops up a notice telling you the number of the line containing the selected text. :mshowcaret:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Show Caret at Top Moves the line containing the caret to the top of the window. :mchangelinewrap:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Change Line Wrap Provides a menu of Line Wrap options. These options determine where line breaks occur: between characters, words, or not at all. :mwrapchars:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Wrap at Character Makes line breaks occur between characters. :mwrapwords:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Wrap at Word Makes line breaks occur between words. :mcliplines:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Clip Lines Makes lines not wrap. When you type lines wider than the window, the text beyond the right margin does not appear in the window. To see the hidden text, resize the window or choose another Line Wrap option from View. #####################50########################### ################################################## # Find menu ################################################## :mfindcmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find Provides a menu of options for finding and replacing text: Find and Replace Pops up a Find and Replace window. Find Selection Provides the option to search forward or backward for the selected text. Find Marked Text Pops up a Find Marked Text window for finding text bounded by specified delimiters. Replace |>field<| Provides a menu of search options (Expand, Next, and Previous). :mfindreplace:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find and Replace Pops up a Find and Replace window. If you select a block of text before choosing this option, the Find and Replace window contains the selected text as the word or phrase to search for. Keyboard equivalent: Control-Find #####################50########################### :searchpanel:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find and Replace In the text field to the right of Find, enter the word or phrase you want to find. In the text field to the right of Replace, enter the word or phrase you want to replace it with. Click on the button for the action you want: - Find - Replace - Find then Replace - Replace then Find - Replace All :findstring:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Search text field Enter the word or phrase you want to find. :replacestring:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Replace text field Enter the word or phrase you want to substitute for the word or phrase in the Find text field. :find:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find Searches forward for the next occurrence of the Find text. Provides the option to search backward. Keyboard equivalent: Find key #####################50########################### :mdirforward:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Forward Searches forward for the next occurrence of the Find text. Keyboard equivalent: Find key :mdirbackward:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Backward Searches backward for the next occurrence of the Find text. Keyboard equivalent: Shift-Find :replace:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Replace Replaces the selected word or phrase with the Replace text. :findreplace:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find then Replace Searches for the next occurrence of the Find text. Replaces it with the Replace text. :replacefind:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Replace then Find Replaces the currently selected text with the Replace text, then searches for the next occurrence of the Find text. #####################50########################### :replaceall:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Replace All Replaces all occurrences of the Find text with the Replace text. :wrap:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook All Text/To End Selects the next search mode. All Text: When the search reaches one end of the text, it continues to the other end. To End: When the search reaches the end of the text, it stops. #####################50########################### :mfindselcmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find Selection Provides the option to search forward or backward for the selected text. :mfindforward:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Forward Searches forward for the next occurrence of the selected text. Keyboard equivalent: Find key :mfindbackward:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Backward Searches backward for the next occurrence of the selected text. Keyboard equivalent: Shift-Find :mfindtext:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find Marked Text Pops up a Find Marked Text window for finding text bounded by specified delimiters. :fieldpanel:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find Marked Text Click left on the delimiter pair to search for, then on the Backward, Expand, or Forward. #####################50########################### :fieldchoice:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Delimiter option Specifies the selected delimiter pair that is used for searching. :findpair:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Find Pair Searches for a pair of matched delimiters. :findpairchoice:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Forward/Backward/Expand Directs the search for delimiters, using the current insertion point as the start of the search. :insertpair:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Insert Pair Surrounds the selected text with delimiters. :removepair:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Remove Pair Deletes a matched pair of delimiters from the selected text. #####################50########################### :mselfieldcmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Replace |>field<| Provides a menu of search options (Expand, Next, and Previous). :mselexpand:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Expand Searches for a field contained by delimiters and highlights it. :mselnext:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Next Searches for the next field and highlights it. Keyboard equivalent: Control-Tab :mselprevious:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Previous Searches for the previous field and highlights it. Keyboard equivalent: Shift-Control-Tab #################################################### # Pop-up Term Pane Menu #################################################### #####################50########################### :mhistory:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook History Provides options to modify the log of all the commands typed in the window. :mmode:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Mode Determines whether the history log is editable or read-only. :mstorelog:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Store log as new file Saves the current history log to a file. Pops up a window in which you type the directory and file name. :mclearlog:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Clear log Clears the current history log. #####################50########################### :medit:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Edit Press MENU to display a submenu of Edit options: Again, Undo, Copy, Paste, and Cut. :meditor:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook File Editor Determines whether or not a Text Editor pane is part of the window. :meneditor:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Enable Editing Lets you edit text anywhere in the window, as in a Text Editor window. :mdiseditor:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Disable Editing Lets you edit the current command line only. #####################50########################### :mextras:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Extras Provides a menu of Extra options for text formatting, capitalization, and other operations. :extrasmenu:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Extras menu Provides these options: Format Reformats long lines into physical lines of 72 characters or less. Capitalize Capitalizes selected text. Choose the type of capitals from the submenu. Shift Lines Inserts or removes a Tab character at the beginning of each line of selected text. Pretty-print C Uses the UNIX indent command to format C program listings. Insert Brackets Inserts brackets around the selected text. Choose the type of bracket from the submenu. Remove Brackets Deletes brackets from the selected text. Choose the type of bracket from the submenu. ######################################## # Term Pane Menu ######################################## #####################50########################### :menscroll:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Enable Scrolling Adds a scrollbar and full text-editing capabilities throughout the window if editing is enabled, or only at the command line if editing is disabled. :mdisscroll:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook Disable Scrolling Eliminates the scrollbar and many text-editing capabilities. Some applications need scrolling disabled. :mundocmds:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook :mdirection:$OPENWINHOME/bin/helpopen handbooks/textedit.handbook