home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mnth0107.zip / Anderson / program / edit.hlp (.txt) < prev    next >
OS/2 Help File  |  1992-02-09  |  14KB  |  470 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Extended Help ΓòÉΓòÉΓòÉ
  3.  
  4. Edit is a simple programmer's editor.  Its only advantage over the standard 
  5. OS/2 System Editor is that Edit displays line and column numbers -- something 
  6. that is essential when attempting to interpret compiler diagnostics. 
  7.  
  8. All standard editing features are supported, including undo/redo, cut, copy, 
  9. paste (using the system clipboard), search/replace, and Go to line. 
  10.  
  11. Standard cursor control keys are available when editing.  CUA standards are 
  12. followed for most  functions. 
  13.  
  14. More help can be obtained on any of the main menu items (and their associated 
  15. pull-down menus) by double-clicking on one of the following: 
  16.  
  17.  File 
  18.  Edit 
  19.  Help 
  20.  
  21.  Brian R. Anderson 
  22.  British Columbia Institute of Technology 
  23.  3700 Willingdon Avenue 
  24.  Burnaby, B.C.  V5G 3H2 
  25.  CANADA 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 2. File Menu Help ΓòÉΓòÉΓòÉ
  29.  
  30. The File menu allows access to disk files.  File size must not exceed 64K.  To 
  31. edit more than one file, start multiple copies of the editor by double-clicking 
  32. on the Edit entry in a Desktop Manager menu or from the command line: 
  33.  
  34. [C: \WORK] START EDIT 
  35.  
  36. With multiple copies of the editor running, you can use the clipboard to move 
  37. or copy text from one file to another (see Edit menu for more details). 
  38.  
  39. For more information, double-click on one of these topics: 
  40.  
  41.  New 
  42.  Open 
  43.  Save 
  44.  Save as 
  45.  Exit 
  46.  
  47.  
  48. ΓòÉΓòÉΓòÉ 3. New Help ΓòÉΓòÉΓòÉ
  49.  
  50. New clears the edit window so that you can create a new file. If the contents 
  51. of the edit window have changed since the last time you saved, you will be 
  52. given a chance to save before the window is cleared. 
  53.  
  54. Unless you want to discard the changes that you have made to your file, select 
  55. Yes when prompted; if you select No, the file will not be saved.  If you select 
  56. Cancel, you will be returned to the edit window without any action. 
  57.  
  58. To activate this command, select New from the menu. 
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 4. Open Help ΓòÉΓòÉΓòÉ
  62.  
  63. Open allows you to access existing files on any disk or within any directory. 
  64. The dialog box that results from choosing Open contains two list boxes -- one 
  65. with disks/directories, the other with files. 
  66.  
  67. To change to another disk or directory, simply double-click on the disk or 
  68. directory of interest -- the files list box will immediately show the files in 
  69. that directory. 
  70.  
  71. To select a file, simply double-click on the required file and it will be 
  72. opened and read into the edit window. 
  73.  
  74. You may also open files using just the keyboard:  Of course, you may simply 
  75. type the name of the file that you want to open, followed by the Enter key. 
  76. Use the tab key to switch from one part of the dialog box to another.  Use the 
  77. up and down Arrow keys to scroll through the disk/directory and file list 
  78. boxes.  Use the Enter key to make your selection.  Use the Escape key to cancel 
  79. without making a selection. 
  80.  
  81. To activate this command, select Open from the menu. 
  82.  
  83. If you select Open when you are already editing a file (and the file has 
  84. changed since the last time you saved), you will be given the opportunity to 
  85. save before the new file is opened. 
  86.  
  87.  
  88. ΓòÉΓòÉΓòÉ 5. Save Help ΓòÉΓòÉΓòÉ
  89.  
  90. Save will save the contents of the edit window to the current file.  If the 
  91. edit window contains new text that has never been saved, you will be prompted 
  92. for a filename.  The current filename (if any) appears in the title bar. 
  93.  
  94. To activate this command, select Save from the menu. 
  95.  
  96.  
  97. ΓòÉΓòÉΓòÉ 6. Save as Help ΓòÉΓòÉΓòÉ
  98.  
  99. Save as allows you to save the contents of the edit window under a different 
  100. filename (i.e., different from previous saves and/or different from the 
  101. original filename).  Unlike Save, (which saves using the existing name) Save as 
  102. always prompts for a new filename. 
  103.  
  104. Save as is useful for two distinct purposes: saving an altered file under a 
  105. different name (to preserve the original file); and splitting a file. 
  106.  
  107. Splitting a file is tricky, and should only be attempted after first saving a 
  108. backup copy of the entire file.  Here are the steps involved in splitting a 
  109. file: 
  110.  
  111.  1.  Cut one portion of the text to the clipboard. 
  112.  2.  Save the remaining text to a new file. 
  113.  3.  Delete the text that was just saved to the file. 
  114.  4.  Paste the text that was previously Cut to the clipboard. 
  115.  5.  Save the retreived text to a second new file. 
  116.  
  117.  To activate this command, select Save as from the menu. 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 7. Exit Help ΓòÉΓòÉΓòÉ
  121.  
  122. Exit terminates the editor session, and returns you to the operating system (PM 
  123. screen or OS/2 command prompt, depending upon how you started the program).  If 
  124. you have changed the contents of the edit window since the last time that you 
  125. saved, you will be given the opportunity to save the contents to a file (or 
  126. Cancel and return to the editor). 
  127.  
  128. To activate this command (i.e., quit the editor), you may select Exit from the 
  129. menu, select Close from the system menu, click on the End Task pushbutton from 
  130. the task list, or use the keyboard accelerator: F3. 
  131.  
  132.  
  133. ΓòÉΓòÉΓòÉ 8. Edit Menu Help ΓòÉΓòÉΓòÉ
  134.  
  135. The Edit menu provides various text manupulation functions. For more 
  136. information, double-click on one of these topics: 
  137.  
  138.  Undo 
  139.  Cut 
  140.  Copy 
  141.  Paste 
  142.  Delete 
  143.  Find 
  144.  Replace 
  145.  Go to line 
  146.  
  147.  
  148. ΓòÉΓòÉΓòÉ 9. Undo Help ΓòÉΓòÉΓòÉ
  149.  
  150. Undo provides a single-level undo/redo function to allow you to recover from 
  151. mistakes.  This menu selection will be greyed  (i.e., unavailable) if the 
  152. editor does not have an action that it can recover from.  For example, it is 
  153. not possible to undo a save. 
  154.  
  155. Undo is most useful when you accidently delete something that you meant to 
  156. keep.  It is important to realize that Edit can recover only the most recent 
  157. action -- if you delete something and don't realize it until after you have 
  158. started typing, it is too late! 
  159.  
  160. Undo can also recover from an accidental undo -- i.e., it can re-do.  Again, 
  161. the same caution applies -- if you don't realize that the undo was a mistake 
  162. (and do something else), you will not be able to re-do, because Edit can undo 
  163. only your latest action. 
  164.  
  165. To activate this command, select Undo from the menu, or use the keyboard 
  166. accelerator: Alt+Backspace. 
  167.  
  168.  
  169. ΓòÉΓòÉΓòÉ 10. Cut Help ΓòÉΓòÉΓòÉ
  170.  
  171. Cut allows you to move text from one part of a document to another, or even 
  172. between two different documents. 
  173.  
  174. Cut (or Copy) places text on the clipboard, where it may be later retreived by 
  175. Paste.  Text remains on the clipboard even if you exit the program, and is 
  176. available to other processes (e.g., other running copies of Edit). 
  177.  
  178. To cut a section of text, you must first highlight  the text. You can do this 
  179. either with the mouse or the keyboard.  With the mouse, you point to the 
  180. beginning of the area that you want to cut, depress and hold the left mouse 
  181. button, and then move the mouse to the end of the area that you want to cut. 
  182. With the keyboard, you move the text cursor (with the Arrow or Page Up/Page 
  183. Down keys) to the beginning of the area that you want to cut, depress (and 
  184. hold) the Shift key and then move (using the same keys as before) to the end of 
  185. the area that you want to cut. In either case (mouse or keyboard) the result is 
  186. that the selected text is marked by changing colors (usually by making the text 
  187. reverse video, but may be different if you have changed the default colors on 
  188. your computer). 
  189.  
  190. Once the text has been chosen (highlighted ) select Cut from the menu, or use 
  191. the keyboard accelerator: Shift+Del. 
  192.  
  193. If no text has been selected, the Cut menu item will be greyed  (i.e., 
  194. disabled). 
  195.  
  196. Cut and Copy are somewhat similar (in that both result in the selected text 
  197. being placed on the clipboard), but very different (in that Cut results in the 
  198. text being deleted, while Copy does not). 
  199.  
  200.  
  201. ΓòÉΓòÉΓòÉ 11. Copy Help ΓòÉΓòÉΓòÉ
  202.  
  203. Copy allows you to duplicate text from one part of a document to another, or 
  204. even between two different documents. 
  205.  
  206. Copy (or Cut) places text on the clipboard, where it may be later retreived by 
  207. Paste.  Text remains on the clipboard even if you exit the program, and is 
  208. available to other processes (e.g., other running copies of Edit). 
  209.  
  210. To copy a section of text, you must first highlight  the text. You can do this 
  211. either with the mouse or the keyboard.  With the mouse, you point to the 
  212. beginning of the area that you want to copy, depress and hold the left mouse 
  213. button, and then move the mouse to the end of the area that you want to copy. 
  214. With the keyboard, you move the text cursor (with the Arrow or Page Up/Page 
  215. Down keys) to the beginning of the area that you want to copy, depress (and 
  216. hold) the Shift key and then move (using the same keys as before) to the end of 
  217. the area that you want to copy.  In either case (mouse or keyboard) the result 
  218. is that the selected text is marked by changing colors (usually by making the 
  219. text reverse video, but may be different if you have changed the default colors 
  220. on your computer). 
  221.  
  222. Once the text has been chosen (highlighted ) select Copy from the menu, or use 
  223. the keyboard accelerator: Ctrl+Ins. 
  224.  
  225. If no text has been selected, the Copy menu item will be greyed  (i.e., 
  226. disabled). 
  227.  
  228. Copy and Cut are somewhat similar (in that both result in the selected text 
  229. being placed on the clipboard), but very different (in that Cut results in the 
  230. text being deleted, while Copy does not). 
  231.  
  232.  
  233. ΓòÉΓòÉΓòÉ 12. Paste Help ΓòÉΓòÉΓòÉ
  234.  
  235. Paste works in conjunction with Cut or Copy to either move or duplicate 
  236. sections of text.  After text has been highlighted  and then placed on the 
  237. clipboard, Paste retreives the text from the clipboard and inserts it into the 
  238. edit window at the current cursor position. 
  239.  
  240. To activate this command, select Paste from the menu, or use the keyboard 
  241. accelerator: Shift+Ins. 
  242.  
  243. Paste does not remove the text from the clipboard  -- i.e., the same text can 
  244. be retreived multiple times. 
  245.  
  246. If text is highlighted  at the time that Paste is selected, the clipboard data 
  247. replaces the highlighted text. Although this feature  can sometimes be useful, 
  248. it is usually a mistake -- fortunately, even this operation can be reversed by 
  249. the Undo command. 
  250.  
  251.  
  252. ΓòÉΓòÉΓòÉ 13. Delete Help ΓòÉΓòÉΓòÉ
  253.  
  254. Delete allows you to remove text from a document.  The text does not go to the 
  255. clipboard, but can be retreived (if done immediately) by Undo 
  256.  
  257. To delete a section of text, you must first highlight  the text. You can do 
  258. this either with the mouse or the keyboard.  With the mouse, you point to the 
  259. beginning of the area that you want to delete, depress and hold the left mouse 
  260. button, and then move the mouse to the end of the area that you want to delete. 
  261. With the keyboard, you move the text cursor (with the Arrow or Page Up/Page 
  262. Down keys) to the beginning of the area that you want to delete, depress (and 
  263. hold) the Shift key and then move (using the same keys as before) to the end of 
  264. the area that you want to delete.  In either case (mouse or keyboard) the 
  265. result is that the selected text is marked by changing colors (usually by 
  266. making the text reverse video, but may be different if you have changed the 
  267. default colors on your computer). 
  268.  
  269. Once the text has been chosen (highlighted ) select Delete from the menu, or 
  270. use the keyboard accelerator: Del. 
  271.  
  272. If no text has been selected, the Delete menu item will be greyed  (i.e., 
  273. disabled), however the Del key will still operate: it deletes the current 
  274. character. 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ 14. Find Help ΓòÉΓòÉΓòÉ
  278.  
  279. Find allows you to search for one or more occurrences of a word or phrase (up 
  280. to about 50 characters). 
  281.  
  282. To activate this command, select Find from the menu, or use the keyboard 
  283. accelerator: Ctrl+F. 
  284.  
  285. When activated, you will be prompted to enter a string to search for. After 
  286. typing in the target string, press the Enter key or click on the Find 
  287. pushbutton.  If the search is successful, the cursor will move to the first 
  288. occurrence of the string; the editor will also highlight  the string in the 
  289. edit window. 
  290.  
  291. If the target string is not found, a message box informs you of that. 
  292.  
  293. If you do not specify a target string, Find will exit without doing anything. 
  294. Depressing the Escape key or clicking on the Cancel pushbutton has the same 
  295. effect. 
  296.  
  297. If you activate the Find again, the previous word will already appear in the 
  298. target field, allowing you to more easily continue the search (for multiple 
  299. occurrences) -- just hit the Enter key or click on the Find pushbutton. 
  300.  
  301. Find starts its search from the cursor position, and continues to the end of 
  302. the edit window. 
  303.  
  304.  
  305. ΓòÉΓòÉΓòÉ 15. Replace Help ΓòÉΓòÉΓòÉ
  306.  
  307. Replace allows you to search, and optionally replace text (a word or phrase up 
  308. to about 50 characters). 
  309.  
  310. To activate this command, select Replace from the menu, or use the keyboard 
  311. accelerator: Ctrl+R. 
  312.  
  313. When activated, you will be prompted to enter a string to search for. (You may 
  314. optionally enter the replacement string at this time as well). After typing in 
  315. the target string, press the Enter key or click on the Find pushbutton.  If the 
  316. search is successful, the cursor will move to the first occurrence of the 
  317. string; the editor will also highlight  the string in the edit window. 
  318.  
  319. Once the first occurrence of the target is found, the Replace dialog box will 
  320. reappear (this time with the Replace and Replace All pushbuttons active).  You 
  321. may now enter the replacement string (if you leave it blank, the target is 
  322. replaced with nothing -- i.e., the target is deleted).  You may now choose Find 
  323. (searches for next occurrence without replacing), Replace (replaces the 
  324. highlighted occurrence of the target), Replace All (replaces every occurrence 
  325. of the target, or Cancel (does nothing). 
  326.  
  327. If the target string is not found, a message box informs you of that. 
  328.  
  329. In the case of Replace All, a message box informs you when it has replaced all 
  330. occurrences of the target. 
  331.  
  332. If you do not specify a target string, Replace will exit without doing 
  333. anything.  Depressing the Escape key or clicking on the Cancel pushbutton has 
  334. the same effect. 
  335.  
  336. Replace starts its search from the cursor position, and continues to the end of 
  337. the edit window. 
  338.  
  339.  
  340. ΓòÉΓòÉΓòÉ 16. Go to line Help ΓòÉΓòÉΓòÉ
  341.  
  342. Go to line allows you to go directly to a specified line. 
  343.  
  344. To activate this command, select Go to line from the menu, or use the keyboard 
  345. accelerator: Ctrl+G. 
  346.  
  347. This feature is particularly helpful when you are using compiler diagnostic 
  348. messages (which reports syntax errors by line number) to locate and fix program 
  349. bugs. 
  350.  
  351. You will find it easier if you first fix the syntax errors that occur near the 
  352. end of the file, as changes made (added or deleted lines) will not affect line 
  353. numbering of syntax errors that occur near the beginning of the file. 
  354.  
  355.  
  356. ΓòÉΓòÉΓòÉ 17. Help Menu Help ΓòÉΓòÉΓòÉ
  357.  
  358. The Help menu gives you access to several types of help, including help for 
  359. using the help system, general help about this program, a list of keys used by 
  360. this program, an index of available help topics, and copyright information 
  361. about Edit. 
  362.  
  363. For more information, double-click on one of these topics: 
  364.  
  365.  Help for help 
  366.  Extended help 
  367.  Keys help 
  368.  Help index 
  369.  About 
  370.  
  371.  
  372. ΓòÉΓòÉΓòÉ 18. Help for help Explained ΓòÉΓòÉΓòÉ
  373.  
  374. Help for help gives information about using the OS/2 help system (known as the 
  375. Information Presentation Facility ). The various features and services are 
  376. explained, and the keystrokes used by the help system are listed and explained. 
  377.  
  378.  
  379. ΓòÉΓòÉΓòÉ 19. Extended help Explained ΓòÉΓòÉΓòÉ
  380.  
  381. Extended help is actually a rather abbreviated explanation of this application. 
  382. Hypertext links (shown in light green) give you access to other available help 
  383. for this application (e.g., instructions for using each of the menu options). 
  384.  
  385.  
  386. ΓòÉΓòÉΓòÉ 20. Keys help Explained ΓòÉΓòÉΓòÉ
  387.  
  388. Keys help lists the keystrokes used by this application. 
  389.  
  390.  
  391. ΓòÉΓòÉΓòÉ 21. Help index Explained ΓòÉΓòÉΓòÉ
  392.  
  393. Help index give an alphebetic listing of all available help topics.  The index 
  394. is organized in two levels (main topic and subtopic). All topics related to 
  395. this application are subtopics of the main topic Editor. 
  396.  
  397. Each item in the index is a hypertext link: double-click or depress the Enter 
  398. key to get help on a topic in the index. 
  399.  
  400.  
  401. ΓòÉΓòÉΓòÉ 22. About Explained ΓòÉΓòÉΓòÉ
  402.  
  403. About displays copyright information about this application. 
  404.  
  405.  
  406. ΓòÉΓòÉΓòÉ 23. Keys Help ΓòÉΓòÉΓòÉ
  407.  
  408. Editing Keys 
  409.  
  410.  F1 
  411.          Help 
  412.  
  413.  F3 
  414.          Exit 
  415.  
  416.  Alt+Backspace 
  417.          Undo/Redo 
  418.  
  419.  Shift+Del 
  420.          Cut 
  421.  
  422.  Ctrl+Ins 
  423.          Copy 
  424.  
  425.  Del 
  426.          Delete Block or Character 
  427.  
  428.  Ctrl+F 
  429.          Find (Search) 
  430.  
  431.  Ctrl+R 
  432.          Replace (Search and Replace) 
  433.  
  434.  Page Up 
  435.          Scroll Text (Vertical) 
  436.  
  437.  Page Down 
  438.          Scroll Text (Vertical) 
  439.  
  440.  Ctrl+Page Up 
  441.          Scroll Text (Horizontal) 
  442.  
  443.  Ctrl+Page Down 
  444.          Scroll Text (Horizontal) 
  445.  
  446.  Home 
  447.          Beginning of Line 
  448.  
  449.  End 
  450.          End of Line 
  451.  
  452.  Ctrl+Home 
  453.          Beginning of Document 
  454.  
  455.  Ctrl+End 
  456.          End of Document 
  457.  
  458.  Ctrl+Right Arrow 
  459.          Next Word 
  460.  
  461.  Ctrl+Left Arrow 
  462.          Previous Word 
  463.  
  464.  Insert 
  465.          Toggle Insert/Overwrite 
  466.  
  467.  Del 
  468.          Delete Character or Block 
  469.  
  470.