home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / medo126e.zip / medo126e / med.hlp (.txt) < prev    next >
OS/2 Help File  |  1999-06-30  |  514KB  |  3,614 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. General Help ΓòÉΓòÉΓòÉ
  3.  
  4.  MED is a Shareware texteditor for programmers available for OS/2 PM and 
  5. Windows 9x/NT. 
  6.  
  7. MED's functionality is designed to be suitable for any text editing job. In 
  8. addition MED provides a lot of features that support writing and compiling 
  9. source code (Java, C/C++, Modula2 etc.). MED also takes advantage of OS/2 
  10. specialities: Drag'n'Drop (files, fonts, colors), EAs (cursor position, 
  11. bookmarks), multiple threads and data exchange via clipboard and DDE. 
  12. Furthermore, MED is not based on the MLE control element, so there is no loss 
  13. of performance when editing large files. 
  14.  
  15. o MED features 
  16. o A word about Shareware 
  17. o How to register 
  18. o Where to get the latest version 
  19. o License Agreement 
  20.  
  21.  
  22. ΓòÉΓòÉΓòÉ 2. Important information ΓòÉΓòÉΓòÉ
  23.  
  24. Some MED features are not obvious at first sight. So here some important notes: 
  25.  
  26. o When a new version of MED is installed, the old configuration files (med.cfg, 
  27.   med.syn, med.kbd, med.tlb) can be used with the new version. 
  28.  
  29.  
  30. o The keyboard is configurable. 
  31.  
  32.  
  33. o The toolbar is configurable (height, position, predefined symbols, 
  34.   userdefined symbols, button size, bubble help). 
  35.  
  36.  
  37. o You can use [SHIFT+arrowKey] to mark a standard line block. 
  38.   and [SHIFT+ALT+arrowKey] to mark a column block. 
  39.  
  40.  
  41. o The Section Browser and the Section Display can be adapted to any type of 
  42.   file. 
  43.  
  44.  
  45. o The Window Monitor can optionally be attached to the main window (left, 
  46.   right, top or bottom). Height/width and position of the Window Monitor are 
  47.   adjusted when the main window is moved or resized. 
  48.  
  49. More features... 
  50.  
  51. Note: This help screen is displayed only the first time you start MED (or in 
  52. case you remove med.cfg)... 
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ 3. The Authors Portrait ΓòÉΓòÉΓòÉ
  56.  
  57. This picture shows the author maintaining his beloved canadian "Rocky Mountain" 
  58. aluminum horse. 
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 4. Menu Commands ΓòÉΓòÉΓòÉ
  62.  
  63. Almost every edit function can be called via an menu entry. At the end of each 
  64. menu entry an optional keyboard shortcut is displayed. You may freely change 
  65. this shortcut using the edit shortcut dialog. 
  66.  
  67.  
  68. ΓòÉΓòÉΓòÉ 4.1. Menu - File ΓòÉΓòÉΓòÉ
  69.  
  70. The File menu provides standard file operations like New, Open, Save and so on. 
  71.  
  72. Furthermore a File History shows the names of the last recently opened files 
  73. for quick access. 
  74. See also notebook "Settings", page "Misc". 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 4.1.1. New ΓòÉΓòÉΓòÉ
  78.  
  79. New creates a new untitled buffer. 
  80.  
  81.  
  82. ΓòÉΓòÉΓòÉ 4.1.2. Open via fileselector... ΓòÉΓòÉΓòÉ
  83.  
  84. Open via fileselector brings up the Fileselector dialog which allows you to 
  85. select one or more files to be opened. If you select one file only, this file 
  86. will be loaded into the current active edit window. You can change this 
  87. behavior by disabling the option Open file in active edit window in the 
  88. notebook Settings, on page "Load". 
  89. The same is true if you select multiple files: the first will be loaded into 
  90. the current active edit window (unless you disable the option mentioned above), 
  91. the following will be loaded into automatically opened edit windows. 
  92.  
  93. Files may also be opened via Drag & Drop In case you drop multiple file icons 
  94. in an edit window, the first will be loaded into the current active edit window 
  95. (unless you disable the option mentioned above), the following will be loaded 
  96. into automatically opened edit windows. 
  97.  
  98. After a file has been loaded, several operations may automatically be called. 
  99. See notebook Settings, page "Load/Save". 
  100.  
  101. Note: 
  102. A Skeleton File is loaded automatically when a new textbuffer is created or an 
  103. empty file is opened. This is useful for setting up a standard header in a new 
  104. file. Skeleton files must be located in the MED configuration directory (this 
  105. is where med.cfg resides). 
  106.  
  107.  
  108. ΓòÉΓòÉΓòÉ 4.1.3. Pick filename from textbuffer ΓòÉΓòÉΓòÉ
  109.  
  110. Pick filename from textbuffer reads a filename at the current cursor position 
  111. and loads the file. If the filename contains a relative path (or no path), the 
  112. file is searched relative to the path of the text, from which the filename was 
  113. taken. 
  114.  
  115. This feature is very useful to quick access include files: place the cursor 
  116. anywhere to the include filename and then press [CTRL+KO] or doubleclick with 
  117. the left mousebutton while pressing [CTRL+ALT]. 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 4.1.4. Import... ΓòÉΓòÉΓòÉ
  121.  
  122. Import brings up the Fileselector dialog which allows you to select the file to 
  123. be inserted at the current cursor position. 
  124.  
  125. Note: Before calling the Import function, you must set the appropriate block 
  126. mode (line/column mode). A file can be imported as a line block or as a column 
  127. block. 
  128.  
  129.  
  130. ΓòÉΓòÉΓòÉ 4.1.5. Save ΓòÉΓòÉΓòÉ
  131.  
  132. The Save action saves the buffer displayed in the current edit window to disk. 
  133.  
  134. Before a file is saved, several operations may automatically be called See 
  135. notebook Settings, page "Load/Save". 
  136.  
  137.  
  138. ΓòÉΓòÉΓòÉ 4.1.6. Save as... ΓòÉΓòÉΓòÉ
  139.  
  140. The Save as... action brings up the Fileselector dialog which permits you to 
  141. change the path and file name of the current buffer. The buffer is saved to the 
  142. new path and file name when you select the OK push button. If the file already 
  143. exists on disk you are asked if it is OK to over-write the existing file. 
  144.  
  145. Before a file is saved, several operations may automatically be called See 
  146. notebook Settings, page "Load/Save". 
  147.  
  148.  
  149. ΓòÉΓòÉΓòÉ 4.1.7. Close ΓòÉΓòÉΓòÉ
  150.  
  151. Close deletes the current buffer attached to the currently active window.  If 
  152. the buffer has unsaved modifications you are presented a dialog box which 
  153. permits you to save the buffer before deleting, delete without saving or cancel 
  154. the delete buffer operation. 
  155.  
  156.  
  157. ΓòÉΓòÉΓòÉ 4.1.8. Save & Exit ΓòÉΓòÉΓòÉ
  158.  
  159. Save & Exit saves the buffer displayed in the current edit window to disk and 
  160. then exits the editor. A dialog box will be displayed if there are unsaved 
  161. buffers, giving you the option of saving them before exiting. 
  162.  
  163. Before a file is saved, several operations may automatically be called See 
  164. notebook Settings, page "Load/Save". 
  165.  
  166.  
  167. ΓòÉΓòÉΓòÉ 4.1.9. Exit ΓòÉΓòÉΓòÉ
  168.  
  169. Exit the editor, displaying a dialog box if there are unsaved buffers, giving 
  170. you the option of saving them before exiting. 
  171.  
  172.  
  173. ΓòÉΓòÉΓòÉ 4.2. Menu - Edit ΓòÉΓòÉΓòÉ
  174.  
  175. The Edit menu provides functions which do not rely on a selected block. 
  176.  
  177.  
  178. ΓòÉΓòÉΓòÉ 4.2.1. Undo ΓòÉΓòÉΓòÉ
  179.  
  180. Undo backs out the last editing command which changed the contents of the 
  181. current buffer's text.  If you accidently undo something which you wanted to 
  182. keep use the Redo command to reverse the effect of your undo action. 
  183.  
  184. Up to 400 edit commands will be saved in the Undo-List. You may change this 
  185. amount in the notebook Settings page Edit. 
  186.  
  187. Note: Switching to another edit window clears the Undo-List. 
  188.  
  189.  
  190. ΓòÉΓòÉΓòÉ 4.2.2. Redo ΓòÉΓòÉΓòÉ
  191.  
  192. Redo reverses the effect of undoing the last editing command which was undone. 
  193. Redo is available only after you have used Undo.  If you accidently redo 
  194. something which you wanted to keep undone use the Undo command to reverse the 
  195. effect of your redo action. 
  196.  
  197. Note: Once you redo what you have undone and then resume editing the undo/redo 
  198. information for what you have just redone will be discarded. 
  199.  
  200. Up to 400 edit commands will be saved in the Redo-List. You may change this 
  201. amount in the notebook Settings page Edit. 
  202.  
  203. Note: Switching to another edit window clears the Redo-List. 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 4.2.3. Cut to clipboard ΓòÉΓòÉΓòÉ
  207.  
  208. Cut to clipboard deletes the selected block from the current active edit window 
  209. and copies it to the system clipboard. The text cut to the clipboard can be 
  210. retrieved anywhere in a edit window by using the Paste clipboard function. 
  211.  
  212. Note: any previous text contents of the clipboard are overwritten. 
  213.  
  214.  
  215. ΓòÉΓòÉΓòÉ 4.2.4. Copy to clipboard ΓòÉΓòÉΓòÉ
  216.  
  217. Copy to clipboard copies the selected block to the system clipboard. The 
  218. selected block remains unchanged. The text copied to the clipboard can be 
  219. retrieved anywhere in a edit window by using the Paste clipboard function. 
  220.  
  221. Note: any previous text contents of the clipboard are overwritten. 
  222.  
  223.  
  224. ΓòÉΓòÉΓòÉ 4.2.5. Append to clipboard ΓòÉΓòÉΓòÉ
  225.  
  226. Append to clipboard copies the selected block to the system clipboard without 
  227. overwriting any previous text contents of the clipboard. The selected block 
  228. remains unchanged. The accumulated clipboard contents can be retrieved anywhere 
  229. in a edit window by using the Paste clipboard function. 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ 4.2.6. Paste clipboard (line mode) ΓòÉΓòÉΓòÉ
  233.  
  234. Paste clipboard (line mode) copies the data from the system clipboard to the 
  235. current active edit window as a line block. 
  236.  
  237.  
  238. ΓòÉΓòÉΓòÉ 4.2.7. Paste clipboard (column mode) ΓòÉΓòÉΓòÉ
  239.  
  240. Paste clipboard (column mode) copies the data from the system clipboard to the 
  241. current active edit window as a column block. 
  242.  
  243. The clipboard contents will be inserted at the current cursor position. Each 
  244. line of the clipboard will be integrated in the already existing lines of your 
  245. edit window. 
  246.  
  247.  
  248. ΓòÉΓòÉΓòÉ 4.2.8. Save cursor position ΓòÉΓòÉΓòÉ
  249.  
  250. initializes the "ping-pong" bookmark. Restore cursor position sets the cursor 
  251. to this bookmark. 
  252.  
  253. Example: Set the cursor to line 20 and call "Save cursor position". Then scroll 
  254. to line 100 and call "Restore cursor position". The cursor jumps to line 20. 
  255. Now call "Restore cursor position" again and the cursor jumps back to line 100. 
  256. The next call will jump to line 20 and so on.... 
  257.  
  258.  
  259. ΓòÉΓòÉΓòÉ 4.2.9. Restore cursor position ΓòÉΓòÉΓòÉ
  260.  
  261. sets the cursor to the "ping-pong" bookmark. Save cursor position initializes 
  262. the "ping-pong" bookmark. 
  263.  
  264. Example: Set the cursor to line 20 and call "Save cursor position". Then scroll 
  265. to line 100 and call "Restore cursor position". The cursor jumps to line 20. 
  266. Now call "Restore cursor position" again and the cursor jumps back to line 100. 
  267. The next call will jump to line 20 and so on.... 
  268.  
  269.  
  270. ΓòÉΓòÉΓòÉ 4.2.10. Submenu - Text ΓòÉΓòÉΓòÉ
  271.  
  272. The Text submenu contains functions that operate on all lines of a text. 
  273.  
  274.  
  275. ΓòÉΓòÉΓòÉ 4.2.10.1. Expand tabs ΓòÉΓòÉΓòÉ
  276.  
  277. Expand tabs transforms all tab characters (ASCII 9) to blanks. 
  278.  
  279. Note: this action can be called automatically when an existing file is opened. 
  280. See notebook Settings page Load/Save. 
  281.  
  282.  
  283. ΓòÉΓòÉΓòÉ 4.2.10.2. Generate tabs ΓòÉΓòÉΓòÉ
  284.  
  285. Generate tabs transforms blanks to tab characters (ASCII 9). 
  286.  
  287. Note: this action can be called automatically when an existing file is saved. 
  288. See notebook Settings page Load/Save. 
  289.  
  290.  
  291. ΓòÉΓòÉΓòÉ 4.2.10.3. Reformat... ΓòÉΓòÉΓòÉ
  292.  
  293. Reformat applies the word wrap procedure to all lines in the active textbuffer. 
  294. But first this dialog is displayed: 
  295.  
  296. You can enter a new wrap column and then press Ok to start the reformat 
  297. procedure. The wrap column may also be specified in the notebook Settings page 
  298. Edit/Word wrapping. 
  299.  
  300.  
  301. ΓòÉΓòÉΓòÉ 4.2.10.4. Sort... ΓòÉΓòÉΓòÉ
  302.  
  303. Sort brings up the Sort dialog which enables you to set various parms for 
  304. sorting lines. 
  305.  
  306.  
  307. ΓòÉΓòÉΓòÉ 4.2.10.5. Convert Default codepage to MS Windows codepage ΓòÉΓòÉΓòÉ
  308.  
  309. converts all characters in the active textbuffer from the OS/2 default codepage 
  310. (set in CONFIG.SYS) to the MS Windows compatible codepage 1004. 
  311.  
  312. Note: The codepage that is used to display/edit the text is not changed. You 
  313. can switch to the MS Windows display codepage in menu Window->Codepage. 
  314.  
  315.  
  316. ΓòÉΓòÉΓòÉ 4.2.10.6. Convert MS Windows codepage to Default codepage ΓòÉΓòÉΓòÉ
  317.  
  318. converts all characters in the active textbuffer from the MS Windows compatible 
  319. codepage 1004 to the OS/2 default codepage (set in CONFIG.SYS). 
  320.  
  321. Note: If a MS Windows text is edited, you can activate the MS Windows codepage 
  322. in menu Window->Codepage (in case the text is still used under Windows) or you 
  323. can use this function to convert the text to the OS/2 default codepage (in case 
  324. the text is used only under OS/2). 
  325.  
  326.  
  327. ΓòÉΓòÉΓòÉ 4.2.11. Submenu - Word ΓòÉΓòÉΓòÉ
  328.  
  329. The Word submenu contains functions that manipulate words : 
  330.  
  331. o Select 
  332. o Delete 
  333. o Truncate 
  334. o Upper case 
  335. o Lower case 
  336. o Capitalize 
  337.  
  338.  
  339. ΓòÉΓòÉΓòÉ 4.2.11.1. Select ΓòÉΓòÉΓòÉ
  340.  
  341. Select marks the word at the current cursor position as a block. 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ 4.2.11.2. Delete ΓòÉΓòÉΓòÉ
  345.  
  346. Delete the complete word at the current cursor position. 
  347.  
  348.  
  349. ΓòÉΓòÉΓòÉ 4.2.11.3. Delete to end of word ΓòÉΓòÉΓòÉ
  350.  
  351. Deletes all characters from the the current cursor position to the end of a 
  352. word. 
  353.  
  354.  
  355. ΓòÉΓòÉΓòÉ 4.2.11.4. Delete to start of word ΓòÉΓòÉΓòÉ
  356.  
  357. Deletes all characters from the the current cursor position to the start of a 
  358. word. 
  359.  
  360.  
  361. ΓòÉΓòÉΓòÉ 4.2.11.5. Upper case ΓòÉΓòÉΓòÉ
  362.  
  363. Upper case transforms the complete word at the current cursor position to upper 
  364. case. 
  365.  
  366.  
  367. ΓòÉΓòÉΓòÉ 4.2.11.6. Lower case ΓòÉΓòÉΓòÉ
  368.  
  369. Lower case transforms the complete word at the current cursor position to lower 
  370. case. 
  371.  
  372.  
  373. ΓòÉΓòÉΓòÉ 4.2.11.7. Capitalize ΓòÉΓòÉΓòÉ
  374.  
  375. Capitalize transforms the first character of the word at the current cursor 
  376. position to upper case. The remainder will be converted to lower case. 
  377.  
  378.  
  379. ΓòÉΓòÉΓòÉ 4.2.12. Submenu - Line ΓòÉΓòÉΓòÉ
  380.  
  381. The Line submenu contains functions that manipulate single lines : 
  382.  
  383. o Pick 
  384. o Paste 
  385. o Delete 
  386. o Paste deleted line 
  387. o Truncate 
  388. o Swap 
  389. o Center 
  390. o Indent 
  391. o Unindent 
  392.  
  393.  
  394. ΓòÉΓòÉΓòÉ 4.2.12.1. Pick line ΓòÉΓòÉΓòÉ
  395.  
  396. Pick line copies the current active line into a separate line buffer. This 
  397. buffer can be inserted using the Paste line function. 
  398.  
  399.  
  400. ΓòÉΓòÉΓòÉ 4.2.12.2. Paste line ΓòÉΓòÉΓòÉ
  401.  
  402. Paste line inserts the contents of the line buffer above the current active 
  403. line. A line can be copied to that line buffer using the Pick line function. 
  404.  
  405.  
  406. ΓòÉΓòÉΓòÉ 4.2.12.3. Swap lines ΓòÉΓòÉΓòÉ
  407.  
  408. Swap lines swaps the current and following line. 
  409.  
  410.  
  411. ΓòÉΓòÉΓòÉ 4.2.12.4. Delete line ΓòÉΓòÉΓòÉ
  412.  
  413. Delete line deletes the complete active line. 
  414.  
  415. The deleted line is stored in a separate line buffer. 
  416. Use Paste deleted line to insert the deleted line in any edit window. The line 
  417. will be inserted above the current active line. 
  418.  
  419.  
  420. ΓòÉΓòÉΓòÉ 4.2.12.5. Paste deleted line ΓòÉΓòÉΓòÉ
  421.  
  422. Paste deleted line inserts a deleted line above the current active line. 
  423.  
  424.  
  425. ΓòÉΓòÉΓòÉ 4.2.12.6. Truncate line ΓòÉΓòÉΓòÉ
  426.  
  427. Truncate line deletes the current active line to end of the line, starting at 
  428. the current cursor position. 
  429.  
  430.  
  431. ΓòÉΓòÉΓòÉ 4.2.12.7. Center line ΓòÉΓòÉΓòÉ
  432.  
  433. centers a line between the first column and the word wrap column. 
  434.  
  435.  
  436. ΓòÉΓòÉΓòÉ 4.2.12.8. Indent line ΓòÉΓòÉΓòÉ
  437.  
  438. Instead of tab positions, the word positions in the lines above the current 
  439. line are used to calculate the indenting positions, until the first visible 
  440. line of the window is reached. 
  441.  
  442. The line is indented at the current cursor position. 
  443.  
  444. Example: 
  445.  
  446. printf("hello\n");        // Hello
  447. for(;;)
  448.  printf("world!\n");// World
  449.            ^
  450.            |
  451.            Cursor position before Indent
  452.  
  453.  .
  454.  .
  455.  .
  456.  printf("world!\n");       // World
  457.                  ^
  458.                  |
  459.                  Cursor position after Indent
  460.  
  461.  See also Unindent and Unindent Block 
  462.  
  463.  
  464. ΓòÉΓòÉΓòÉ 4.2.12.9. Unident line ΓòÉΓòÉΓòÉ
  465.  
  466. Instead of tab positions, the word positions in the lines above the current 
  467. line are used to calculate the indenting positions, until the first visible 
  468. line of the window is reached. 
  469.  
  470. The line is unindented at the current cursor position. 
  471.  
  472. Example: 
  473.  
  474. printf("hello\n");        // Hello
  475. for(;;)
  476.  printf("world!\n");        // World
  477.                   ^
  478.                   |
  479.                   Cursor position before UnIndent
  480.  
  481.  .
  482.  .
  483.  .
  484.  printf("world!\n");       // World
  485.                  ^
  486.                  |
  487.                  Cursor position after UnIndent
  488.  See also Indent and Indent Block 
  489.  
  490.  
  491. ΓòÉΓòÉΓòÉ 4.2.13. Submenu - Draw ΓòÉΓòÉΓòÉ
  492.  
  493. The Draw submenu contains the graphic drawing functions. Marked rectangles 
  494. (column blocks) can be framed with the selected line style. 
  495.  
  496. There are 10 different line styles selectable: 
  497.  
  498.  ΓòöΓòÉΓòÉΓòÉΓòÉΓòªΓòÉΓòÉΓòÉΓòÉΓòù  ΓöîΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÉ  ΓòÆΓòÉΓòÉΓòÉΓòÉΓòñΓòÉΓòÉΓòÉΓòÉΓòò  ΓòôΓöÇΓöÇΓöÇΓöÇΓòÑΓöÇΓöÇΓöÇΓöÇΓòû
  499.  ΓòæTestΓòæTestΓòæ  ΓöéTestΓöéTestΓöé  ΓöéTestΓöéTestΓöé  ΓòæTestΓòæTestΓòæ
  500.  ΓòÜΓòÉΓòÉΓòÉΓòÉΓò⌐ΓòÉΓòÉΓòÉΓòÉΓò¥  ΓööΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÿ  ΓòÿΓòÉΓòÉΓòÉΓòÉΓòºΓòÉΓòÉΓòÉΓòÉΓò¢  ΓòÖΓöÇΓöÇΓöÇΓöÇΓò¿ΓöÇΓöÇΓöÇΓöÇΓò£
  501.  
  502.  ΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæ  ΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆ  ΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûô  ΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûê
  503.  ΓûæTestΓûæTestΓûæ  ΓûÆTestΓûÆTestΓûÆ  ΓûôTestΓûôTestΓûô  ΓûêTestΓûêTestΓûê
  504.  ΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæΓûæ  ΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆΓûÆ  ΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûôΓûô  ΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûê
  505.  
  506.  +----+----+  ***********
  507.  |Test|Test|  *Test*Test*
  508.  +----+----+  ***********
  509.  
  510.  
  511. ΓòÉΓòÉΓòÉ 4.3. Menu - Block ΓòÉΓòÉΓòÉ
  512.  
  513. TheBlock menu provides block/clipboard manipulation functions. 
  514.  
  515.  
  516. ΓòÉΓòÉΓòÉ 4.3.1. Mark start ΓòÉΓòÉΓòÉ
  517.  
  518. Mark start sets the start line/column of a block. 
  519.  
  520. Note: set the cursor to the first column to mark a line block. Otherwise you'll 
  521. get a column block. 
  522.  
  523. See How to select a block 
  524.  
  525.  
  526. ΓòÉΓòÉΓòÉ 4.3.2. Mark end ΓòÉΓòÉΓòÉ
  527.  
  528. Mark end sets the end end line/column of a block. 
  529.  
  530. See How to select a block 
  531.  
  532.  
  533. ΓòÉΓòÉΓòÉ 4.3.3. Unmark ΓòÉΓòÉΓòÉ
  534.  
  535. Unmark deselects a block. 
  536.  
  537.  
  538. ΓòÉΓòÉΓòÉ 4.3.4. Persistent selektion ΓòÉΓòÉΓòÉ
  539.  
  540. deselect this option if you want a block to be automatically unmarked when the 
  541. cursor is moved. 
  542.  
  543.  
  544. ΓòÉΓòÉΓòÉ 4.3.5. Line mode ΓòÉΓòÉΓòÉ
  545.  
  546. activates the line block mode. 
  547.  
  548. Note: The block mode is set automatically when when a block is marked with the 
  549. mouse. The mouse buttons can be configured on page "Mouse" in the notebook 
  550. "Settings". 
  551.  
  552. [SHIFT+arrow key] commands switch to line block mode, [SHIFT+ALT+arrow key] 
  553. commands switch to column block mode. 
  554.  
  555.  
  556. ΓòÉΓòÉΓòÉ 4.3.6. Column mode ΓòÉΓòÉΓòÉ
  557.  
  558. activates the column block mode. 
  559.  
  560. Note: The block mode is set automatically when when a block is marked with the 
  561. mouse. The mouse buttons can be configured on page "Mouse" in the notebook 
  562. "Settings". 
  563.  
  564. [SHIFT+arrowKey] commands switch to line block mode, [SHIFT+ALT+arrowKey] 
  565. commands switch to column block mode. 
  566.  
  567.  
  568. ΓòÉΓòÉΓòÉ 4.3.7. Copy ΓòÉΓòÉΓòÉ
  569.  
  570. Copy copies a block directly to a new location in any edit window. 
  571.  
  572. Note: the clipboard contents will not be changed! 
  573.  
  574.  
  575. ΓòÉΓòÉΓòÉ 4.3.8. Move ΓòÉΓòÉΓòÉ
  576.  
  577. Move moves a block directly to a new location in any edit window. 
  578.  
  579. Note: the clipboard contents will not be changed! 
  580.  
  581.  
  582. ΓòÉΓòÉΓòÉ 4.3.9. Delete ΓòÉΓòÉΓòÉ
  583.  
  584. Delete deletes a block from the current active buffer. 
  585.  
  586. Note: the clipboard contents will not be changed! 
  587.  
  588.  
  589. ΓòÉΓòÉΓòÉ 4.3.10. Shift left ΓòÉΓòÉΓòÉ
  590.  
  591. Shift left moves a block horizontal to the left. 
  592.  
  593. If you have selected a line block, only the part of the block located right to 
  594. the current cursor position will be moved. 
  595.  
  596. Note: A line block must contain only whole lines (block start column = block 
  597. end column = 1). 
  598.  
  599. If you have selected a column block, the complete block will be moved left. 
  600.  
  601. The shift distance can be configured in the notebook Settings page Edit. 
  602.  
  603. Note: the clipboard contents will not be changed! 
  604.  
  605.  
  606. ΓòÉΓòÉΓòÉ 4.3.11. Shift right ΓòÉΓòÉΓòÉ
  607.  
  608. Shift right moves a block horizontal to the right. 
  609.  
  610. If you have selected a line block, only the part of the block located right to 
  611. the current cursor position will be moved. 
  612.  
  613. Note: A line block must contain only whole lines (block start column = block 
  614. end column = 1). 
  615.  
  616. If you have selected a column block, the complete block will be moved to the 
  617. right. 
  618.  
  619. Note: the clipboard contents will not be changed! 
  620.  
  621.  
  622. ΓòÉΓòÉΓòÉ 4.3.12. Indent block ΓòÉΓòÉΓòÉ
  623.  
  624. Instead of tab positions, the word positions in the lines above the first block 
  625. line are used to calculate the indenting positions, until the first visible 
  626. line of the window is reached. 
  627.  
  628. The block is indented at the current cursor position. 
  629.  
  630. Example 1: 
  631.  
  632. Example 2: 
  633.  
  634. Note: A line block must contain only whole lines (block start column = block 
  635. end column = 1). 
  636.  
  637. See also Unindent Block and Unindent line 
  638.  
  639.  
  640. ΓòÉΓòÉΓòÉ 4.3.13. Unident block ΓòÉΓòÉΓòÉ
  641.  
  642. Instead of tab positions, the word positions in the lines above the first block 
  643. line are used to calculate the indenting positions, until the first visible 
  644. line of the window is reached. 
  645.  
  646. The block is unindented at the current cursor position. 
  647.  
  648. Example: 
  649.  
  650. Note: A line block must contain only whole lines (block start column = block 
  651. end column = 1). 
  652.  
  653. See also Indent Block and Indent line 
  654.  
  655.  
  656. ΓòÉΓòÉΓòÉ 4.3.14. Reformat... ΓòÉΓòÉΓòÉ
  657.  
  658. Reformat applies the word wrap procedure to the lines of a line block. But 
  659. first this dialogs is displayed: 
  660.  
  661. You can enter a new wrap column and then press Ok to start the word wrap 
  662. procedure. The wrap column may also be specified in the notebook Settings page 
  663. Edit/Word wrapping. 
  664.  
  665.  
  666. ΓòÉΓòÉΓòÉ 4.3.15. Save... ΓòÉΓòÉΓòÉ
  667.  
  668. Save writes the selected block to disk. 
  669.  
  670.  
  671. ΓòÉΓòÉΓòÉ 4.3.16. Fill block... ΓòÉΓòÉΓòÉ
  672.  
  673. fills a block with a requested character. If no character is entered, the block 
  674. is filled with spaces. 
  675.  
  676.  
  677. ΓòÉΓòÉΓòÉ 4.4. Menu - Search ΓòÉΓòÉΓòÉ
  678.  
  679. The Search menu contains the standard search/replace functions. Furthermore 
  680. some special functions are provided. 
  681.  
  682.  
  683. ΓòÉΓòÉΓòÉ 4.4.1. Find... ΓòÉΓòÉΓòÉ
  684.  
  685. Find brings up the Find dialog allowing you to specify the search parameters. 
  686.  
  687.  
  688. ΓòÉΓòÉΓòÉ 4.4.2. Find next ΓòÉΓòÉΓòÉ
  689.  
  690. Find next uses the last search pattern and direction to search for the next 
  691. match. 
  692.  
  693.  
  694. ΓòÉΓòÉΓòÉ 4.4.3. Replace... ΓòÉΓòÉΓòÉ
  695.  
  696. Replace brings up the Find & Replace dialog allowing you to specify the replace 
  697. parameters. 
  698.  
  699.  
  700. ΓòÉΓòÉΓòÉ 4.4.4. Goto line... ΓòÉΓòÉΓòÉ
  701.  
  702. Goto line brings up the Goto line dialog in which you can enter the absolute 
  703. line number you wish to jump to in the current buffer. 
  704.  
  705.  
  706. ΓòÉΓòÉΓòÉ 4.4.5. Find matching bracket ΓòÉΓòÉΓòÉ
  707.  
  708. Find matching bracket tries to find a corresponding bracket. To use this 
  709. function set the cursor to a valid open/close bracket. 
  710.  
  711. Note: you may freely edit/extend the list of brackets. See notebook Settings 
  712. page Brackets. 
  713.  
  714.  
  715. ΓòÉΓòÉΓòÉ 4.4.6. Help on keyword ΓòÉΓòÉΓòÉ
  716.  
  717. Help on keyword opens the appropriate third-party online-help for the word at 
  718. the current cursor position. 
  719.  
  720. See also Online-Help configuration 
  721.  
  722.  
  723. ΓòÉΓòÉΓòÉ 4.4.7. Section Browser ΓòÉΓòÉΓòÉ
  724.  
  725. brings up the Section Browser dialog. 
  726.  
  727.  
  728. ΓòÉΓòÉΓòÉ 4.4.8. Jump to Section ΓòÉΓòÉΓòÉ
  729.  
  730. starts hypertext-like section searching. Set the cursor to a sections reference 
  731. (for example a  call to a C-function) and then start "Find section" or press 
  732. [CNTRL+Return]. This will search the function declaration in the buffers first, 
  733. and then in the files of the working directory. A feature to define specific 
  734. directories to search will be implemented in the next version of MED (project 
  735. management). 
  736.  
  737.  
  738. ΓòÉΓòÉΓòÉ 4.4.9. Previous Section ΓòÉΓòÉΓòÉ
  739.  
  740. with the Section Display enabled, you can use this function to jump to the 
  741. previous section of a file (C-function, IPF paragraph etc.). 
  742.  
  743.  
  744. ΓòÉΓòÉΓòÉ 4.4.10. Next Section ΓòÉΓòÉΓòÉ
  745.  
  746. with the Section Display enabled, you can use this function to jump to the next 
  747. section of a file (C-function, IPF paragraph etc.). 
  748.  
  749.  
  750. ΓòÉΓòÉΓòÉ 4.4.11. Submenu - Bookmarks ΓòÉΓòÉΓòÉ
  751.  
  752. The Bookmarks submenu provides functions to set/manipulate bookmarks. 
  753.  
  754.  
  755. ΓòÉΓòÉΓòÉ 4.4.11.1. Set bookmark... ΓòÉΓòÉΓòÉ
  756.  
  757. Set bookmark brings up the Set bookmark dialog. 
  758.  
  759.  
  760. ΓòÉΓòÉΓòÉ 4.4.11.2. Jump to bookmark... ΓòÉΓòÉΓòÉ
  761.  
  762. Jump to bookmark brings up the Bookmark list dialog. 
  763.  
  764.  
  765. ΓòÉΓòÉΓòÉ 4.4.11.3. Next bookmark ΓòÉΓòÉΓòÉ
  766.  
  767. Next bookmark sets the cursor to the next bookmark. 
  768.  
  769.  
  770. ΓòÉΓòÉΓòÉ 4.4.11.4. Prev bookmark ΓòÉΓòÉΓòÉ
  771.  
  772. Prev bookmark sets the cursor to the previous bookmark. 
  773.  
  774.  
  775. ΓòÉΓòÉΓòÉ 4.5. Menu - Macro ΓòÉΓòÉΓòÉ
  776.  
  777. The Macro menu contains functions to manage macros. 
  778.  
  779.  
  780. ΓòÉΓòÉΓòÉ 4.5.1. Start/Stop macrorecorder ΓòÉΓòÉΓòÉ
  781.  
  782. Start/Stop macrorecorder initiates or stops the recording of a new macro. 
  783.  
  784. If you start recording, the Record macro dialog is displayed, in which you must 
  785. specify a key combination. This key combination is used to play back the macro 
  786. after you have stopped recording. 
  787.  
  788. Note: you may change the key combination later in the Macro Manager dialog. 
  789.  
  790. The number of macros/macro events is not restricted. 
  791.  
  792.  
  793. ΓòÉΓòÉΓòÉ 4.5.2. Load macros... ΓòÉΓòÉΓòÉ
  794.  
  795. Load macros brings up the fileselector dialog which allows you to load a new 
  796. macro file. All currently loaded macros will be overwritten. 
  797.  
  798. Note: macros may be loaded automatically at startup. 
  799.  
  800.  
  801. ΓòÉΓòÉΓòÉ 4.5.3. Add macros... ΓòÉΓòÉΓòÉ
  802.  
  803. Add macros brings up the fileselector dialog which allows you to load a new 
  804. macro file. All currently loaded macros will not be overwritten. 
  805.  
  806. Note: macros may be loaded automatically at startup. 
  807.  
  808.  
  809. ΓòÉΓòÉΓòÉ 4.5.4. Save macros... ΓòÉΓòÉΓòÉ
  810.  
  811. Save macros brings up the fileselector dialog which allows you to save all 
  812. currently existing macros to disk. 
  813.  
  814.  
  815. ΓòÉΓòÉΓòÉ 4.6. Menu - Window ΓòÉΓòÉΓòÉ
  816.  
  817. The Window menu contains the functions to switch/arrange the edit windows. 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ 4.6.1. Next window ΓòÉΓòÉΓòÉ
  821.  
  822. Makes next window the current (active) window.  This window is made the topmost 
  823. edit window. 
  824.  
  825.  
  826. ΓòÉΓòÉΓòÉ 4.6.2. Previous window ΓòÉΓòÉΓòÉ
  827.  
  828. Makes previous window the current (active) window.  This window is made the 
  829. topmost edit window. 
  830.  
  831.  
  832. ΓòÉΓòÉΓòÉ 4.6.3. Maximize ΓòÉΓòÉΓòÉ
  833.  
  834. Causes all edit windows to be sized to fill the main window without overlapping 
  835. each other. 
  836.  
  837.  
  838. ΓòÉΓòÉΓòÉ 4.6.4. Cascade ΓòÉΓòÉΓòÉ
  839.  
  840. Causes all edit windows to be sized and positioned from the upper left corner 
  841. of the main window towards the lower right corner of the main window 
  842. overlapping each other so that just the title bar of overlapped windows is 
  843. displayed. The current window becomes the topmost window. 
  844.  
  845.  
  846. ΓòÉΓòÉΓòÉ 4.6.5. Side by side ΓòÉΓòÉΓòÉ
  847.  
  848. Causes all edit windows to be sized and positioned side by side. 
  849.  
  850.  
  851. ΓòÉΓòÉΓòÉ 4.6.6. Tile ΓòÉΓòÉΓòÉ
  852.  
  853. Causes all edit windows to be sized and positioned one beneath the other. 
  854.  
  855.  
  856. ΓòÉΓòÉΓòÉ 4.6.7. Activate Default codepage ΓòÉΓòÉΓòÉ
  857.  
  858. The codepage that is used to display/edit the text is changed to the OS/2 
  859. default codepage (set in CONFIG.SYS). 
  860.  
  861.  
  862. ΓòÉΓòÉΓòÉ 4.6.8. Activate MS Windows compatible codepage ΓòÉΓòÉΓòÉ
  863.  
  864. The codepage that is used to display/edit text is changed to the MS Windows 
  865. compatible codepage 1004. 
  866.  
  867. Note: If a MS Windows text is edited, you can activate the MS Windows codepage 
  868. (in case the text is still used under Windows) or you can use the function 
  869. "Edit->Text->Convert codepage" to convert the text to the OS/2 default codepage 
  870. (in case the text is used only under OS/2). 
  871.  
  872.  
  873. ΓòÉΓòÉΓòÉ 4.7. Menu - Options ΓòÉΓòÉΓòÉ
  874.  
  875. The Options menu contains various configuration commands. 
  876.  
  877.  
  878. ΓòÉΓòÉΓòÉ 4.7.1. Insert mode ΓòÉΓòÉΓòÉ
  879.  
  880. Insert mode sets the writing mode explicitly to "insert". This is useful in 
  881. macros where you can't use the "toggle writing mode" command. 
  882.  
  883.  
  884. ΓòÉΓòÉΓòÉ 4.7.2. Overwrite mode ΓòÉΓòÉΓòÉ
  885.  
  886. Overwrite mode sets the writing mode explicitly to "overwrite". This is useful 
  887. in macros where you can't use the "toggle writing mode" command. 
  888.  
  889.  
  890. ΓòÉΓòÉΓòÉ 4.7.3. Auto word wrap mode ΓòÉΓòÉΓòÉ
  891.  
  892. use this option to switch the automatic word wrap mode on/off. 
  893.  
  894. With this option enabled, word wrapping is performed dynamically during typing 
  895. new text. 
  896. A text or a selected block may be reformatted on demand using the Reformat 
  897. function in the Edit or Block menu. 
  898.  
  899. Note: The wrap column can be specified in the notebook Settings page Edit/Word 
  900. wrapping. 
  901.  
  902.  
  903. ΓòÉΓòÉΓòÉ 4.7.4. Reload syntax configuartion ΓòÉΓòÉΓòÉ
  904.  
  905. Reloads the syntax configuration file med.syn on the fly. 
  906.  
  907.  
  908. ΓòÉΓòÉΓòÉ 5. Important topics ΓòÉΓòÉΓòÉ
  909.  
  910.  MED offers many features, so only the most outstanding ones can be mentioned 
  911. here: 
  912.  
  913. Search & Replace 
  914.  
  915. o Search & Replace in all textbuffers 
  916. o Multiple file/directory search generating a color coded result list 
  917. o Regular expression search 
  918. o brace matching (free defineable) 
  919.  
  920. Language specific features 
  921.  
  922. o configurable Syntax-Highlighting (video display and printer) 
  923. o configurable Section Browser 
  924. o configurable Section Display 
  925. o hypertext-like Section searching 
  926. o Skeleton files 
  927.  
  928. Tool Integration 
  929.  
  930. o configurable compiler support 
  931. o support of compiler error messages 
  932. o configurable support of third-party Online-Help and EPM NDX files 
  933. o IBM C Set++ and Visual Age integration via DDE 
  934.  
  935. Customizing features 
  936.  
  937. o configurable keyboard 
  938. o configurable toolbar 
  939. o configurable line numbering 
  940. o configurable context menu 
  941. o configurable Autosave 
  942. o configurable print function (formatted, raw ASCII) 
  943. o configuration via commandline 
  944.  
  945. Text buffers 
  946.  
  947. o unlimited number of edit windows 
  948. o unlimited number of views 
  949. o auto file reload at startup 
  950. o Loading/saving cursor position 
  951. o "Window Monitor" 
  952. o up to 99 backups per file 
  953.  
  954. Editing features 
  955.  
  956. o persistant column blocks 
  957. o easy to use macro recorder 
  958. o line sorting 
  959. o various word functions 
  960. o graphic drawing function 
  961. o word wrap function 
  962. o persistant bookmarks 
  963. o global visible anchors 
  964. o MS Windows codepage support 
  965.  
  966. Misc 
  967.  
  968. o enhanced Fileselector 
  969. o automatic recognition of unix-format files 
  970. o pipe-operator support 
  971. o Drag & Drop support 
  972.  
  973.  
  974. ΓòÉΓòÉΓòÉ 5.1. Commandline options and startup functions ΓòÉΓòÉΓòÉ
  975.  
  976. Startup functions 
  977.  
  978. Autoloading (med.lru) can be skipped by pressing [CNTRL] during startup. 
  979. If the screen resolution has changed, MED automatically restores default values 
  980. for size/position/font of the main window and the configurable dialogs. This 
  981. default values can be restored anytime by pressing [SHIFT+CTRL] during startup. 
  982.  
  983. Commandline options 
  984.  
  985. med [-r] [-l] [file1 [line [col]]] ... [fileN [line [col]]]  [-f fileList] [-m 
  986. macro1[;macro2;...]] [-i configFile] [-k kbdFile] [-t toolbarFile] 
  987.  
  988. [-r] 
  989.           This option sets MED to a global read-only mode. In this mode, all 
  990.           opened files are read-only. You can not switch to the edit mode 
  991.           during the editor session. 
  992.  
  993. [-l] 
  994.           MED supports the usage of the commandline pipe operator (|). With 
  995.           this operartor, the output of a program can be directly send to a 
  996.           second program, which reads the data as input. MED normally 
  997.           interprets the input stream as lines of text, and inserts the lines 
  998.           in a new created buffer. If the input stream is a list of file names, 
  999.           the -l option advises MED not to insert the file names in a text 
  1000.           buffer, but to automatically load the given files. 
  1001.  
  1002.           See also: Pipe operator support. 
  1003.  
  1004. File names 
  1005.           the number of file names you can pass is not limited. File names may 
  1006.           contain wildcards ("*", "?", "[]"). 
  1007.  
  1008.           Note: A Skeleton File is loaded automatically when an empty file is 
  1009.           opened. This is useful for setting up a standard header in a new 
  1010.           file. Skeleton files must be located in the MED configuration 
  1011.           directory (this is where med.cfg resides). 
  1012.  
  1013. Cursor line/col 
  1014.           following each file name you may optionally specify the line and 
  1015.           column, where the cursor will be placed after the file has been 
  1016.           loaded. If you leave out the column, the cursor will be placed to the 
  1017.           first column in the specified line. 
  1018.  
  1019. fileList 
  1020.           optionally you may pass -f followed by the name of a file containing 
  1021.           file names (with or without path) which will be automatically opened. 
  1022.  
  1023.           Example: 
  1024.  
  1025.           grep -l foo *.c >filelist 
  1026.           med -f filelist 
  1027.  
  1028. Macro name 
  1029.           optionally you may pass -m followed by the name(s) of macros 
  1030.           separated by a semikolon. This macros are launched after all files 
  1031.           have been loaded at program startup. 
  1032.  
  1033.           Note: 
  1034.           The name of a macro can be entered in the Macro Recorder or the 
  1035.           Makro-Manager (button Edit). 
  1036.  
  1037. Configuration file 
  1038.           optionally you may pass -i followed by the name of a MED 
  1039.           configuration file (default: "med.cfg"). 
  1040.  
  1041. Keyboard file 
  1042.           optionally you may pass -k followed by the name of a MED keyboard 
  1043.           configuration file (default: "med.kbd"). 
  1044.  
  1045. Toolbar file 
  1046.           optionally you may pass -t followed by the name of a MED toolbar 
  1047.           configuration file (default: "med.tlb"). 
  1048.  
  1049.  
  1050. ΓòÉΓòÉΓòÉ 5.2. Pipe operator support ΓòÉΓòÉΓòÉ
  1051.  
  1052. MED supports the usage of the commandline pipe operator (|). With this 
  1053. operartor, the output of a program can be directly send to a second program, 
  1054. which reads the data as input. MED normally interprets the input stream as 
  1055. lines of text, and inserts the lines in a new created buffer. If the input 
  1056. stream is a list of file names, the -l option advises MED not to insert the 
  1057. file names in a text buffer, but to automatically load the given files. 
  1058.  
  1059. Examples: 
  1060.  
  1061. grep -l foo *.c | med -l 
  1062.  
  1063. grep foo *.c | med 
  1064.  
  1065. See also Commandline parameter. 
  1066.  
  1067.  
  1068. ΓòÉΓòÉΓòÉ 5.3. Print (formatted) ΓòÉΓòÉΓòÉ
  1069.  
  1070. Margins "top/left/right/bottom" 
  1071.           this entry fields permit adjustment of page borders. Adjustments are 
  1072.           made in millimeter increments moving toward the center of the page. 
  1073.  
  1074.           Note: The minimal values are determined by your printer. 
  1075.  
  1076. Print header 
  1077.           if this option is enabled, a header line is printed on each page. 
  1078.  
  1079. Header "Left/Center/Right" 
  1080.           enter the format string which describes the output in the header 
  1081.           line.  The following special substitution sequences may be used: 
  1082.  
  1083.           %F substitutes the file name with path. 
  1084.  
  1085.           %f substitutes the file name without path. 
  1086.  
  1087.           %P substitutes the page number. 
  1088.  
  1089.           %D substitutes the date. 
  1090.  
  1091.           %T substitutes the time. 
  1092.  
  1093. Syntax Highlighting 
  1094.           if this option is enabled, a file is printed using either monochrome 
  1095.           or colored syntax highlighting. In monochrome mode, only font 
  1096.           attributes (bold, underline, italic, outline) are used. In color 
  1097.           mode, font attributes and colors are used. Font attributes and colors 
  1098.           can be configured in "med.syn" ( color directive). 
  1099.  
  1100. Line numbers 
  1101.           if this option is enabled, line numbers are printed at the start of 
  1102.           each line (useful when printing source code listings). 
  1103.  
  1104. Block 
  1105.           if this option is enabled, only the lines of a block selection will 
  1106.           be printed. 
  1107.  
  1108. Select font... 
  1109.           This button brings up the standard font selector dialog. 
  1110.  
  1111. Print 
  1112.           This button starts the printing process. During the file is sended to 
  1113.           the printer spooler, you may continue working in another edit window. 
  1114.  
  1115. Related topics: 
  1116. Printer setup 
  1117.  
  1118.  
  1119. ΓòÉΓòÉΓòÉ 5.4. Printing (raw ASCII) ΓòÉΓòÉΓòÉ
  1120.  
  1121.  
  1122. Port 
  1123.           select printer port. 
  1124.  
  1125. Line numbers 
  1126.           if this option is enabled, line numbers are printed at the start of 
  1127.           each line (useful when printing source code listings). 
  1128.  
  1129. Block 
  1130.           if this option is enabled, only the lines of a block selection will 
  1131.           be printed. 
  1132.  
  1133.  
  1134. ΓòÉΓòÉΓòÉ 5.5. Replacing strings ΓòÉΓòÉΓòÉ
  1135.  
  1136. In this dialog you can enter various params for relacing a string 
  1137.  
  1138. Entryfield "Target" 
  1139.           enter the string you want to replace 
  1140.  
  1141.           Note: The dropdown list stores the entered strings. This list will be 
  1142.           automatically saved so you can use it in your next editing session. 
  1143.  
  1144. Entryfield "Replacement" 
  1145.           enter the replacement string 
  1146.  
  1147.           Note: The dropdown list stores the entered strings. This list will be 
  1148.           automatically saved so you can use it in your next editing session. 
  1149.  
  1150. Regular expressions 
  1151.           Enable this option, if you want to use a regular expression in the 
  1152.           search/replace string. 
  1153.  
  1154. Ignore case 
  1155.           Select this option for non case sensitive searching 
  1156.  
  1157. Search words 
  1158.           If this option is selected, the target string will be treated as a 
  1159.           Word. No substrings will be found. 
  1160.  
  1161. Verify 
  1162.           select this option if you want to see the verify dialog Replace? 
  1163.           before a string is replaced. 
  1164.  
  1165. Replace from postion 
  1166.           If this option is selected, the next matching string will be replaced 
  1167.           from the current cursor position. 
  1168.  
  1169. Single buffer 
  1170.           Select this option to replace matching strings in the active text 
  1171.           buffer only. 
  1172.  
  1173. All buffers 
  1174.           Select this option to replace matching strings in all text buffers. 
  1175.  
  1176. Block 
  1177.           Select this option to replace matching strings in a selected block 
  1178.           only. 
  1179.  
  1180. Replace 
  1181.           Start replace action. 
  1182.  
  1183.  
  1184. ΓòÉΓòÉΓòÉ <hidden> Replace verify dialog ΓòÉΓòÉΓòÉ
  1185.  
  1186.  
  1187. ΓòÉΓòÉΓòÉ 5.6. Third-party online help configuration ΓòÉΓòÉΓòÉ
  1188.  
  1189. MED supports third-party online help (for example the online help of your C/C++ 
  1190. compiler, the OS/2 online help files and so on). Just place the cursor to the 
  1191. keyword you need help for and select "Help on keyword" in the menu "Search" (or 
  1192. doubleclick with the left mouse button on the keyword while pressing [ALT]). 
  1193. This will bring up the appropriate online-help. 
  1194.  
  1195. Of course, in order to use this feature, you first have to do some easy 
  1196. configuration. If you have installed the EPM index files (*.NDX), everything is 
  1197. already done. Otherwise, the configuration is done in the file "med.syn". This 
  1198. file also controls the syntax-highlighting. It is divided into sections, each 
  1199. holding the rules for one or more file types. 
  1200.  
  1201. The online-help is configured by entries with the following syntax: 
  1202.  
  1203.  inf: viewer  onlinehelp [filter] [filter] ... 
  1204.  
  1205. inf: 
  1206.           indicates that a online-help configuration statement follows. 
  1207.  
  1208. viewer 
  1209.           is the name of the application which will be used to view the 
  1210.           online-help file ("view.exe" in most cases). 
  1211.  
  1212. onlinehelp 
  1213.           is the name of the online-help file (for example "cmdref.inf") 
  1214.           You may connect online-help files with a '+' (for example 
  1215.           pmwin.inf+pmgpi.inf+pmmsg.inf ) 
  1216.  
  1217. filter 
  1218.           is optional and is used to describe the relation between keywords an 
  1219.           the online-help. A filter may contain the wildcard characters '*' and 
  1220.           '?'. Also the '[]' operator is supported. 
  1221.  
  1222. Note: Each section of "med.syn" may contain multiple online-help definitions. 
  1223.  
  1224. MED compares a keyword with all given filters. If none of the filters match, a 
  1225. popup menu is shown. This menu can be used to select the appropriate 
  1226. online-help manually. 
  1227.  
  1228. Examples: 
  1229.  
  1230. For config.sys 
  1231.           All keywords are covered by "cmdref.inf". We need only one line in 
  1232.           "med.syn" to configure the online-help: 
  1233.  
  1234.            inf: view.exe  cmdref.inf  * 
  1235.  
  1236. For C/C++ source files 
  1237.           This is not trivial, because a C/C++ source file usually contains 
  1238.           keywords of different APIs, which are covered by differnet 
  1239.           online-help files. Fortunately OS/2 API calls have a unique prefix. 
  1240.  
  1241.           The following example is based on the online-help delivered with 
  1242.           Watcom C/C++ 10.5. 
  1243.  
  1244.            inf: view.exe  pmwin.inf  Win* 
  1245.            inf: view.exe  pmgpi.inf  Gpi* 
  1246.            inf: view.exe  pmmsg.inf  WM_* 
  1247.            inf: view.exe  pmref.inf  [A-Z]* 
  1248.            inf: view.exe  progref20.inf  Dos* 
  1249.            inf: view.exe  clib.inf 
  1250.  
  1251.           Note that there are no filters specified in the last statement. If 
  1252.           none of the above filters apply, a popup menu shows up and presents 
  1253.           the names of all online-helps for selection. 
  1254.  
  1255.  
  1256. ΓòÉΓòÉΓòÉ 5.7. Context menu configuration ΓòÉΓòÉΓòÉ
  1257.  
  1258. Click with the right mouse button in an edit window or press [SHIFT+F10] to 
  1259. bring up the main context menu. This menu contains different entries depending 
  1260. on whether a block is marked or not marked. You can configure the context menu 
  1261. as follows: 
  1262.  
  1263. Adding a function: 
  1264.  
  1265. Press CNTRL and hold it down while you click on the menubar entry you want to 
  1266. add to the context menu. The dialog Shortcut/Menu entry configuration is 
  1267. opened. 
  1268.  
  1269. Removing a function: 
  1270.  
  1271. Press CNTRL and hold it down. Bring up the context menu, and click on the 
  1272. context menu entry you want to remove. The dialog Shortcut/Menu entry 
  1273. configuration is opened. 
  1274.  
  1275.  
  1276. ΓòÉΓòÉΓòÉ 5.8. Set bookmark ΓòÉΓòÉΓòÉ
  1277.  
  1278. Use this dialog to set a bookmark 
  1279.  
  1280. Entryfield "Short description" 
  1281.           enter a short description of the bookmark. 
  1282.  
  1283.           Note: If you leave this entryfield empty, MED automatically picks up 
  1284.           the first 40 characters of the current line. 
  1285.  
  1286.           This description is used in the dialog Bookmark list for easier 
  1287.           identification. 
  1288.  
  1289. Global visible 
  1290.           select this option if you want the bookmark to be accessible from 
  1291.           every textbuffer (otherwise it will be private bookmark). 
  1292.  
  1293. Save x in EAs 
  1294.           select this option if you want the bookmark to be saved in the 
  1295.           extended file attributes, so you can use it in future editing 
  1296.           sessions. The status of this option is part the MED configuration. 
  1297.           With this option activated the bookmark list would grow permanently. 
  1298.           To prevent this, the maximum count of bookmarks to be saved can be 
  1299.           defined. 
  1300.  
  1301.  
  1302. ΓòÉΓòÉΓòÉ 5.9. Bookmark list ΓòÉΓòÉΓòÉ
  1303.  
  1304. Use this dialog to position the cursor to a bookmark 
  1305.  
  1306. The dialog displays the short descriptions of the accessible bookmarks. Each 
  1307. file may have private and public bookmarks (see Set bookmark). Public bookmarks 
  1308. are displayed with the filename following the short description. 
  1309.  
  1310. Doubleclick a list entry to position the cursor to the selected bookmark. 
  1311.  
  1312. Jump 
  1313.           Select a list entry and click on this button to position the cursor 
  1314.           to the selected bookmark. 
  1315.  
  1316. Remove... 
  1317.           Deletes a selected bookmark. 
  1318.  
  1319.  
  1320. ΓòÉΓòÉΓòÉ 5.10. Macro Manager ΓòÉΓòÉΓòÉ
  1321.  
  1322. In this dialog you can do several managing jobs on macros 
  1323.  
  1324. Run 
  1325.           starts playback of the selected macro (a doubleclick will also do 
  1326.           that job). Of course, in most cases you will start a macro by its 
  1327.           keyboard shortcut. 
  1328.  
  1329. Edit... 
  1330.           brings up the Edit macro parameter dialog. 
  1331.  
  1332. Delete... 
  1333.           deletes the selected macro. 
  1334.  
  1335.  
  1336. ΓòÉΓòÉΓòÉ 5.11. Enter/Edit Macro Shortcut ΓòÉΓòÉΓòÉ
  1337.  
  1338. In this dialog you can enter/edit a macro shortcut and macro description 
  1339.  
  1340. Entryfield "Shortcut" 
  1341.           enter the key which must be pressed with a modifier key (SHIFT, CTRL, 
  1342.           ALT) to call the macro. The dropdown list contains predefined names 
  1343.           of special keys (for example Backspace). 
  1344.           MED supports multi level keyboard shortcuts a la WORDSTAR (for 
  1345.           example "Ctrl + KB" ). 
  1346.  
  1347.           Note: This field will be initialized by default with Esc in case you 
  1348.           prepare to record a new macro. This is very useful when recording a 
  1349.           macro "on the fly", which will be used only in the current editing 
  1350.           session. 
  1351.  
  1352. Ctrl 
  1353.           select this button to use Ctrl as modifier. 
  1354.  
  1355. Shift 
  1356.           select this button to use Shift as modifier. 
  1357.  
  1358. Alt 
  1359.           select this button to use Alt as modifier. 
  1360.  
  1361. Protect shortcut 
  1362.           select this option to protect the shortcut from accidental 
  1363.           overwriting. 
  1364.  
  1365. Entryfield "Macro name" 
  1366.           enter a optional short description. This will help you to identify 
  1367.           the macro in the Macro Manager dialog. 
  1368.  
  1369.  
  1370. ΓòÉΓòÉΓòÉ 5.12. Mouse support ΓòÉΓòÉΓòÉ
  1371.  
  1372. Mouse actions inside an edit window: 
  1373.  
  1374. o Doubleclick with the left mouse button to select a word. 
  1375.  
  1376. o set the mouse pointer to a number, press [CTRL] and doubleclick with the left 
  1377.   mouse button. This will switch to the previous text buffer and put the cursor 
  1378.   to the line represented by that number. 
  1379.  
  1380.   This is useful if you are still using the commandline and good old "make" to 
  1381.   develop your applications (I don't like IDEs): load the buggy source file and 
  1382.   the errors file created by your compiler (which contains line numbers)... 
  1383.  
  1384. o Doubleclick with the left mouse button on a keyword while pressing [ALT]. 
  1385.   This brings up the third-party online-help. 
  1386.  
  1387. o A single click with the right mouse button activates a context menu. 
  1388.  
  1389. Note: The mouse block selection functions can be configured in the notebook 
  1390. "Settings" on page "Mouse". 
  1391.  
  1392.  
  1393. ΓòÉΓòÉΓòÉ 5.13. How to select a block ΓòÉΓòÉΓòÉ
  1394.  
  1395. There are several methods you can use to select a block: 
  1396.  
  1397. Selecting a block with the keyboard 
  1398.  
  1399. Method 1: Set the cursor to the position where you want the block to begin. 
  1400. Press [SHIFT] and use the arrow keys to extend the line block. 
  1401.  
  1402. Note: Use [SHIFT+ALT+Arrow key] or [SHIFT+ALT+PgUp|PgDown] to select a column 
  1403. block. The block mode (line/column mode) is adjusted automatically. 
  1404.  
  1405. Method 2: Set the cursor to the position where you want the block to begin and 
  1406. select Mark start from the menu Block. Now set the cursor to the desired block 
  1407. end position and select Mark end. 
  1408.  
  1409. Note: This method requires that you adjust the block mode (line/column mode). 
  1410. The mode can be changed even after the block end has been set. 
  1411.  
  1412. Selecting a block with the mouse 
  1413.  
  1414. Use the left mouse button (default) to select a line block. 
  1415.  
  1416. Use the right mouse button (default) to select a column block. Move the mouse 
  1417. pointer to the desired position, then press the right mouse button (and keep it 
  1418. pressed). Now move the mouse pointer up/down/left/right until the desired end 
  1419. position is selected. 
  1420.  
  1421. Note: The actions of left/right mouse button can be configured in the 
  1422. "Settings" notebook on page "Mouse". 
  1423.  
  1424.  
  1425. ΓòÉΓòÉΓòÉ 5.14. Regular Expressions ΓòÉΓòÉΓòÉ
  1426.  
  1427. Regular Expressions are used in the Find/Replace dialogs, the Section Browser 
  1428. and the Section Display. 
  1429.  
  1430. Search Operators 
  1431.  
  1432.         Escape symbol. The following character will lose it's special meaning. 
  1433. \n 
  1434.         Matches a 0x0A (Line Feed) character. 
  1435. \r 
  1436.         Matches a 0x0D (Carriage Return) character. 
  1437. \t 
  1438.         Matches a 0x09 (Tabulator) character. 
  1439. \f 
  1440.         Matchess a 0xC (Form Feed) character. 
  1441.         Match a beginning of line. 
  1442.         Match an end of line. 
  1443.         Match any character. 
  1444. [ ] 
  1445.         Specifies a class of characters. 
  1446. [ - ] 
  1447.         Specifies a range of characters. 
  1448. [^ ] 
  1449.         Specifies complement class. 
  1450.         Match zero or more occurances of preceeding pattern. 
  1451.         Match one or more occurances of preceeding pattern. 
  1452.         Matches preceeding or next pattern. 
  1453. ( ) 
  1454.         Group patterns together to form complex pattern. Also used to remember 
  1455.         the matched substring which can be used for substitution operation. Up 
  1456.         to 9 can be used. 
  1457.  
  1458. Replace Operators: 
  1459.  
  1460.         Escape symbol. The following character will lose it's special meaning. 
  1461. \n 
  1462.         Inserts a 0x0A (Linefeed) character. 
  1463. \r 
  1464.         Inserts a 0x0D (Carriage Return) character. 
  1465. \t 
  1466.         Inserts a 0x09 (Tabulator) character. 
  1467. \f 
  1468.         Inserts a 0xC (Form Feed) character. 
  1469. \1 - \9 
  1470.         Recalls stored substring from matched pattern ()'s. 
  1471. \@ 
  1472.         Recalls entire matched pattern. 
  1473. \u 
  1474.         Convert next character to uppercase. 
  1475. \l 
  1476.         Convert next character to lowercase. 
  1477. \U 
  1478.         Convert substring to uppercase. 
  1479. \L 
  1480.         Convert substring to lowercase. 
  1481.  
  1482.  
  1483. ΓòÉΓòÉΓòÉ 5.15. Section Browser ΓòÉΓòÉΓòÉ
  1484.  
  1485.  The Section Browser is a dialog, which displays all sections of a file. A 
  1486. section may be a subroutine of a programming language, a paragraph of a TeX 
  1487. document, entries of config.sys etc.. 
  1488.  
  1489. Inkremental Search Pattern 
  1490.           The search pattern is case insensitive and may contain the wildcards 
  1491.           "*" and "?". 
  1492.  
  1493. Section list 
  1494.           The section list displays the names of all sections of a specified 
  1495.           text buffer. Doubleclick on an list entry to jump to a section. 
  1496.  
  1497. Source list 
  1498.           The source list displays the names of opened files. Select the 
  1499.           desired source file. 
  1500.  
  1501. Sort 
  1502.           if this option is activated, the sections are sorted by their names. 
  1503.  
  1504. Show line numbers/Tag type 
  1505.           This options configure the color coded output of the section list. 
  1506.  
  1507. Configuartion 
  1508.  
  1509. Sections are located using a regular expression regular expression, which can 
  1510. be adapted for any type of file. MED provides an internal parser for C/C++ 
  1511. files, so the regular expression is not necessary for this type of file. If the 
  1512. regular expression is defined for C/C++, the internal parser is disabled.  The 
  1513. section browser is configured by the following directives in "med.syn": 
  1514.  
  1515. o sectionRegexp 
  1516. o sectionBrowserMainKey 
  1517. o sectionBrowserOrder 
  1518.  
  1519.  
  1520. ΓòÉΓòÉΓòÉ 5.16. Section Display ΓòÉΓòÉΓòÉ
  1521.  
  1522. The name of the current section can be displayed as simple text in the 
  1523. statusbar 
  1524.  
  1525. or in a combobox in the toolbar 
  1526.  
  1527. A section is a subroutine of a programming language, a paragraph of a TeX 
  1528. document, entries of config.sys etc.. 
  1529.  
  1530. The toolbar's combobox dropdown list contains the section names of the active 
  1531. textbuffer and can be used instead of the Section Browser in many cases. The 
  1532. combobox entryfield can be used for incremental search. 
  1533.  
  1534. The dropdown list can be activated with the default key [F12]. You can change 
  1535. this key in med.kbd for the function name "sectionCombo". The dropdown list can 
  1536. be closed without a selection by pressing [ESC] or [F12]. 
  1537.  
  1538. The position and size of the combobox is calculated automatically when the 
  1539. application main window is resized. Some toolbar icons may be hidden to provide 
  1540. enough space for the combobox. If you are using a toolbar with many icons, you 
  1541. should increase the toolbar's height in the "Settings" notebook, page 
  1542. "Toolbar/Size". If you don't like the combobox, you can switch it off in the 
  1543. toolbar's context menu (activated by a click with the right mouse button on a 
  1544. free spot in the toolbar).  The combobox font can be changed via Drag&Drop: the 
  1545. font must be dropped on a free spot in the toolbar, not on the combobox itself! 
  1546.  
  1547. Note: The Section Display combobox is not available in vertical toolbars. 
  1548.  
  1549. Configuration 
  1550.  
  1551. The Section Display is configured by the following directives in "med.syn": 
  1552.  
  1553. o sectionRegexp 
  1554. o sectionDisplayRegexp 
  1555. o sectionDisplay 
  1556. o sectionDisplayOrder 
  1557.  
  1558.  
  1559. ΓòÉΓòÉΓòÉ 5.17. Syntax-Highlighting ΓòÉΓòÉΓòÉ
  1560.  
  1561. The configuration of the syntax-highlighting and the third-party online help is 
  1562. done in the file "med.syn". This file is divided into sections, each holding 
  1563. the rules for one or more file types. 
  1564.  
  1565. Configuartion keywords: 
  1566.  
  1567. o files 
  1568. o eaFileType 
  1569. o include 
  1570. o sectionRegexp 
  1571. o sectionDisplayRegexp 
  1572. o sectionBrowserMainKey 
  1573. o sectionDisplay 
  1574. o sectionBrowserOrder 
  1575. o sectionDisplayOrder 
  1576. o inf 
  1577. o defineColor 
  1578. o foregroundColor 
  1579. o backroundColor 
  1580. o blockColor 
  1581. o caseSensitive 
  1582. o checkCommentInString 
  1583. o color 
  1584. o token 
  1585. o string 
  1586. o char 
  1587. o symbol 
  1588. o literal 
  1589. o funcParml 
  1590. o eolCom 
  1591. o openCom 
  1592. o closeCom 
  1593. o comCol 
  1594. o tabWidth 
  1595.  
  1596. See also Environment variable MISTER_ED_PATH 
  1597.  
  1598.  
  1599. ΓòÉΓòÉΓòÉ <hidden> files ΓòÉΓòÉΓòÉ
  1600.  
  1601. Each section begins with the keyword 
  1602.  
  1603.   files: 
  1604.  
  1605. This keyword must be followed by one or more filters to specify the file types. 
  1606. A filter may contain the wildcards '*' and '?'. The '[]' operator is also 
  1607. supported. Filters without any wildcards are allowed (for example: config.sys). 
  1608. If more than one filter is given, the filters must be separated by blanks. 
  1609.  
  1610. Note: you can use this keyword only once per section. 
  1611.  
  1612. Examples: 
  1613.  
  1614.   files: config.sys 
  1615.  
  1616.   files: *.c *.cpp *.h 
  1617.  
  1618.  
  1619. ΓòÉΓòÉΓòÉ <hidden> eaFileType ΓòÉΓòÉΓòÉ
  1620.  
  1621. OS/2 stores an optional file type description in the extended attribute ".TYPE" 
  1622. ("C Code", "Plain Text" etc.). If you want MED to set the file type when a file 
  1623. is saved, then you must define the type string after the keyword 
  1624.  
  1625.   eaFileType: 
  1626.  
  1627. Examples: 
  1628.  
  1629.   eaFileType: "C Code" 
  1630.  
  1631.   eaFileType: "OS/2 Command File" 
  1632.  
  1633. Note: you can use this keyword only once per section. 
  1634.  
  1635.  
  1636. ΓòÉΓòÉΓòÉ <hidden> sectionRegexp ΓòÉΓòÉΓòÉ
  1637.  
  1638. The Section Browser and the Section Display can be adapted to any type of file. 
  1639.  
  1640. Sections are located using a regular expression . (MED provides an internal 
  1641. parser for C/C++ files, so the regular expression is not necessary for this 
  1642. type of file. However, if a regular expression is defined for C/C++, the 
  1643. internal parser is disabled.) 
  1644.  
  1645. Example: 
  1646.  
  1647.   sectionRegexp: :[Hh][0-9] 
  1648.  
  1649. This defines the regular expression to locate paragraphs of IPF/IPP documents. 
  1650.  
  1651.  
  1652. ΓòÉΓòÉΓòÉ <hidden> sectionDisplayRegexp ΓòÉΓòÉΓòÉ
  1653.  
  1654. A regular expression is used to subdivide a section head into several data 
  1655. fields, which can be displayed in any order in the Section Browser and the 
  1656. Section Display. 
  1657.  
  1658. Example: 
  1659.  
  1660.   sectionDisplayRegexp: (:[Hh][0-9][ ]*)(res=&)([a-zA-Z0-9_]*\.)[ 
  1661. ]*([a-zA-Z0-9_]*\.)(.*) 
  1662.  
  1663. This expression subdivides the head of an IPF/IPP paragraph into 5 data fields. 
  1664.  
  1665.  
  1666. ΓòÉΓòÉΓòÉ <hidden> sectionBrowserMainKey ΓòÉΓòÉΓòÉ
  1667.  
  1668. This entry defines the data field by which the section headers are sorted in 
  1669. the Section Browser. 
  1670.  
  1671. Example: 
  1672.  
  1673.   sectionBrowserMainKey: 2 
  1674.  
  1675.  
  1676. ΓòÉΓòÉΓòÉ <hidden> sectionBrowserOrder ΓòÉΓòÉΓòÉ
  1677.  
  1678. This entry is used to define the order, in which the data fields are displayed 
  1679. in the Section Browser. 
  1680.  
  1681. Example: 
  1682.  
  1683.   sectionBrowserOrder: 2, 1, 5 
  1684.  
  1685.  
  1686. ΓòÉΓòÉΓòÉ <hidden> sectionDisplayOrder ΓòÉΓòÉΓòÉ
  1687.  
  1688. This entry defines the order, in which the data fields are displayed in the 
  1689. Section Display. 
  1690.  
  1691. Example: 
  1692.  
  1693.   sectionDisplayOrder: 2, 1, 5 
  1694.  
  1695.  
  1696. ΓòÉΓòÉΓòÉ <hidden> sectionDisplay ΓòÉΓòÉΓòÉ
  1697.  
  1698. This entry defines two basic paramteres of the Section Display. The first 
  1699. parameter defines how many lines a file may contain before the Section Display 
  1700. is disabled in order to avoid a loss of editing performance. A value of 0 
  1701. disables the Section Display. 
  1702.  
  1703. The second parameter defines how many lines may be searched for a section 
  1704. header starting at the current cursor position. 
  1705.  
  1706. Example: 
  1707.  
  1708.   sectionDisplay: 5000, 1000 
  1709.  
  1710.  
  1711. ΓòÉΓòÉΓòÉ <hidden> tabWidth ΓòÉΓòÉΓòÉ
  1712.  
  1713. defines the tab width. This value overrides the default tab width that can be 
  1714. set in the notebook "Settings" on page "Edit". 
  1715.  
  1716. Example: 
  1717.  
  1718.   tabWidth:  4 
  1719.  
  1720.  
  1721. ΓòÉΓòÉΓòÉ <hidden> include ΓòÉΓòÉΓòÉ
  1722.  
  1723. use this keyword to make the syntax configuration more readable. 
  1724.  
  1725. Syntax: 
  1726.  
  1727.   include:  file 
  1728.  
  1729. Examples: 
  1730.  
  1731.   files: *.c *.cpp *.h 
  1732.   include:  med_c.syn 
  1733.  
  1734.   files: *pas 
  1735.   include:  med_pas.syn 
  1736.  
  1737.  
  1738. ΓòÉΓòÉΓòÉ <hidden> caseSensitive ΓòÉΓòÉΓòÉ
  1739.  
  1740. this keyword controls whether the list of reserved words is case sensitive or 
  1741. not. 
  1742.  
  1743. Syntax: 
  1744.  
  1745.   caseSensitive:  flag 
  1746.  
  1747. Examples: 
  1748.  
  1749.   caseSensitive:  yes 
  1750.  
  1751.   caseSensitive:  no 
  1752.  
  1753. Note: you can use this keyword only once per section. It must appear before the 
  1754. reserved words are defined. 
  1755.  
  1756.  
  1757. ΓòÉΓòÉΓòÉ <hidden> checkCommentInString ΓòÉΓòÉΓòÉ
  1758.  
  1759. this keyword controls wether comments are searched within string constants (for 
  1760. example printf("/*")). With this option enabled, syntax highlighting is more 
  1761. reliable, but a little slower. 
  1762.  
  1763. Syntax: 
  1764.  
  1765.   checkCommentInString:  flag 
  1766.  
  1767. Examples: 
  1768.  
  1769.   checkCommentInString:  yes 
  1770.  
  1771.   checkCommentInString:  no 
  1772.  
  1773. Note: you can use this keyword only once per section. 
  1774.  
  1775.  
  1776. ΓòÉΓòÉΓòÉ <hidden> color ΓòÉΓòÉΓòÉ
  1777.  
  1778. this keyword sets the current color and font attributes to be used for reserved 
  1779. words or symbols. 
  1780.  
  1781. Syntax: 
  1782.  
  1783.   color:  dispColor, dispFontAttr, printColor, printFontAttr 
  1784.  
  1785. You can use the predefined standard colornames or user defined colornames. 
  1786.  
  1787. For video display output, any (defined) color can be used in combination with 
  1788. the font attributes bold, underline and boldUnderline.  For printer output, any 
  1789. (defined) color can be used in combination with the font attributes bold, 
  1790. underline, italic, outline The font attributes can be added by concatenating 
  1791. the identifiers (case is ignored). 
  1792.  
  1793. Example: 
  1794.  
  1795.   color:  blue, boldUnderline, darkblue, bold 
  1796.  
  1797. Note: you may use this keyword as often as you like per section. 
  1798.  
  1799.  
  1800. ΓòÉΓòÉΓòÉ <hidden> token ΓòÉΓòÉΓòÉ
  1801.  
  1802. this keyword is used to detail the reserved words which are to be highlighted. 
  1803. Reserved words can appear on as many lines as are required, each beginning with 
  1804. the token: directive. The order is not important. The number of reserved words 
  1805. is unlimited, but the list should not be made any larger than necessary to 
  1806. avoid impacting screen update speed. 
  1807.  
  1808. Syntax: 
  1809.  
  1810.   token:  word1 [word2] [word3] ... 
  1811.  
  1812. Example: 
  1813.  
  1814.   token:  int long char 
  1815.  
  1816. Note: you may use this keyword as often as required. You can specify a 
  1817. different color for each reserved word (or group of reserved words). 
  1818.  
  1819. Example: 
  1820.  
  1821.   color:  red 
  1822.   token:  char 
  1823.   color:  green 
  1824.   token:  int 
  1825.   color:  blue 
  1826.   token:  long 
  1827.  
  1828.  
  1829. ΓòÉΓòÉΓòÉ <hidden> string ΓòÉΓòÉΓòÉ
  1830.  
  1831. this keyword designates the character which is used to open and close string 
  1832. constants. 
  1833.  
  1834. Syntax: 
  1835.  
  1836.   string:  char 
  1837.  
  1838. Example: 
  1839.  
  1840.   string:  " 
  1841.  
  1842.  
  1843. ΓòÉΓòÉΓòÉ <hidden> char ΓòÉΓòÉΓòÉ
  1844.  
  1845. this keyword designates the character which is used to open and close character 
  1846. constants. 
  1847.  
  1848. Syntax: 
  1849.  
  1850.   char:  char 
  1851.  
  1852. Example: 
  1853.  
  1854.   char:  ' 
  1855.  
  1856.  
  1857. ΓòÉΓòÉΓòÉ <hidden> symbol ΓòÉΓòÉΓòÉ
  1858.  
  1859. this keyword is used to designate the characters which are considered to be 
  1860. symbols. Symbols can not appear as a part of a reserved word. The characters 
  1861. are simply listed in one long string. The order is not important. 
  1862.  
  1863. Syntax: 
  1864.  
  1865.   symbol:  char[char][char]... 
  1866.  
  1867. Example: 
  1868.  
  1869.   symbol:  !></,.;-+* 
  1870.  
  1871. Note: you may use this keyword as often as required. You can specify a 
  1872. different color for each symbol (or group of symbols). 
  1873.  
  1874.  
  1875. ΓòÉΓòÉΓòÉ <hidden> literal ΓòÉΓòÉΓòÉ
  1876.  
  1877. this keyword designates the character which is used to remove significance from 
  1878. an open/close string character while within a string. 
  1879.  
  1880. Syntax: 
  1881.  
  1882.   literal:  char 
  1883.  
  1884. Example: 
  1885.  
  1886.   literal:  \ 
  1887.  
  1888.  
  1889. ΓòÉΓòÉΓòÉ <hidden> funcParml ΓòÉΓòÉΓòÉ
  1890.  
  1891. this keyword designates the character which is used to open the parameter list 
  1892. of a procedure or function. 
  1893.  
  1894. Syntax: 
  1895.  
  1896.   funcParml:  char 
  1897.  
  1898. Example: 
  1899.  
  1900.   funcParml:  ( 
  1901.  
  1902.  
  1903. ΓòÉΓòÉΓòÉ <hidden> eolCom ΓòÉΓòÉΓòÉ
  1904.  
  1905. this keyword is used to designate the sequence used to initiate an end-of-line 
  1906. comment. 
  1907.  
  1908. Syntax: 
  1909.  
  1910.   eolCom:  char-sequence 
  1911.  
  1912. Example: 
  1913.  
  1914.   eolCom:  // 
  1915.  
  1916.  
  1917. ΓòÉΓòÉΓòÉ <hidden> openCom ΓòÉΓòÉΓòÉ
  1918.  
  1919. this keyword is used to designate the sequence used to open a comment block. 
  1920.  
  1921. Syntax: 
  1922.  
  1923.   openCom:  char-sequence 
  1924.  
  1925. Example: 
  1926.  
  1927.   openCom:  /* 
  1928.  
  1929.  
  1930. ΓòÉΓòÉΓòÉ <hidden> closeCom ΓòÉΓòÉΓòÉ
  1931.  
  1932. this keyword is used to designate the sequence used to close a comment block. 
  1933.  
  1934. Syntax: 
  1935.  
  1936.   closeCom:  char-sequence 
  1937.  
  1938. Example: 
  1939.  
  1940.   closeCom:  */ 
  1941.  
  1942.  
  1943. ΓòÉΓòÉΓòÉ <hidden> comCol ΓòÉΓòÉΓòÉ
  1944.  
  1945. this keyword can be used to designate the column in which the end-of-line 
  1946. comment sequence must appear in order to be recognized as a comment. 
  1947.  
  1948. Syntax: 
  1949.  
  1950.   comCol:  column 
  1951.  
  1952. Example: 
  1953.  
  1954.   comCol:  1 
  1955.  
  1956. Note: Use a zero value to indicate that the comment sequence should be 
  1957. recognized in all columns. 
  1958.  
  1959.  
  1960. ΓòÉΓòÉΓòÉ <hidden> inf ΓòÉΓòÉΓòÉ
  1961.  
  1962. this keyword is used to define an external third-party online-help. 
  1963.  
  1964.  
  1965. ΓòÉΓòÉΓòÉ <hidden> defineColor ΓòÉΓòÉΓòÉ
  1966.  
  1967. by default there are sixteen predefined standard colornames. You may define 
  1968. your own colornames via decimal RGB-values. You can use your own colornames in 
  1969. conjunction with other keywords in "med.syn". 
  1970.  
  1971. Syntax: 
  1972.  
  1973.   defineColor:  colorname   red green blue 
  1974.  
  1975. Examples: 
  1976.  
  1977.   defineColor:  myRed    210  0   0 
  1978.  
  1979.   defineColor:  myGray   224 224  224 
  1980.  
  1981. Note: you may use this keyword as often as required. For good results, your 
  1982. video adapter should support 64k colors or more. 256 colors are also worth a 
  1983. try. 
  1984.  
  1985.  
  1986. ΓòÉΓòÉΓòÉ <hidden> foregroundColor ΓòÉΓòÉΓòÉ
  1987.  
  1988. this keyword is used to designate the foreground color for "non-reserved" 
  1989. words. 
  1990.  
  1991. Syntax: 
  1992.  
  1993.   foregroundColor:  colorname 
  1994.  
  1995. You can use the predefined standard colornames or user defined colornames. 
  1996.  
  1997. Example: 
  1998.  
  1999.   foregroundColor:  black 
  2000.  
  2001.  
  2002. ΓòÉΓòÉΓòÉ <hidden> backgroundColor ΓòÉΓòÉΓòÉ
  2003.  
  2004. this keyword is used to designate the background color for "non-reserved" and 
  2005. reserved words. 
  2006.  
  2007. Syntax: 
  2008.  
  2009.   backgroundColor:  colorname 
  2010.  
  2011. You can use the predefined standard colornames or user defined colornames. 
  2012.  
  2013. Example: 
  2014.  
  2015.   backgroundColor:  myLightGray 
  2016.  
  2017.  
  2018. ΓòÉΓòÉΓòÉ <hidden> blockColor ΓòÉΓòÉΓòÉ
  2019.  
  2020. this keyword is used to designate the background color for a marked block. 
  2021.  
  2022. Syntax: 
  2023.  
  2024.   blockColor:  colorname 
  2025.  
  2026. Example: 
  2027.  
  2028.   blockColor:  myBlockColor 
  2029.  
  2030.  
  2031. ΓòÉΓòÉΓòÉ <hidden> Standard colornames ΓòÉΓòÉΓòÉ
  2032.  
  2033. This are the predefined colornames: 
  2034.  
  2035. black 
  2036. white 
  2037. blue 
  2038. red 
  2039. pink 
  2040. green 
  2041. cyan 
  2042. yellow 
  2043. darkgray 
  2044. darkblue 
  2045. darkred 
  2046. darkpink 
  2047. darkgreen 
  2048. darkcyan 
  2049. brown 
  2050. palegray 
  2051.  
  2052.  
  2053. ΓòÉΓòÉΓòÉ 5.18. Searching a string ΓòÉΓòÉΓòÉ
  2054.  
  2055. The find dialog can be activated by using the "Search" menu "Find..." option 
  2056.  
  2057. Entry field "Target" 
  2058.           Enter the string you want to search for. 
  2059.  
  2060.           Note: The dropdown list stores the entered strings. This list will be 
  2061.           automatically saved so you can use it in your next editing session. 
  2062.  
  2063. Regular expressions 
  2064.           Enable this option, if you want to use a regular expression in the 
  2065.           search string. 
  2066.  
  2067. Ignore case 
  2068.           Select this option for non case sensitive searching 
  2069.  
  2070. Search words 
  2071.           If this option is selected, the target string will be treated as a 
  2072.           Word. No substrings will be found. 
  2073.  
  2074. Search backward 
  2075.           If this option is selected, the next matching string will be searched 
  2076.           upward. 
  2077.  
  2078. Find from position 
  2079.           If this option is selected, the next matching string will be searched 
  2080.           from the current cursor position. 
  2081.  
  2082. Single buffer 
  2083.           Select this option to search for matching strings in the active text 
  2084.           buffer only. 
  2085.  
  2086. All buffers 
  2087.           Select this option to search for matching strings in all text 
  2088.           buffers. 
  2089.  
  2090. Block 
  2091.           Select this option to search for matching strings in a selected block 
  2092.           only. 
  2093.  
  2094. Find 
  2095.           Starts search for first matching string.  If an item has to be 
  2096.           searched again, use the Find next option from the "Search" menu. 
  2097.  
  2098.  
  2099. ΓòÉΓòÉΓòÉ 5.19. Find in files ΓòÉΓòÉΓòÉ
  2100.  
  2101.  
  2102.  
  2103. Find in files is used mainly to search for a string in files, that are not 
  2104. loaded in the editor (like grep at the command line) and to generate a color 
  2105. coded result list. For instance, Find in files can give you a quick overview, 
  2106. where and how often calls to a C-function are made in all source files of a 
  2107. project, without having to load all files in the editor. 
  2108. However, there is an option, that allows you to search only in the textbuffers 
  2109. to generate the result list. 
  2110.  
  2111. Note: The Find in files dialog is not modal and can be resized. The dialog has 
  2112. an entry in the OS/2 window list. 
  2113.  
  2114.  
  2115. Dialog controls 
  2116.  
  2117. Search for 
  2118.           Enter the string you want to search for. 
  2119.  
  2120.           Note: The dropdown list stores the entered strings. This list will be 
  2121.           automatically saved so you can use it in the next editing session. 
  2122.  
  2123. In file 
  2124.           Enter one or more filters or filenames separated by a semicolon. 
  2125.  
  2126.           Examples: 
  2127.           *.c 
  2128.           *.c;*.h 
  2129.           a*.c 
  2130.           alloc.c 
  2131.           alloc.c;mem.c;*.h 
  2132.  
  2133.           The menu Filter contains predefined filters. You can freely alter or 
  2134.           extend the filter list in notebook Settings, page Fileselector - 
  2135.           Filter. 
  2136.  
  2137. Select... 
  2138.           opens the fileselector. You can select one or more files, in which 
  2139.           the string is searched, or just a folder, in which the search is 
  2140.           started. 
  2141.  
  2142. In path 
  2143.           Enter the search path. 
  2144.  
  2145.           The menu Path contains predefined paths. You can freely alter or 
  2146.           extend the path list in notebook Settings, page Fileselector - Paths. 
  2147.  
  2148. Home 
  2149.           switches to the directory, from which MED was started. 
  2150.  
  2151. Regular expressions 
  2152.           Enable this option, if you want to use a regular expression in the 
  2153.           search string. 
  2154.  
  2155. Ignore case 
  2156.           Select this option for non case sensitive searching 
  2157.  
  2158. Search words 
  2159.           If this option is selected, the target string will be treated as a 
  2160.           Word. No substrings will be found. 
  2161.  
  2162. Similarity 
  2163.           This option enables/disables fuzzy search. 
  2164.  
  2165. Filenames only 
  2166.           the result list may contain the textlines with line numbers or the 
  2167.           filenames only, in which the target string was found. 
  2168.  
  2169. Open files 
  2170.           autoload files, in which the target string was found. Optional you 
  2171.           may be asked before the files are loaded (menu Options->Ask before 
  2172.           opening files). 
  2173.  
  2174. Range Filesystem 
  2175.           search in files under the specified path. The option Subflds. enables 
  2176.           recursive search in subfolders. When the MED Project-Manager is 
  2177.           implemented, there will be an option, to search only in project 
  2178.           folders. 
  2179.  
  2180. Range Buffers 
  2181.           search in text buffers only. 
  2182.  
  2183. Start 
  2184.           starts the search. The Stop button is enabled so the search can be 
  2185.           aborted any time. 
  2186.  
  2187. Close 
  2188.           closes the dialog. The dialog is not modal. 
  2189.  
  2190.  
  2191. Result list 
  2192.  
  2193. The color coded search result is displayed in a list box. Doubleclicking the 
  2194. active line of the result list loads the file (if not already loaded) and jumps 
  2195. to the line/column, where the string was found. 
  2196.  
  2197. You can copy the active line of the result list to the system clipboard 
  2198. ([CTRL+Ins]). 
  2199.  
  2200.  
  2201. Dialog menubar 
  2202.  
  2203. Menu "Filter" 
  2204.           contains all predefined filters. You can freely alter or extend the 
  2205.           filter list in notebook Settings, page Fileselector - Filter. 
  2206.  
  2207. Menu "Path" 
  2208.           displays all predefined paths. You can freely alter or extend the 
  2209.           path list in notebook Settings, page Fileselector - Paths. 
  2210.  
  2211. Menu "Result" 
  2212.           The result list can automatically be cleared before the next search, 
  2213.           or the result of the next search can be appended to the current list. 
  2214.  
  2215.           Save... saves the current result list. 
  2216.  
  2217. Menu "Options" 
  2218.           When the dialog is opened, Switch to home directory sets the search 
  2219.           path to the path, from which MED was started. 
  2220.  
  2221.           Ask before opening files enables a request dialog before files are 
  2222.           loaded automatically. 
  2223.  
  2224.           Add current path extends the path list. 
  2225.  
  2226.           Edit filter/paths... opens the Settings notebook to edit the 
  2227.           userdefined Filters or Paths. 
  2228.  
  2229.  
  2230. ΓòÉΓòÉΓòÉ 5.20. Keyboard configuration ΓòÉΓòÉΓòÉ
  2231.  
  2232. The keyboard configuration is saved in the file "med.kbd".  You can edit this 
  2233. configuartion file or you can change the shortcut of a function "on the fly" 
  2234. with the dialog Shortcut/Menu entry configuration (press the [Cntrl] key and 
  2235. hold it down, then click on the menu entry you want to change). 
  2236.  
  2237. Format of "med.kbd" 
  2238.  
  2239. A line has the following format: 
  2240.  
  2241. key:  shortCut  functionName 
  2242.  
  2243. Examples: 
  2244.  
  2245. key:  Ctrl+O     open 
  2246.  
  2247. assigns the key combination [CNTRL + O] to the function "open". 
  2248.  
  2249. key:  Ctrl+KB     blkStart 
  2250.  
  2251. assigns the key combination [CNTRL + KB] to the function "blkStart". 
  2252.  
  2253. Note: You can assign multiple key combinations to the same function. 
  2254. By default the keyboard configuration file "med.kbd" is loaded at startup. 
  2255. Optionally you may pass the -k commandline parameter followed by the name of a 
  2256. keyboard configuration file. 
  2257.  
  2258. The shortcuts of the menu titles ("File", "Edit" etc.) can also be modified. 
  2259. You can use any key combination (not only [ALT] combinations). 
  2260.  
  2261. key:   Alt+D    menuFile 
  2262. key:   Alt+E    menuEdit 
  2263. key:   Alt+B    menuBlock 
  2264. key:   Alt+S    menuSearch 
  2265. key:   Alt+M    menuMacro 
  2266. key:   Alt+T    menuTools 
  2267. key:   Alt+F    menuWindow 
  2268. key:   Alt+O    menuOptions 
  2269. key:   Alt+H    menuHelp 
  2270.  
  2271.  
  2272. ΓòÉΓòÉΓòÉ 5.21. Tool-Manager ΓòÉΓòÉΓòÉ
  2273.  
  2274. This dialog box is used to run/configure compilers and other utilities 
  2275.  
  2276. You can keep the dialog box open during an editing session. 
  2277.  
  2278. Add... 
  2279.           opens the tool configuration notebook in order to add a new tool. 
  2280.  
  2281. Modify... 
  2282.           opens the tool configuration notebook in order to modify the 
  2283.           configuration of the selected tool. 
  2284.  
  2285. Copy 
  2286.           clones the selected tool. 
  2287.  
  2288. Delete... 
  2289.           removes the selected tool from the tool list. 
  2290.  
  2291.    
  2292.           moves the selected tool up/down. 
  2293.  
  2294. Start 
  2295.           runs the selected tool. The tool output window is opened. 
  2296.  
  2297.           Note: Tools can also be started via keyboard shortcut, menu entry or 
  2298.           toolbar. 
  2299.           See Shortcut/Symbol. 
  2300.  
  2301. Stop 
  2302.           aborts the currently running tool. The tool output window is closed. 
  2303.  
  2304. Done 
  2305.           closes the tool manager and the tool output window. 
  2306.  
  2307. Ignore filter 
  2308.           with this option activated, all tools are displayed in the tool list. 
  2309.           Otherwise only those tools are displayed, that match the filename in 
  2310.           the active text window with their filter configuration. 
  2311.  
  2312.  
  2313. ΓòÉΓòÉΓòÉ 5.22. Tool output window ΓòÉΓòÉΓòÉ
  2314.  
  2315.  
  2316. The output of a tool is redirected to a special window: 
  2317.  
  2318. Size/position and font (configurable via Drag&Drop) of this window are saved in 
  2319. the editor configuration. 
  2320.  
  2321. The example output shows lines in three different colors. Lines which can be 
  2322. identified as error or warning messages are displayed red or blue respectively. 
  2323. All other output lines are displayed black. In order to make the identification 
  2324. of output lines work properly, you must set the tool specific parameters in the 
  2325. tool configuration notebook (page "Messages"). You can also specify which types 
  2326. of output lines will be displayed (page "Options"). 
  2327.  
  2328. Jump to error in source window 
  2329.  
  2330. ... using the mouse 
  2331.  
  2332. a double click on a error/warning message in the tool output window sets the 
  2333. cursor to the appropriate line/column in the source window. 
  2334.  
  2335. Selecting the toolbar "bugs" 
  2336.  
  2337. jumps to the next/previous error in the source window. 
  2338.  
  2339. ... using the keyboard 
  2340.  
  2341. first hit [SPACE] or [TAB] to activate the editor main window. Jump to error 
  2342. processing is now performed by the "Next error" and "Previous error" commands 
  2343. (default key assignments are [ALT+DownArrow] and [ALT+UpArrow] respectively). 
  2344.  
  2345. Note: 
  2346. by default, source files containing errors are loaded automatically during tool 
  2347. processing. You can change this behavior in the tool configuration notebook on 
  2348. page Actions 
  2349.  
  2350. You can use [F9] to activate the tool manager dialog. 
  2351.  
  2352.  
  2353. ΓòÉΓòÉΓòÉ 5.23. Tool configuration - Program ΓòÉΓòÉΓòÉ
  2354.  
  2355. Title 
  2356.           enter a descriptive title for the tool. This description appears in 
  2357.           the tool manager list box and is used to identify the tool. 
  2358.  
  2359. Path and file name 
  2360.           enter the full path and file name including the extension to the 
  2361.           program to be executed. (If this program is in your PATH environment 
  2362.           you may omit the path.)  Batch files (.CMD) require the executable 
  2363.           CMD.EXE. Specify the batch file name in the parameters field 
  2364.           preceeded with /C. 
  2365.  
  2366.           The path may contain environment variables. An environment variable 
  2367.           is denoted by a % character as pre- and postfix. 
  2368.  
  2369.           Example:  %WATCOM%\binp\wmake.exe 
  2370.  
  2371. Filter 
  2372.           enter one or more filter expressions, which are used to associate the 
  2373.           program to specific file types. A filter may contain the wildcards 
  2374.           '*' and '?'. The '[]' operator is also supported. Filters without any 
  2375.           wildcards are allowed. If more than one filter is given, the filters 
  2376.           must be separated by semicolons. This field is optional. 
  2377.  
  2378. Paramter list 
  2379.           enter the command line arguments to pass to the program. Parameters 
  2380.           are optional. 
  2381.  
  2382.           The following special substitution sequences may be used in the 
  2383.           parameters field: 
  2384.  
  2385.           %F substitutes the path and file name of the current buffer 
  2386.  
  2387.           %N substitutes the file name without path/extension of the current 
  2388.           buffer 
  2389.  
  2390.           %P substitutes one or more additional parameters, which can be 
  2391.           entered in an automatically opened dialog box just before the program 
  2392.           gets invoked. 
  2393.  
  2394. Working dir 
  2395.           if you wish to have the current working directory changed before 
  2396.           invoking the program, enter the directory path to be switched to. 
  2397.           This field is optional. By default the working dir is '.', which is 
  2398.           the path of the file in the active text buffer. 
  2399.  
  2400.           The path may contain environment variables. An environment variable 
  2401.           is denoted by a % character as pre- and postfix. 
  2402.  
  2403.           Example:  %PROJECT1%\src 
  2404.  
  2405.  
  2406. ΓòÉΓòÉΓòÉ 5.24. Tool configuration - Messages ΓòÉΓòÉΓòÉ
  2407.  
  2408. On this notebook page you can enter the keywords denoting an error/warning line 
  2409. and the format of a error/warning line: 
  2410.  
  2411. Error Token 
  2412.           enter the keyword denoting an error line (usually "error"). This 
  2413.           field is optional, so if your compiler does not emit such a keyword 
  2414.           (for example GNU C), leave this field blank. 
  2415.  
  2416. Warning Token 
  2417.           enter the keyword denoting a warning line (usually "warning"). This 
  2418.           field is optional. 
  2419.  
  2420. Error/Warning message format 
  2421.           enter the format string which describes the fields in an 
  2422.           error/warning message. 
  2423.  
  2424.           The following special substitution sequences may be used: 
  2425.  
  2426.           %F substitutes the path and file name of the source file, in which an 
  2427.           error/warning was found. 
  2428.  
  2429.           %L substitutes the line number, in which the error/warning was found 
  2430.  
  2431.           %C substitutes the column number, in which the error/warning was 
  2432.           found 
  2433.  
  2434.           %E substitutes the error keyword 
  2435.  
  2436.           %W substitutes the warning keyword 
  2437.  
  2438.           %X substitutes the error or the warning keyword 
  2439.  
  2440.           Example: The Watcom C-Compiler generates this error/warning messages: 
  2441.  
  2442.           foo.c(6): Warning! W106: Constant out of range - truncated 
  2443.  
  2444.           foo.c(8): Error! E1011: Symbol 'i' has not been declared 
  2445.  
  2446.           The format string is: 
  2447.  
  2448.           %F(%L): %X 
  2449.  
  2450.           The substitution sequence "%X" must be used, because the error and 
  2451.           the warning keywords share the same field position. 
  2452.  
  2453.           Note: Any words between the substitution sequences which can not be 
  2454.           interpreted as field separators must be given in double quotes. 
  2455.  
  2456.           Example: Speed-Pascal/2 generates this messages: 
  2457.  
  2458.           Error detected in 10,5 
  2459.  
  2460.           Warning detected in 12,1 
  2461.  
  2462.           The format string is: 
  2463.  
  2464.           %X "detected" "in" %L,%C 
  2465.  
  2466.  
  2467. ΓòÉΓòÉΓòÉ 5.25. Tool configuration - Actions ΓòÉΓòÉΓòÉ
  2468.  
  2469. Actions before tool is executed 
  2470.           enable this option if you want all modified buffers to be saved 
  2471.           automatically before the tool is invoked. 
  2472.  
  2473. Runtime actions 
  2474.           enable this options if you want source files to be loaded 
  2475.           automatically if an error/warning was found. 
  2476.  
  2477. Actions after tool has completed successful 
  2478.           enable this option if you want the output window to be closed 
  2479.           automatically. 
  2480.  
  2481.  
  2482. ΓòÉΓòÉΓòÉ 5.26. Tool configuration - Options ΓòÉΓòÉΓòÉ
  2483.  
  2484. Tool writes to 
  2485.           select which output channels (stdout/stderr) are redirected to the 
  2486.           tool output window. 
  2487.  
  2488. Output window shows 
  2489.           select the message types to be shown in the tool output window. 
  2490.  
  2491. Hide output window 
  2492.           enable this option if you do not want the output window to be opened 
  2493.           automatically. You can open it manually by calling the "Output 
  2494.           window" function (menu "Tools"). 
  2495.  
  2496. Add to OS/2 tasklist 
  2497.           activate this option to add an entry for the output window to the 
  2498.           OS/2 tasklist. 
  2499.  
  2500.  
  2501. ΓòÉΓòÉΓòÉ 5.27. Tool-Configuration - Shortcut/Symbol ΓòÉΓòÉΓòÉ
  2502.  
  2503. In this dialog you can configure the keyboard shortcut and the toolbar symbol 
  2504. for a tool. You can also specify, whether the tool should have an menu entry or 
  2505. not. 
  2506.  
  2507. There are no predefined tool symbols, so you have to create your own bitmaps. 
  2508. Activate the "userdefined symbol" option and then click on the "Select..." 
  2509. button to install a symbol for the current tool. 
  2510.  
  2511. The position of a symbol in the toolbar can be changed with the right mouse 
  2512. button. 
  2513.  
  2514. You can configure the toolbar position/height and the button size in the 
  2515. "Settings" notebook on page "Toolbar - Size/Position". 
  2516.  
  2517.  
  2518. ΓòÉΓòÉΓòÉ 5.28. Environment variable "MISTER_ED_PATH" ΓòÉΓòÉΓòÉ
  2519.  
  2520. You can set the optional environment variable "MISTER_ED_PATH" in your 
  2521. config.sys. The environment variable must point to an existing directory, where 
  2522. MED can save his configuration files, macro files and Skeleton files. 
  2523.  
  2524. Example:  set MISTER_ED_PATH=e:\usr\bin\med 
  2525.  
  2526. If MISTER_ED_PATH is undefined or invalid, configuration files are searched in 
  2527. the directory ".\med" starting from the directory, where "med.exe" resides. If 
  2528. ".\med" does not exist, the MED startup directory is used. 
  2529.  
  2530.  
  2531. ΓòÉΓòÉΓòÉ 5.29. Sorting lines ΓòÉΓòÉΓòÉ
  2532.  
  2533. Use this dialog to set the various parms for sorting lines 
  2534.  
  2535. Note: the sort action has its own thread, so you can continue editing in 
  2536. another textbuffer without any restrictions. Needless to say - you won't be 
  2537. able to edit the text that is on sorting... 
  2538.  
  2539. Invert 
  2540.           select this option to enable inverted sorting. 
  2541.  
  2542. Numeric key 
  2543.           select this option if you want the sort key to be interpreted as a 
  2544.           number. 
  2545.  
  2546. Ignore case 
  2547.           select this key if you want the sort key to be case insensitive. 
  2548.  
  2549. Sort block 
  2550.           this option is very important! If it is not selected, all lines in a 
  2551.           textbuffer will be sorted using the complete lines as the sort key. 
  2552.           But maybe you only want to sort a section of a text. No problem at 
  2553.           all. Just mark the section as a line block and select the "sort 
  2554.           block" option. Here we go. 
  2555.           Ok, what if only a part of the lines should be used as a sort key? 
  2556.           Easy! Mark the section as a column block! 
  2557.  
  2558. Sort 
  2559.           starts the sort action. 
  2560.  
  2561.  
  2562. ΓòÉΓòÉΓòÉ 6. Settings Notebook ΓòÉΓòÉΓòÉ
  2563.  
  2564. The notebook Settings gives you access to various configuration options that 
  2565. define MED's look and feel. 
  2566.  
  2567. The notebook contains the following pages: 
  2568.  
  2569. o Startup 
  2570. o DDE 
  2571. o Edit 
  2572. o Word wrapping 
  2573. o Mouse functions 
  2574. o Mouse pointer 
  2575. o Cursor 
  2576. o Window controls 
  2577. o Window colors/font 
  2578. o Window Monitor 
  2579. o Fileselector Filter 
  2580. o Fileselector Paths 
  2581. o Brackets 
  2582. o Load 
  2583. o Save 
  2584. o Autosave 
  2585. o Toolbar predef symbols 
  2586. o Toolbar userdef symbols 
  2587. o Toolbar Size/Position 
  2588. o Misc 
  2589.  
  2590. You can exit the notebook using one of the following buttons 
  2591.  
  2592. Apply 
  2593.           changed settings will be applied to the current configuration. 
  2594.  
  2595.           Note: The configuration is always saved automatically when you exit 
  2596.           MED. 
  2597.  
  2598. Save as... 
  2599.           Save the configuration to a new configuration file. 
  2600.  
  2601.           The name of a configuartion file can be passed to MED at the 
  2602.           commandline. By default, MED loads the configuration file "med.cfg". 
  2603.           (See Environment variable "MISTER_ED_PATH") 
  2604.  
  2605.           Note: The configuration is always saved automatically in the current 
  2606.           active configuration file when you exit MED. 
  2607.  
  2608. Cancel 
  2609.           discards all changes. 
  2610.  
  2611.  
  2612. ΓòÉΓòÉΓòÉ <hidden> Settings "Startup" ΓòÉΓòÉΓòÉ
  2613.  
  2614. Load file list (med.lru) from 
  2615.           The names of the current open documents are saved in the file 
  2616.           "med.lru" when MED shuts down and are reloaded automatically when MED 
  2617.           is started again. "med.lru" can be saved in the current working 
  2618.           directory (local) or in the MED configuration directory (global). 
  2619.  
  2620.           Restore window positions: With this option enabled, the window 
  2621.           positions of the current open documents are saved in "med.lru", and 
  2622.           automatically restored at startup. 
  2623.  
  2624.           Note: The autoload functionality can be disabled by pressing [CNTRL] 
  2625.           during startup. 
  2626.  
  2627. Text window layout 
  2628.           this options configure the initial window layout. 
  2629.  
  2630. Macro files 
  2631.           this list displays names (without path) of macro files which are 
  2632.           automatically loaded when MED starts up. 
  2633.  
  2634.           Note: The path to be searched for macro files can be set in the 
  2635.           environment variable "MISTER_ED_PATH". 
  2636.  
  2637. Add... 
  2638.           brings up the fileselector dialog. Select the macro file you want to 
  2639.           be loaded at startup. 
  2640.  
  2641.           Note: the new macro file(s) will be loaded the next time you start 
  2642.           MED. During a editor session you can use the menu options Load macros 
  2643.           or Add macros to load/add macros on the fly. 
  2644.  
  2645. Delete... 
  2646.           deletes the selected macro file from the startup list. The macro file 
  2647.           will not be removed from your harddisk! 
  2648.  
  2649. Use one program instance 
  2650.           If this option is enabled, only the first instance of MED is loaded 
  2651.           into memory. As long as this instance runs, the parameters of 
  2652.           following calls to MED will be passed to that first instance. In 
  2653.           other words, you can start MED via commandline/icon several times and 
  2654.           pass the names of files to be opened, but all files are loaded into 
  2655.           new edit windows in the same MED main window. This helps to save 
  2656.           memory and desktop space. 
  2657.  
  2658. Pipe operator support 
  2659.           enables/disables the pipe operator support. 
  2660.  
  2661.  
  2662. ΓòÉΓòÉΓòÉ <hidden> Settings "Edit" ΓòÉΓòÉΓòÉ
  2663.  
  2664. Shift count 
  2665.           enter the number of blanks, which will be used by Shift left and 
  2666.           Shift right to horizontal shift a block. 
  2667.  
  2668. Word separators 
  2669.           enter a list of word separator characters. This characters are used 
  2670.           by the Find function, the Word functions, and the Center line 
  2671.           function. 
  2672.  
  2673.           Note: The Reformat function, and the Auto word wrap function have 
  2674.           private word separators. 
  2675.  
  2676. Auto indent 
  2677.           select this option to enable auto indenting. 
  2678.  
  2679. Transfer marked word to find dialog 
  2680.           with this option enabled, a marked word ("Edit->Word->Mark" or double 
  2681.           click with right mouse button) is automatically used as the current 
  2682.           search target string. 
  2683.  
  2684. Go to next line when reaching end of line 
  2685.           This option configures the [Right Arrow] cursor movement. If enabled, 
  2686.           the cursor is placed to the start of the next line when the end of a 
  2687.           line is reached. If not enabled, the cursor can be moved past the end 
  2688.           of a line. 
  2689.  
  2690. Jumpy horizontal scrolling 
  2691.           This option configures the [Right Arrow] cursor movement. If enabled, 
  2692.           the window is scrolled half the window width, when the cursor reaches 
  2693.           the right most column of the window. If not enabled, the window is 
  2694.           scrolled only one column, when the cursor reaches the right most 
  2695.           column. 
  2696.  
  2697.  
  2698. ΓòÉΓòÉΓòÉ <hidden> Settings "Undo" ΓòÉΓòÉΓòÉ
  2699.  
  2700. Undo steps 
  2701.           enter the max. count of editing commands which can be reverted by 
  2702.           Undo or Redo. 
  2703.  
  2704.  
  2705. ΓòÉΓòÉΓòÉ <hidden> Settings "Tab" ΓòÉΓòÉΓòÉ
  2706.  
  2707. Tab count 
  2708.           enter the tab distance (adjustment in characters). This value is used 
  2709.           by Tab and Backtab (SHIFT+Tab). 
  2710.  
  2711. Convert new tabs to spaces 
  2712.           with this option enabled, new inserted tabs are converted to the 
  2713.           equivalent number of spaces. 
  2714.  
  2715.  
  2716. ΓòÉΓòÉΓòÉ <hidden> Settings "Word wrapping" ΓòÉΓòÉΓòÉ
  2717.  
  2718. Word wrap column 
  2719.           enter the column that is used by the Reformat and the Auto word wrap 
  2720.           function. 
  2721.  
  2722. Word separators 
  2723.           enter a list of characters, that separate words. This characters are 
  2724.           used exclusively by the word wrap functions. By default, this list 
  2725.           contains only the space character. 
  2726.  
  2727.           Note: The Find function, the Word functions, and the Center line 
  2728.           function have private word separators. 
  2729.  
  2730. Paragraph separators 
  2731.           A list of characters can be defined, which will cause the word wrap 
  2732.           function to begin a new paragraph, in case one of this characters 
  2733.           appears in the first column of a line. 
  2734.  
  2735.  
  2736. ΓòÉΓòÉΓòÉ <hidden> Settings "Window controls" ΓòÉΓòÉΓòÉ
  2737.  
  2738. Vertical/Horizontal Scrollbar 
  2739.           use this options to switch on/off the text window scrollbars. 
  2740.  
  2741. Display ASCII character code 
  2742.           optionally the ASCII code of the current character is displayed along 
  2743.           with the cursor's line/column position. The code can be displayed 
  2744.           decimal or hexadecimal. 
  2745.  
  2746. Width of line numbering area 
  2747.           the Line numbering option in menu "Options" activates an area, in 
  2748.           which the line numbers of each line is displayed. The width of this 
  2749.           area can be configured to save screen space. If you will never edit 
  2750.           files with more than 9999 lines, you can set the width to 4 columns. 
  2751.  
  2752. Auto resize text window 
  2753.           select this option if you want the edit windows to be automatically 
  2754.           adapted in case you change the main windows size. 
  2755.  
  2756. Update views every x 1/10 seconds 
  2757.           Changes you make in a view get also visible in all other views of the 
  2758.           text buffer after the specified period of time. 
  2759.  
  2760. Scroll factor 
  2761.           enter the percentage of the text window area to be scrolled. 
  2762.  
  2763.  
  2764. ΓòÉΓòÉΓòÉ <hidden> Settings "Window colors/font" ΓòÉΓòÉΓòÉ
  2765.  
  2766. Textwindow colors/font 
  2767.           set the default foreground/background colors and font to be used in 
  2768.           all edit windows. The colors can be set in the syntax-highlighting 
  2769.           configuration file "med.syn" for each file type individually. Note: 
  2770.           MED supports only monospaced fonts! 
  2771.  
  2772.  
  2773. ΓòÉΓòÉΓòÉ <hidden> Settings "Window Monitor" ΓòÉΓòÉΓòÉ
  2774.  
  2775. Keep resident: 
  2776.           If this option is enabled, the Window Monitor will not automatically 
  2777.           be closed when you doubleclick a list entry. The window monitor will 
  2778.           be visible/accessible during the whole time of an editing session. 
  2779.           Also the window monitor is opened automatically when MED is started. 
  2780.  
  2781. Attach to main window 
  2782.           the Window Monitor can optionally be attached to the main window 
  2783.           (left, right, top or bottom). Height/width and position of the Window 
  2784.           Monitor are automatically adjusted when the main window is moved or 
  2785.           resized. 
  2786.  
  2787. Add to OS/2 tasklist 
  2788.           activate this option to add an entry for the Window Monitor to the 
  2789.           OS/2 tasklist. 
  2790.  
  2791. New text window 
  2792.           the entry of a new text window can be added to the Window Monitor at 
  2793.           the end of the list, after the entry of the active text window or 
  2794.           sorted by filename. 
  2795.  
  2796.  
  2797. ΓòÉΓòÉΓòÉ <hidden> Settings "Misc" ΓòÉΓòÉΓòÉ
  2798.  
  2799. Max. File History entries 
  2800.           the File History shows the names of up to 40 files in menu "File" for 
  2801.           quick access. When the File History exceeds 10 entries, a submenu 
  2802.           "More..." is created. 
  2803.  
  2804. Ignore keyboard input older than x ms 
  2805.           this value controls the "after-running" of screen output. Higher 
  2806.           values will result in "after-running" on slower machines. 
  2807.  
  2808.  
  2809. ΓòÉΓòÉΓòÉ <hidden> Settings "Open actions" ΓòÉΓòÉΓòÉ
  2810.  
  2811. Actions when opening a file 
  2812.  
  2813. Open file in active edit window 
  2814.           If this option is enabled, a new file is loaded (via Open or Drag & 
  2815.           Drop) into the active edit window. Else a new edit window is created 
  2816.           before a file is opened. 
  2817.  
  2818. Expand tabs to blanks 
  2819.           select this option if you want tabs to automatically be transformed 
  2820.           into blanks. 
  2821.  
  2822.  
  2823. ΓòÉΓòÉΓòÉ <hidden> Settings "Save actions" ΓòÉΓòÉΓòÉ
  2824.  
  2825. Actions when saving a file 
  2826.  
  2827. Remove blanks at line end 
  2828.           select this option if you want the redundant blanks at line ends to 
  2829.           be deleted before a file is saved. 
  2830.  
  2831. Add Ctrl-Z at end of file 
  2832.           select this option if you want a "Ctrl-Z" character to be appened at 
  2833.           the end of a file. 
  2834.  
  2835. Line format 
  2836.           this options determine the line end style. "Dos" forces the line ends 
  2837.           to be saved as CR + LF. "Unix" forces the line ends to be saved as 
  2838.           LF. "Mac" forces the line ends to be saved as CR. Use the "Default" 
  2839.           option, if you want the line ends to be saved in the style they had, 
  2840.           when the file was loaded. 
  2841.  
  2842. Create backups in directory 
  2843.           select this option if you want the original file to be moved to a 
  2844.           special backup folder before a file is saved. 
  2845.  
  2846.           Note: you may enter the full path or only the name of the backup 
  2847.           folder. 
  2848.           If you enter a full path, all file backups are moved to this folder, 
  2849.           wherever the original file resides. What you get is "global" backup 
  2850.           site. 
  2851.           If you enter a folder name (without path), the backup folder will be 
  2852.           created in the parent directory of the file to be saved. What you get 
  2853.           is a "local" backup site. 
  2854.  
  2855.           The path may contain environment variables. An environment variable 
  2856.           is denoted by a % character as pre- and postfix. 
  2857.  
  2858.           Example: %TMP%\backups 
  2859.  
  2860.           Up to 99 backups per file may be created. In multiple mode, backup 
  2861.           file names are extended by the current date and time (only on 
  2862.           filesystems that support long filenames) or by a number. 
  2863.  
  2864.           Example: Backup filename extended by timestamp 
  2865.  
  2866.           main.c~051597-024539 
  2867.  
  2868.           Examples: Backup filenames extended by counters 
  2869.  
  2870.           main.c~0 
  2871.           main.c~1 
  2872.  
  2873.  
  2874. ΓòÉΓòÉΓòÉ <hidden> Settings "Fileselector - Filter" ΓòÉΓòÉΓòÉ
  2875.  
  2876. Freely extend or alter the filter list. The filter list is used by the 
  2877. Fileselector and the Find in files dialog in the Filter menu. 
  2878.  
  2879. Add... 
  2880.           brings up a dialog in which you can enter a new filter. 
  2881.  
  2882.           Note: A filter may contain the meta characters * and ? and the 
  2883.           regular expression operator []. Multiple filters may be given 
  2884.           separated by a semicolon. 
  2885.           Example: *.c;*.cpp;*.h displays all files with the extensions *.c, 
  2886.           *.cpp and *.h. 
  2887.  
  2888. Edit... 
  2889.           brings up a dialog in which you can edit an existing filter. 
  2890.  
  2891. Delete... 
  2892.           deletes the selected filter. 
  2893.  
  2894. Use system file selector 
  2895.           enable this option to replace the MED file selector with the standard 
  2896.           OS/2 file selector. 
  2897.  
  2898.  
  2899. ΓòÉΓòÉΓòÉ <hidden> Settings "Fileselector - Paths" ΓòÉΓòÉΓòÉ
  2900.  
  2901. Freely alter or extend a list of frequently accessed paths. The path list is 
  2902. used by the Fileselector and the Find in files dialog in the Path menu. 
  2903.  
  2904. Add... 
  2905.           brings up a dialog in which you can enter a new path. Path 
  2906.           definitions may contain environment variables. An environment 
  2907.           variable is denoted by a % character as pre- and postfix. 
  2908.  
  2909.           Example: %TMP%\backups 
  2910.  
  2911.           Note: You may add an optional filter at the end of a path, which will 
  2912.           be used every time you switch to the path. The filter must be 
  2913.           separated by a | (Pipe). 
  2914.  
  2915.           Example: e:\mat\src\pm\med|*.c 
  2916.  
  2917. Edit... 
  2918.           brings up a dialog in which you can edit an existing path. 
  2919.  
  2920. Delete... 
  2921.           deletes a selected path. 
  2922.  
  2923.  
  2924. ΓòÉΓòÉΓòÉ <hidden> Settings "Brackets" ΓòÉΓòÉΓòÉ
  2925.  
  2926. You may specify an unlimited number of brackets. 
  2927.  
  2928. Add... 
  2929.           brings up a dialog in which you may enter a new bracket 
  2930.  
  2931. Edit... 
  2932.           brings up a dialog in which you may edit an existing bracket 
  2933.  
  2934. Delete... 
  2935.           deletes the selected bracket 
  2936.  
  2937.  
  2938. ΓòÉΓòÉΓòÉ <hidden> Settings "Keyboard Shortcuts" ΓòÉΓòÉΓòÉ
  2939.  
  2940. This dialog displays short descriptions of pure keyboard commands (you will see 
  2941. none of them in the menubar) and their current shortcuts. 
  2942. Doubleclick a list entry to bring up the dialog Edit shortcut, in which you can 
  2943. change the key combination for the specified keyboard command. 
  2944.  
  2945.  
  2946. ΓòÉΓòÉΓòÉ <hidden> Settings "Autosave" ΓòÉΓòÉΓòÉ
  2947.  
  2948.  
  2949. Autosave saves a file after a specified number of changes or a specified amount 
  2950. of time. The backup file is saved in a special directory with the file name 
  2951. extended by "~sav" on HPFS respective "~" on FAT drives. 
  2952.  
  2953. Note: you may enter the full path or only the name of the backup folder. 
  2954. If you enter a full path, all file backups are moved to this folder, wherever 
  2955. the original file resides. What you get is "global" backup site. 
  2956. If you enter a folder name (without path), the backup folder will be created in 
  2957. the parent directory of the file to be saved. What you get is a "local" backup 
  2958. site. 
  2959.  
  2960. The path may contain environment variables. An environment variable is denoted 
  2961. by a % character as pre- and postfix. 
  2962.  
  2963. Example: %TMP%\backups 
  2964.  
  2965.  
  2966. ΓòÉΓòÉΓòÉ <hidden> Settings "Toolbar - Predefined Symbols" ΓòÉΓòÉΓòÉ
  2967.  
  2968. In this dialog you can choose the predefined symbols to be displayed in the 
  2969. toolbar. This symbols can not be modified. Predefined symbols are not provided 
  2970. for every editor function but you can add your own bitmap creations as 
  2971. userdefined symbols. 
  2972.  
  2973. You can change the position of a symbol in the toolbar with the right mouse 
  2974. button. 
  2975.  
  2976. You can configure the height/position of the toolbar and the size of the symbol 
  2977. buttons in the "Settings" notebook on page "Toolbar - Size/Position". 
  2978.  
  2979.  
  2980. ΓòÉΓòÉΓòÉ <hidden> Settings "Toolbar - Userdefined Symbols" ΓòÉΓòÉΓòÉ
  2981.  
  2982. This dialog lists all installed userdefined symbols. You can remove a selected 
  2983. symbol from the toolbar with the "Delete..." button. 
  2984.  
  2985. You can add or remove a symbol for any editor function with the following 
  2986. procedure: Press the [CNTRL] key and hold it down while you click on a function 
  2987. in a pulldown menu. The dialog Shortcut/Menu entry configuration appears to 
  2988. give you the choice to install/remove a predefined symbol or a userdefined 
  2989. symbol. 
  2990.  
  2991. The position of an icon in the toolbar can be changed with the right mouse 
  2992. button. 
  2993.  
  2994. You can configure the toolbar position/height and the button size in the 
  2995. "Settings" notebook on page "Toolbar - Size/Position". 
  2996.  
  2997.  
  2998. ΓòÉΓòÉΓòÉ <hidden> Settings "Toolbar - Size/Position/Help" ΓòÉΓòÉΓòÉ
  2999.  
  3000. In this dialog you can configure the position and the height of the toolbar. 
  3001. The height is given in "symbol rows". 
  3002.  
  3003. You can also configure the size of the symbol buttons. The size is given in 
  3004. "pixels". 
  3005.  
  3006. You can configure the bubble help threshold time (in tenth of a second) and the 
  3007. display time (in seconds). A display time of 0 disables the bubble help. 
  3008.  
  3009.  
  3010. ΓòÉΓòÉΓòÉ <hidden> Settings "Cursor" ΓòÉΓòÉΓòÉ
  3011.  
  3012. Cursor shape 
  3013.           The shape of the cursor can be set individually for insert mode and 
  3014.           overwrite mode. 
  3015.  
  3016. Save cursor position 
  3017.           The cursor position is stored in the extended attributes of a file if 
  3018.           one or both options are enabled. 
  3019.  
  3020. Scrollbars move cursor 
  3021.           With this option disabled, the cursor remains at his current text 
  3022.           position when the text is scrolled via the scrollbars. 
  3023.  
  3024.  
  3025. ΓòÉΓòÉΓòÉ <hidden> Settings "Mouse" ΓòÉΓòÉΓòÉ
  3026.  
  3027. in this dialog several functions can be assigned to the mouse buttons. 
  3028.  
  3029.  
  3030. ΓòÉΓòÉΓòÉ <hidden> Settings "Mouse pointer" ΓòÉΓòÉΓòÉ
  3031.  
  3032. the default mouse pointer in text windows can be set to "I-beam" or "Arrow". 
  3033.  
  3034.  
  3035. ΓòÉΓòÉΓòÉ <hidden> Select symbol ΓòÉΓòÉΓòÉ
  3036.  
  3037. In this dialog you can select a userdefined Symbol. 
  3038.  
  3039. Select the button Edit... to launch the Iconeditor (iconedit.exe). 
  3040.  
  3041. Note: A symbol must be saved as a 24x24 bitmap in the OS/2 Format 2.0 (not 1.2) 
  3042.  
  3043.  
  3044. ΓòÉΓòÉΓòÉ 7. The to-do list ΓòÉΓòÉΓòÉ
  3045.  
  3046. o project management 
  3047. o support of hard tabs 
  3048. o ctags compatible index file 
  3049. o smart indenting 
  3050. o templates 
  3051. o RCS support 
  3052. o multiple blocks 
  3053. o folding 
  3054. o Drag & Drop block operations 
  3055. o PM dialog macros 
  3056. o macro language 
  3057. o installation program 
  3058.  
  3059. I would be happy to receive further suggestions! 
  3060.  
  3061.  
  3062. ΓòÉΓòÉΓòÉ 8. How to register ΓòÉΓòÉΓòÉ
  3063.  
  3064.  USA, Canada, South America 
  3065.  
  3066. You can register via BMT Micro. 
  3067.  
  3068. The registration fee is 25 US$  (40.- Deutsche Mark). Your one-time payment of 
  3069. 25 US$ is a lifetime license for all future versions of MED for OS/2. 
  3070.  
  3071. For further information see file "BMTMICRO.TXT". 
  3072.  
  3073. Other countries 
  3074.  
  3075. You can register directly 
  3076.  
  3077. Via mail 
  3078.           Print out the registration form (register.txt), fill in all needed 
  3079.           information and send it to 
  3080.  
  3081.           Matthias Pfersdorff 
  3082.           Marie-Alexandrastr. 3 
  3083.           D-76135 Karlsruhe 
  3084.           Germany 
  3085.  
  3086. Via E-mail 
  3087.           Send the registration form (register.txt) to 
  3088.  
  3089.           med@utopia-planitia.de 
  3090.  
  3091. Note: Registration letters are sent out via E-mail within a week of arriving to 
  3092. me. If you don't receive a mail, please let me know. E-mails sometimes get 
  3093. lost... 
  3094.  
  3095. How to pay 
  3096.  
  3097. The registration fee for a single license is 25 US$  (40.- Deutsche Mark) for 
  3098. private use (please ask for commercial/multiple licenses). Your one-time 
  3099. payment is a lifetime license for all future versions of MED for OS/2. 
  3100.  
  3101. Check 
  3102.           Send a personal check in your currency (covering the amount to be 
  3103.           charged) . If you order from Germany, send an Euro- or 
  3104.           Verrechnungsscheck. 
  3105.  
  3106. Cash 
  3107.           If you send cash, please use registered mail. 
  3108.  
  3109. Bank Transfer 
  3110.           Use only from inside Germany. 
  3111.           My bank is VOLKSBANK KARLSRUHE (BLZ 661 900 00) 
  3112.           account is 767786. 
  3113.  
  3114.  
  3115. ΓòÉΓòÉΓòÉ <hidden> License Agreement ΓòÉΓòÉΓòÉ
  3116.  
  3117. The use of MED is subject to the following terms and conditions: 
  3118. The copy of MED that you have is distributed as shareware. You may freely copy 
  3119. and distribute the file MREDxxxx.ZIP but only AS LONG AS THIS FILE IS NOT 
  3120. MODIFIED IN ANY WAY. You may NOT distribute individual components of 
  3121. MREDxxxx.ZIP, either as-is or in modified form, without written permission from 
  3122. the author Matt Pfersdorff. 
  3123.  
  3124.  
  3125. ΓòÉΓòÉΓòÉ <hidden> Main window work area ΓòÉΓòÉΓòÉ
  3126.  
  3127. The main window work area is the area between toolbar and statusbar. This area 
  3128. is used to display the edit windows. 
  3129.  
  3130.  
  3131. ΓòÉΓòÉΓòÉ <hidden> Word ΓòÉΓòÉΓòÉ
  3132.  
  3133. A word is a subsection of a line limited by free defineable characters. This 
  3134. word separators can be defined in the notebook Settings on page Edit. 
  3135.  
  3136. Note: The Reformat function, and the Auto word wrap function have private word 
  3137. separators. This separators can be defined in the notebook Settings on page 
  3138. Edit/Word wrapping 
  3139.  
  3140. Start/End of line are "natural" word separators. 
  3141.  
  3142.  
  3143. ΓòÉΓòÉΓòÉ <hidden> Column block ΓòÉΓòÉΓòÉ
  3144.  
  3145. A column block is a rectangular text section. 
  3146.  
  3147. To select a column block, set the cursor to the position where you want the 
  3148. block to begin. Then press [SHIFT+ALT] and use the arrow keys to extend the 
  3149. block. The block mode (line/column mode) is adjusted automatically. 
  3150.  
  3151. You can also use the right mouse button (default) to select a column block. 
  3152.  
  3153. A line block looks like this 
  3154.  
  3155. To select a line block, set the cursor to the position where you want the block 
  3156. to begin. Then press [SHIFT] and use the arrow keys to extend the block. The 
  3157. block mode (line/column mode) is adjusted automatically. 
  3158.  
  3159. You can also use the left mouse button (default) to select a line block. 
  3160.  
  3161.  
  3162. ΓòÉΓòÉΓòÉ <hidden> Line block ΓòÉΓòÉΓòÉ
  3163.  
  3164. A line block looks like this 
  3165.  
  3166. To select a line block, set the cursor to the position where you want the block 
  3167. to begin. Then press [SHIFT] and use the arrow keys to extend the block. The 
  3168. block mode (line/column mode) is adjusted automatically. 
  3169.  
  3170. You can also use the left mouse button (default) to select a line block. 
  3171.  
  3172. A column block is a rectangular text section. 
  3173.  
  3174. To select a column block, set the cursor to the position where you want the 
  3175. block to begin. Then press [SHIFT+ALT] and use the arrow keys to extend the 
  3176. block. The block mode (line/column mode) is adjusted automatically. 
  3177.  
  3178. You can also use the right mouse button (default) to select a column block. 
  3179.  
  3180.  
  3181. ΓòÉΓòÉΓòÉ <hidden> Arrow keys ΓòÉΓòÉΓòÉ
  3182.  
  3183. Arrow keys are used to move the cursor. 
  3184.  
  3185.  
  3186. ΓòÉΓòÉΓòÉ <hidden> Bracket ΓòÉΓòÉΓòÉ
  3187.  
  3188. A bracket consists of two free defineable strings. The first string defines the 
  3189. "open" bracket, the second string defines the "close" bracket. 
  3190.  
  3191. Examples: 
  3192.  
  3193. ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  3194. ΓöéOpen           ΓöéClose          Γöé
  3195. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3196. Γöé{              Γöé}              Γöé
  3197. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3198. ΓöéBEGIN          ΓöéEND            Γöé
  3199. Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  3200. Γöé/*             Γöé*/             Γöé
  3201. ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  3202.  
  3203. You can freely edit or extend the bracket list in notebook Settings on page 
  3204. Brackets. 
  3205. To jump to a correspnding bracket use the command Find matching bracket in menu 
  3206. Search. 
  3207.  
  3208.  
  3209. ΓòÉΓòÉΓòÉ <hidden> Bookmark ΓòÉΓòÉΓòÉ
  3210.  
  3211. Bookmarks help you to jump quick to important text passages. You can define as 
  3212. much bookmarks per text as you like. You can save bookmarks in the extended 
  3213. file attributes, so you are able to use them in future editing sessions. 
  3214.  
  3215. Besides the bookmarks, there are five global anchors, that can be set on the 
  3216. fly via keyboard. The default keys are [ALT + 1..5] and [Ctrl + 1..5] for 
  3217. dropping respective searching an anchor. 
  3218.  
  3219.  
  3220. ΓòÉΓòÉΓòÉ <hidden> Toolbar ΓòÉΓòÉΓòÉ
  3221.  
  3222. The toolbar provides those funny little symbols which you can use to call the 
  3223. most important editing functions. 
  3224.  
  3225. You can add or remove a symbol for any editor function with the following 
  3226. procedure: Press the [CNTRL] key and hold it down while you click on a function 
  3227. in a pulldown menu. The dialog Shortcut/Menu entry configuration appears to 
  3228. give you the choice to install/remove a predefined symbol or a userdefined 
  3229. symbol. 
  3230.  
  3231. The position of a symbol can be changed with the right mouse button. 
  3232.  
  3233. You can configure the toolbar position/height and the button size in the 
  3234. "Settings" notebook on page "Toolbar - Size/Position". 
  3235.  
  3236.  
  3237. ΓòÉΓòÉΓòÉ <hidden> Userdefined Symbol (bitmap) ΓòÉΓòÉΓòÉ
  3238.  
  3239. Userdefined symbols are external bitmap files in OS/2 format 2.0 of the size 
  3240. 24x24. The files must be located in the directory "med-bmp". This directory 
  3241. must be located in the same place as the MED configuration files ("med.cfg", 
  3242. "med.kbd", "med.syn", "med.tlb".). 
  3243.  
  3244.  
  3245. ΓòÉΓòÉΓòÉ <hidden> View ΓòÉΓòÉΓòÉ
  3246.  
  3247. You can create multiple views of the same text buffer to make different parts 
  3248. of a text visible simultaneously. 
  3249.  
  3250. Changes you make in a view become also visible in all other views of the text 
  3251. buffer after a short period of time. You can configure the time value in 
  3252. notebook "Settings" on page "Windows". 
  3253.  
  3254. The sub menu "Views" in menu "Windows" provides functions to create/close and 
  3255. arrange all views of the active text buffer. 
  3256.  
  3257. All other functions in the "Windows" menu manipulate the top views of all text 
  3258. buffers. 
  3259.  
  3260.  
  3261. ΓòÉΓòÉΓòÉ <hidden> Edit window ΓòÉΓòÉΓòÉ
  3262.  
  3263. An edit window displays on file at a time. 
  3264.  
  3265.  
  3266. ΓòÉΓòÉΓòÉ <hidden> Anchors ΓòÉΓòÉΓòÉ
  3267.  
  3268. Besides the Bookmarks, there are five global anchors, that can be set on the 
  3269. fly via keyboard. The default keys are [ALT + 1..5] and [Ctrl + 1..5] for 
  3270. dropping respective searching an anchor. 
  3271.  
  3272.  
  3273. ΓòÉΓòÉΓòÉ <hidden> Unix text format ΓòÉΓòÉΓòÉ
  3274.  
  3275. Under OS/2 line ends consist of two bytes (CR und LF). Under UNIX line ends are 
  3276. a single byte (LF). 
  3277. MED automatically recognizes the file format. 
  3278.  
  3279. Note: a file will be saved in the same format as it has been loaded. 
  3280.  
  3281.  
  3282. ΓòÉΓòÉΓòÉ <hidden> MED is fast ΓòÉΓòÉΓòÉ
  3283.  
  3284. Unlike nearly every other PM editor, the heart of MED is not the MLE (multi 
  3285. line edit) control. The biggest part of functionality every MLE based editor 
  3286. provides is done by this control, that has been coded by the developers of 
  3287. OS/2. So why is MED not based on the MLE? The major reasons are performance and 
  3288. portability. And, of course, you will probably never find a MLE editor, that 
  3289. has features like column blocks or syntax highlighting.... 
  3290.  
  3291.  
  3292. ΓòÉΓòÉΓòÉ <hidden> Macro ΓòÉΓòÉΓòÉ
  3293.  
  3294. A macro consists of several editing commands, packed together to a complex user 
  3295. defined command. You can assign a key combination to a macro, so it can be 
  3296. called via the keyboard. 
  3297.  
  3298. o Macros may contain an unlimited number of editing commands 
  3299. o You can assign a new key combination any time you like 
  3300. o You can save/load macros 
  3301. o Macros can be loaded automatically at startup 
  3302. o Macros can be started automatically at startup with the commandline option 
  3303.   "-m" 
  3304.  
  3305. Note: MED is able to manage an unlimited number of macros. 
  3306.  
  3307.  
  3308. ΓòÉΓòÉΓòÉ <hidden> Key combination ΓòÉΓòÉΓòÉ
  3309.  
  3310. A key combination may consist of one or more keys that have to be pressed 
  3311. simultaneous. 
  3312.  
  3313. Case 1: 
  3314. A modifier key (Shift, Ctrl, Alt) has to be pressed in conjunction with one 
  3315. normal key. 
  3316.  
  3317. Case 2: 
  3318. MED supports multi level key combinations a la WORDSTAR. A modifier key (Shift, 
  3319. Ctrl, Alt) has to be pressed and held down followed by two normal keys (for 
  3320. example "CNTRL + KB"). 
  3321.  
  3322.  
  3323. ΓòÉΓòÉΓòÉ <hidden> Drag & Drop ΓòÉΓòÉΓòÉ
  3324.  
  3325. MED supports the following Drag&Drop actions: 
  3326.  
  3327. Open files 
  3328.           drop a file icon in an edit window. In case you drop one icon only, 
  3329.           this file will be loaded into the current active edit window. You can 
  3330.           change this behavior by disabling the option Open file in active text 
  3331.           window in the notebook Settings page Load. 
  3332.           The same is true if you drop multiple icons: the first will be loaded 
  3333.           into the current active edit window (unless you disable the option 
  3334.           mentioned above), the following will be loaded into automatically 
  3335.           opened edit windows. 
  3336.  
  3337. Configure font 
  3338.           drop a font in an edit window. 
  3339.  
  3340.           Note: MED supports monospaced fonts (System VIO, Courier, System 
  3341.           monospaced) only, due to the fact, that a column block can't be 
  3342.           displayed properly with proportional fonts. 
  3343.  
  3344. Configure text foreground/background color 
  3345.           drop a color in an edit window to set the background color. Press 
  3346.           [CNTRL] and drop a color in a edit window to set the foreground 
  3347.           color. 
  3348.  
  3349. Configure main window background color 
  3350.           drop a color in the main window to set the background color. 
  3351.  
  3352. Note: MED currently supports only solid colors. 
  3353.  
  3354.  
  3355. ΓòÉΓòÉΓòÉ <hidden> DDE ΓòÉΓòÉΓòÉ
  3356.  
  3357. The following "EPM" commands are supported: 
  3358.  
  3359. EDIT filename1 [filename2] ... [filenameN] 
  3360.  
  3361. GOTO line [col] 
  3362.  
  3363. SAYERROR errorMsg 
  3364.  
  3365. MED's default DDE server name is "MRED". If a client does not support 
  3366. configuration of the server name, you can change MED's server name. To get full 
  3367. DDE compatibility to EPM, just set MED's sever name to "EPM". 
  3368.  
  3369.  
  3370. ΓòÉΓòÉΓòÉ <hidden> Skeleton Files ΓòÉΓòÉΓòÉ
  3371.  
  3372. A Skelton File is loaded automatically when a new textbuffer is created or an 
  3373. empty file is opened. This is useful for setting up a standard header in a new 
  3374. file. Skeleton files must be located in the MED configuration directory (this 
  3375. is where med.cfg resides) and have a filename like this: 
  3376.  
  3377. skeleton.X 
  3378.  
  3379. The X substitutes any file extension. The extension is used to determine the 
  3380. skeleton file to be loaded. 
  3381.  
  3382. Examples: 
  3383.  
  3384. skeleton.c 
  3385. is loaded when a new C source file is opened 
  3386.  
  3387. skeleton.pas 
  3388. is loaded when a new Pascal source file is opened 
  3389.  
  3390.  
  3391. ΓòÉΓòÉΓòÉ <hidden> Where to get the latest version ΓòÉΓòÉΓòÉ
  3392.  
  3393. You can find the latest english and german version at the MED Homepage: 
  3394.  
  3395. http://www.utopia-planitia.de 
  3396.  
  3397.  
  3398. ΓòÉΓòÉΓòÉ <hidden> Shareware ΓòÉΓòÉΓòÉ
  3399.  
  3400. MED is Shareware. So what does that mean? 
  3401. You may use MED for a 31 day trial period without any financal contribution. If 
  3402. you continue to use MED beyond this 31 day trial period, you are obligated to 
  3403. register it. 
  3404.  
  3405. As the only limitation, the unregistered version of MED allows you to print 
  3406. only once per run of MED. 
  3407.  
  3408. Please be fair! Register and support further development of MED. 
  3409.  
  3410. Note: Also, while I will listen to any suggestions I receive, I pay closer 
  3411. attention to suggestions from registered users ;-) 
  3412.  
  3413. Related topics: 
  3414.  
  3415. "How to register". 
  3416.  
  3417.  
  3418. ΓòÉΓòÉΓòÉ <hidden> Line numbering ΓòÉΓòÉΓòÉ
  3419.  
  3420. The option Line numbering in menu "Options" activates an area, in which the 
  3421. line number of each line is displayed. 
  3422.  
  3423. Note: Font and colors of the line numbering can be configured via Drag&Drop. 
  3424. The width of the line numbering area can be configured in the "Settings" 
  3425. notebook, page "Window - Controls". 
  3426.  
  3427.  
  3428. ΓòÉΓòÉΓòÉ <hidden> Fileselector ΓòÉΓòÉΓòÉ
  3429.  
  3430.  
  3431. Fileselector menubar 
  3432.  
  3433. Menu "Filter" 
  3434.           contains all predefined filters. You can freely alter or extend the 
  3435.           filter list in notebook Settings, page Fileselector - Filter. 
  3436.  
  3437. Menu "Path" 
  3438.           contains all predefined paths. You can freely alter or extend the 
  3439.           path list in notebook Settings, page Fileselector - Paths. 
  3440.  
  3441. Menu "Options" 
  3442.           Activate Use [Tab] for filename completion if you want to use the 
  3443.           [Tab] key for filename completion (the default function of [Tab] is 
  3444.           to move the focus to the next dialog control). 
  3445.  
  3446.           Add current path extends the path list. 
  3447.  
  3448.           Edit filter/paths... opens the Settings notebook to edit the 
  3449.           userdefined Filters or Paths. 
  3450.  
  3451. Fileselector controls 
  3452.  
  3453. Drive 
  3454.           displays all accessible drive letters and the volume labels. 
  3455.  
  3456. Current path / History 
  3457.           displays the path of the currently active drive. The dropdown list 
  3458.           provides a history of the last 20 paths, that have been used to 
  3459.           load/save a file. 
  3460.  
  3461. Filename|Dirname|Path 
  3462.           enter a path and/or file name manually. This entry field supports 
  3463.           path and file name completion. Type in the first character(s) of a 
  3464.           path/file name and press [Down arrow] or [Up arrow] or [Tab] for 
  3465.           completion. 
  3466.  
  3467.           You can also enter one or more filters separated by a semicolon. 
  3468.           Press [RETURN] to load all files matching the filter. Press 
  3469.           [CTRL+RETURN] to activate the filter. The filter is not inserted into 
  3470.           the userdefined filter list. This helps to keep the userdefined list 
  3471.           clean of rare used filters. 
  3472.  
  3473. Home 
  3474.           switches to the directory, from which MED was started. 
  3475.  
  3476. Files 
  3477.           displays file names of the current directory that match the selected 
  3478.           filter. 
  3479.  
  3480.           Note: Some operations allow you to select more than one entry of the 
  3481.           file list (for example Open). 
  3482.  
  3483. Folders 
  3484.           displays all subdirectories located in the current directory. 
  3485.  
  3486. Read only 
  3487.           check this option to open files in read only mode. You can switch to 
  3488.           the edit mode by clicking the "pen" symbol in the window's status 
  3489.           display. 
  3490.  
  3491.  
  3492. ΓòÉΓòÉΓòÉ <hidden> Goto line ΓòÉΓòÉΓòÉ
  3493.  
  3494. Use this dialog box to position the cursor to any line in the current buffer. 
  3495.  
  3496.  
  3497. ΓòÉΓòÉΓòÉ <hidden> Printer setup ΓòÉΓòÉΓòÉ
  3498.  
  3499.  
  3500.  
  3501. Select a print queue from the displayed list, then press the OK button. The 
  3502. selected printer queue will remain in effect until explicitly changed. 
  3503.  
  3504. Pressing Job properties displays another dialog that, among  other options, 
  3505. specifies page orientation. 
  3506.  
  3507.  
  3508. ΓòÉΓòÉΓòÉ <hidden> Exit dialog ΓòÉΓòÉΓòÉ
  3509.  
  3510. The following dialog is displayed when you have requested to exit MED but there 
  3511. are files with unsaved changes. This dialog allows you to choose the files you 
  3512. wish to save before the editor exits. You can save all the displayed files, 
  3513. select those you wish to save, or save none. 
  3514.  
  3515. Save all 
  3516.           this button will save all the files displayed in the list box. 
  3517.  
  3518. Save selected 
  3519.           this button will save only the files you have selected in the list 
  3520.           box. 
  3521.  
  3522. Discard all 
  3523.           this button tells MED that you don't want to save any of the modified 
  3524.           files. Use this option with care! 
  3525.  
  3526. Cancel 
  3527.           this button will abort exiting from MED. No files will be saved. 
  3528.  
  3529.  
  3530. ΓòÉΓòÉΓòÉ <hidden> Window Monitor ΓòÉΓòÉΓòÉ
  3531.  
  3532. This dialog diplays the names of all opened test windows (with or without 
  3533. path). The active window entry is displayed inverted. Modified edit windows are 
  3534. marked by a red "LED". Views are indented and displayed in blue color. A 
  3535. doubleclick switches to another text window. A right mouse button click brings 
  3536. up a context menu. 
  3537.  
  3538. You can change the dialogs size, position and font/colors (via Drag&Drop). This 
  3539. settings are saved in the editor configuration. To change the text color of a 
  3540. regular window entry, press [CNTRL] while dropping the color. To change the 
  3541. text color of a view window entry, press [SHIFT+CNTRL] while dropping the 
  3542. color. 
  3543.  
  3544. The Window Monitor can optionally be attached to the main window (left, right, 
  3545. top or bottom). Height/width and position of the Window Monitor are adjusted 
  3546. when the main window is moved or resized. 
  3547.  
  3548. Note: you can keep this dialog open during an editing session. It will be 
  3549. automatically updated in case a edit window is opened or closed. See Settings 
  3550. "Window Monitor" 
  3551.  
  3552.  
  3553. ΓòÉΓòÉΓòÉ <hidden> Shortcut/Menu entry configuration ΓòÉΓòÉΓòÉ
  3554.  
  3555.  
  3556. A keyboard shortcut is a key combination which calls a specified editor 
  3557. function. MED supports free user defined keyboard shortcuts for every editor 
  3558. function. 
  3559.  
  3560. To change the shortcut of a menu entry do this: Press Cntrl and hold it down. 
  3561. Then click on the menu entry you want to change. Another method to setup the 
  3562. keyboard is to edit the configuration file "med.kbd". 
  3563.  
  3564. Entryfield "Shortcut" 
  3565.           enter the key which must be pressed with a modifier key (SHIFT, CTRL, 
  3566.           ALT) to call the specified function. The dropdown list contains 
  3567.           predefined names of special keys (for example Backspace). 
  3568.           Note: MED supports multi level shortcuts a la WORDSTAR (for example 
  3569.           "Ctrl + KB" ). 
  3570.  
  3571. Ctrl 
  3572.           select this button to use Ctrl as modifier. 
  3573.  
  3574. Shift 
  3575.           select this button to use Shift as modifier. 
  3576.  
  3577. Alt 
  3578.           select this button to use Alt as modifier. 
  3579.  
  3580. no Symbol 
  3581.           select this button if the function should not appear in the toolbar. 
  3582.  
  3583. predefined Symbol 
  3584.           select this button if the predefined symbol for the function should 
  3585.           appear in the toolbar. 
  3586.  
  3587. userdefined Symbol 
  3588.           select this button if a userdefined symbol for the function should 
  3589.           appear in the toolbar. Press the "Select..." button to bring up the 
  3590.           dialog Select symbol. 
  3591.  
  3592. Add menu entry to context menu 1 
  3593.           select this button if you want the menu entry to appear in the main 
  3594.           context menu in case no block is marked. The main context menu is 
  3595.           called by a click with the right mouse button in a edit window. 
  3596.  
  3597.           Note: this button is disabled for keyboard functions. 
  3598.  
  3599. Add menu entry to context menu 2 
  3600.           select this button if you want the menu entry to appear in the main 
  3601.           context menu in case a block is marked. The main context menu is 
  3602.           called by a click with the right mouse button in a edit window. 
  3603.  
  3604.           Note: this button is disabled for keyboard functions. 
  3605.