home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK5 / DOS_34 / QHLPC.ZIP / QHLPC.EXE / QHELPC.DAT < prev    next >
Text File  |  1993-03-01  |  27KB  |  848 lines

  1. *───────────────────────────────────────────────────────────────────────┐
  2. *   QHelpC.Dat ... Config File for QEdit (R) Ver 2.15  01 Mar 93, Rhg   │
  3. *───────────────────────────────────────────────────────────────────────┘
  4.  
  5. *               This file is ORDERED Alphebetically by Function
  6.  
  7. *                          QEdit's CONFIGURABLE KEYS
  8.  
  9. *        This file is a listing of the QEdit's configurable keys
  10. *        and QHelpC's CUSTOM key assignments. It is an modified extract
  11. *        from the QCONFIG.DAT file supplied with the current version
  12. *        of QEdit (R) Advanced.
  13.  
  14. *                             OTHER CONFIGURATIONS
  15. *                Other Configurations of QHelp are available.
  16. *                See the README.BAT on the distribution disk.
  17.  
  18. *                To install the QHelpC Key assignments you
  19. *                must run QEdit's Qconfig utility.  Use this
  20. *                QHelpC.DAT file and the QHelpC.TXT file.
  21. *                Both of these files are provided with this
  22. *                QHelpC utility.
  23. *                                   ┌──────┐
  24. *                                   │ HELP │
  25. *                                   └──────┘
  26. * CTRL H   Invokes the Quick Help Menu of HOT KEY assignments
  27. *
  28. *          There are two HOT KEYS used to access the QHelpC hypertext
  29. *          help utility in the TSR mode. One is to access QHelpC at the
  30. *          MAIN MENU, and the other is used for context sensitive help.
  31. * ALT H    QHelpC TSR to MAIN MENU ( or last help topic )
  32. * ALT L    QHelpC TSR           ( contex sensitive help )
  33.  
  34. * F1       Is used to Invoke QHelpC as a shell ( non TSR mode )
  35. *          Other HOT KEYS are also assigned for the non TSR mode.
  36. *          See HELP KEYS or the macro assigments, later in this file.
  37.  
  38. *                     see also Help on QHelpC ( in QHelpC )
  39. *                     see also QuickHelp      ( in QHelpC )
  40. *                     see also RESERVED KEYS  ( in QHelpC )
  41.  
  42.  
  43. *                             GENERAL INSTRUCTIONS
  44. *  Specify control-key commands via: ^f1 - This means Control-F1
  45. *  Specify alt-key commands via:     @f1 - This means Alt-F1
  46. *  Specify shift-key commands via:   #f1 - This means Shift-F1
  47.  
  48. *  There is also a provision for "two key commands".
  49. *  For example, to make the Control-F1, Control-F2 sequence issue the
  50. *  exit command, try the following:
  51.  
  52. *  ^f1_^f2     Exit
  53.  
  54. *  The key here is that the commands must be separated by a '_'.
  55.  
  56. *  Multiple commands and/or text may be entered for a single key.  To do so,
  57. *  specify "MACROBegin" as the first command.  To enter text, enclose the
  58. *  text in single or double quote marks.  For example:
  59.  
  60. *  f1  MACROBegin EditFile 'help.dat' Return
  61.  
  62. *  This command would load the file 'help.dat'.  Note the return command is
  63. *  issued after the text.  This is required to terminate the QEdit prompt.
  64.  
  65. *  Following is a macro that will run make and load the results into a window:
  66.  
  67. *  MACROBegin EditFile 'errors.lst' Return Quit Dos 'make >errors.lst' Return
  68. *             Return HorizontalWindow EditFile 'errors.lst' Return
  69.  
  70. *  Following macro will run Turbo C on the current file:
  71.  
  72. *  MACROBegin GSave Dos 'tcc -y -M ' CurrentFilename Return
  73.  
  74. *  Finally, you can also use the scancode to represent "special keys", as
  75. *  long as this key returns a ascii character code of 0.
  76. *  For example Alt-F9 returns an ascii character of 0 and a scan code of
  77. *  112 decimal.  To make Alt-F9 issue the EditFile command, you could:
  78.  
  79. *  112  EditFile
  80. *      or
  81. *  @f9  EditFile
  82.  
  83. *  Either will work.  This becomes especially useful if you have a macro
  84. *  processor and/or special keyboard that has extended keys that QEdit
  85. *  doesn't have names for.  This gives you a method to use them.
  86.  
  87. *  Note that the order of this file is NOT important.  Arrange it however
  88. *  makes sense to you.
  89.  
  90. *  See also:
  91. *  QEdit (R) Advanced Reference Guide ( Version 2.07, March 1989 )
  92. *  QEdit (R) Advanced Addendum      ( Version 2.1, February 1990 )
  93. *  Edit (R) TSR Reference Guide     ( Version 1.1, February 1990 )
  94.  
  95. *  The QHelpC utility can also be used as a source listing of ALL QEdit
  96. *  commands, both the Advanced version and the TSR version.  Use the INDEX
  97. *  and browse.
  98.  
  99. *  NOTE:
  100. *       The remainder of this file, complete with HYPER LINKS, is repeated
  101. *       in the QHelpC utility.  Type ... ' qhelpc configurable '
  102.  
  103. *                           ┌─────────────────────┐
  104. *                           │ BLOCK Pop Down Menu │
  105. *                           └─────────────────────┘
  106. * ordered by Menu occurance
  107.  
  108. @b                      MACRO_begin main_menu 'b'
  109. *                       BL ... mark Line
  110. * changed @ ver 2.15    BH ... mark cHaracter was BC ... mark Character @ ver2.1
  111. *                       BK ... mark Kolumn
  112. * changed @ ver 2.15    BC ... Copy block     was BO ... cOpy @ ver 2.1
  113. * added   @ ver 2.15    BM ... Move block
  114. *                       BD ... Delete
  115. * changed @ ver 2.15    BU ... Unmark         was BN ... uNmark @ ver 2.1
  116. * added   @ ver 2.15    BB ... mark Begin
  117. * added   @ ver 2.15    BE ... mark End
  118. * added   @ ver 2.15    BO ... copyOver
  119. * added   @ ver 2.15    BF ... Fill
  120. * added   @ ver 2.15    BS ... Sort
  121.  
  122. * deleted @ ver 2.15    BA ... pAsteover
  123. * deleted @ ver 2.15    BP ... Paste
  124. * deleted @ ver 2.15    BU ... cUt
  125.  
  126. * CASE
  127. * Lower Case ... Column Block
  128. #f2                     LOWER
  129.  
  130. * Upper Case ... Column Block
  131. #f3                     UPPER
  132.  
  133. * Change Case ... Column Block
  134. #f4                     FLIP
  135.  
  136. ^f1                     COPY_BLOCK
  137. @c                      COPY_BLOCK
  138. ^b_c                    COPY_BLOCK
  139. ^k_c                    COPY_BLOCK
  140.  
  141. ^f2                     COPY_OVER_BLOCK
  142. @z                      COPY_OVER_BLOCK
  143. ^o                      COPY_OVER_BLOCK
  144. ^b_o                    COPY_OVER_BLOCK
  145.  
  146. ^z MACROBegin           COPY_OVER_BLOCK LINE_DOWN
  147.  
  148. ^f3                     DELETE_BLOCK
  149. @d                      DELETE_BLOCK
  150. ^b_d                    DELETE_BLOCK
  151. ^k_y                    DELETE_BLOCK
  152.  
  153. @a                      DROP_ANCHOR
  154.  
  155. ^f4                     MARK_BLOCK_BEGIN
  156. ^b_b                    MARK_BLOCK_BEGIN
  157. ^k_b                    MARK_BLOCK_BEGIN
  158.  
  159. ^f5                     MARK_BLOCK_END
  160. ^b_e                    MARK_BLOCK_END
  161. ^k_k                    MARK_BLOCK_END
  162.  
  163. ^f7                     MARK_CHARACTER
  164.  
  165. ^f8                     MARK_LINE
  166. ^l_m                    MARK_LINE
  167.  
  168. ^f9                     MARK_WORD
  169. ^k_w                    MARK_WORD
  170.  
  171. ^f10                    MOVE_BLOCK
  172. @v                      MOVE_BLOCK
  173. ^v                      MOVE_BLOCK
  174. ^b_m                    MOVE_BLOCK
  175. ^k_v                    MOVE_BLOCK
  176.  
  177. @f3                     UNMARK_BLOCK
  178. @u                      UNMARK_BLOCK
  179. ^b_h                    UNMARK_BLOCK
  180. ^k_h                    UNMARK_BLOCK
  181.  
  182. * ───────────────────── COLUMN BLOCK COMMANDS
  183.  
  184. ^f6                     MARK_COLUMN
  185. @k                      MARK_COLUMN
  186. ^b_k                    MARK_COLUMN
  187.  
  188. * Sort Column Block
  189. #f1                     SORT
  190.  
  191. * ───────────────────── BLOCK/SCRAP BUFFER
  192.  
  193. @f4                     COPY
  194. grey+                   COPY
  195.  
  196. @F5                     CUT
  197. grey-                   CUT
  198.  
  199. @grey- MACROBegin GotoBlockBeg CUT PASTE FillBlock ' ' return UnMarkBlock
  200.  
  201. @f6                     PASTE
  202. grey*                   PASTE
  203.  
  204. @grey+                  FillBlock
  205.  
  206. @f7                     PASTE_OVER
  207. ^prtsc                  PASTE_OVER
  208.  
  209. * ───────────────────── BLOCK/SCRATCH BUFFER
  210.  
  211. @f8                     APPEND_SCRBUFF
  212. ^grey+                  APPEND_SCRBUFF
  213.  
  214. @F9                     GET_SCRBUFF
  215. ^grey*                  GET_SCRBUFF
  216.  
  217. @F10                    STORE_SCRBUFF
  218. ^grey-                  STORE_SCRBUFF
  219.  
  220. * ───────────────────── CURSOR  MOVEMENT
  221.  
  222. ^pgup                   BEG_FILE
  223.  
  224. home                    BEG_LINE
  225.  
  226. ^home                   BEG_SCREEN
  227.  
  228. cursorup                CURSOR_UP
  229. cursordown              CURSOR_DOWN
  230. cursorleft              CURSOR_LEFT
  231. cursorright             CURSOR_RIGHT
  232.  
  233. end                     END_LINE
  234.  
  235. ^pgdn                   END_FILE
  236.  
  237. ^end                    END_SCREEN
  238.  
  239. ^q_e                    END_PARA
  240.  
  241. ^g_b                    GOTO_BLOCK_BEG
  242. ^q_b                    GOTO_BLOCK_BEG
  243.  
  244. ^g_e                    GOTO_BLOCK_END
  245. ^q_k                    GOTO_BLOCK_END
  246.  
  247. ^g_c                    GOTO_COLUMN
  248. greyenter               GOTO_COLUMN
  249.  
  250. ^j                      GOTO_LINE
  251. ^g_l                    GOTO_LINE
  252. ^greyenter              GOTO_LINE
  253.  
  254. @greypgdn               HALF_PG_DN
  255. @greypgup               HALF_PG_UP
  256.  
  257. @greyend                LINE_DOWN
  258. ^cursordown             LINE_DOWN
  259. ^x                      LINE_DOWN
  260.  
  261. @greyhome               LINE_UP
  262. ^cursorup               LINE_UP
  263.  
  264. ^g_n                    NEXT_PARA
  265.  
  266. pgdn                    PAGE_DOWN
  267. pgup                    PAGE_UP
  268.  
  269. ^g_p                    PREV_PARA
  270.  
  271. ^q_p                    PREV_POSITION
  272.  
  273. tab                     TAB_RT
  274. #tab                    TAB_LT
  275.  
  276. @tab                    WORD_LEFT
  277. ^cursorleft             WORD_LEFT
  278.  
  279. ^cursorright            WORD_RIGHT
  280. ^tab                    WORD_RIGHT
  281.  
  282. * ───────────────────── SCROLL
  283.  
  284. ^s_b                    MAKE_BOT_OF_SCREEN
  285. ^s_c                    MAKE_CTR_OF_SCREEN
  286. ^s_t                    MAKE_TOP_OF_SCREEN
  287.  
  288. @greycursordown         SCROLL_UP
  289. @greycursorup           SCROLL_DOWN
  290. @greycursorleft         SCREEN_LEFT
  291. @greycursorright        SCREEN_RIGHT
  292.  
  293. * Shift Line or Marked Block
  294. ^s_l                    SHIFT_LEFT
  295. ^s_r                    SHIFT_RIGHT
  296.  
  297. *                           ┌─────────────────────┐
  298. *                           │ EDIT Pop Down Menus │
  299. *                           └─────────────────────┘
  300. * ordered by Menu occurance
  301.  
  302. @e                      MACRO_begin main_menu 'e'
  303. *                       EA ... Addline
  304. *                       ED ... Deleteline
  305. *  added   @ ver 2.15   EE ... delete to End of line
  306. *                       EI ... Insertline
  307. *                       EJ ... Joinline
  308. *                       ES ... Splitline
  309. *  added   @ ver 2.15   EU ... Undelete
  310.  
  311. * ───────────────────── EDIT HOT KEYS
  312.  
  313. backspace               BACKSPACE
  314.  
  315. ^n                      ADD_LINE
  316. f2                      ADD_LINE
  317.  
  318. f3                      ALIGN
  319.  
  320. del                     del_ch
  321.  
  322. f5                      DEL_LINE
  323. ^y                      DEL_LINE
  324. ^del                    DEL_LINE
  325.  
  326. f6                      DEL_to_EOL
  327. ^e                      DEL_to_EOL
  328. #del                    DEL_to_EOL
  329.  
  330. ^backspace              DEL_LT_WORD
  331.  
  332. @t                      DEL_RT_WORD
  333.  
  334. f7                      DUP_LINE
  335. ^l_d                    DUP_LINE
  336.  
  337. @g                      GET_PREV
  338.  
  339. f8                      INSERT_LINE
  340. @i                      INSERT_LINE
  341. ^i                      INSERT_LINE
  342.  
  343. f9                      JOIN_LINE
  344. @j                      JOIN_LINE
  345.  
  346. #f11                    LITERAL
  347. ^p                      LITERAL
  348.  
  349. enter                   RETURN
  350.  
  351. ^-                      SHOW_ENTRY_SCREEN
  352.  
  353. f10                     SPLIT_LINE
  354. ^l_s                    SPLIT_LINE
  355.  
  356. @f1                     UNDO_CURSORLINE
  357. ^l_u                    UNDO_CURSORLINE
  358.  
  359. @f2                     UnKill
  360. ^u                      UnKill
  361.  
  362. *                           ┌─────────────────────┐
  363. *                           │ FILE  Pop Down Menu │
  364. *                           └─────────────────────┘
  365. * ordered by Menu occurance
  366.  
  367. @f                      MACRO_begin main_menu 'f'
  368. *                       FL ... Load
  369. *                       FF ... File
  370. *                       FQ ... Quitfile
  371. *                       FS ... Save
  372. *                       FN ... Next
  373. *                       FP ... Prev
  374. *                       FR ... Read
  375. *                       FC ... Changename
  376. *                       FW ... Writeblock
  377. *                       FG ... Globalfile
  378. * changed @ ver 2.15    FO ... Os shell     was FD ... Dos in ver 2.1
  379. * added @ ver 2.15      FT ... lisT
  380.  
  381. * ───────────────────── FILE HOT KEYS
  382.  
  383. ^d                      DOS
  384.  
  385. ^f_e                    EDIT_FILE
  386.  
  387. ^k_d                    eXit
  388.  
  389. ^k_x                    FILE
  390.  
  391. @x                      G_EXIT
  392.  
  393. ^f_g                    G_FILE
  394.  
  395. ^q_q                    G_Pquit
  396.  
  397. @y                      G_SAVE
  398.  
  399. ^k_z                    KILL_FILE
  400.  
  401. ^f_x                    NewFile
  402.  
  403. ^f_n                    NEXT_FILE
  404. @n                      NEXT_FILE
  405.  
  406. ^k_q                    P_QUIT
  407.  
  408. ^f_p                    PREV_FILE
  409. ^k_p                    PREV_FILE
  410.  
  411. ^f11                    READ_BLOCK
  412. @r                      READ_BLOCK
  413. ^b_r                    READ_BLOCK
  414.  
  415. ^k_s                    SAVE_FILE
  416.  
  417. ^f12                    WRITE_BLOCK
  418. ^b_w                    WRITE_BLOCK
  419.  
  420. *                    ┌───────────────────────────────────┐
  421. *                    │        SEARCH Pop Down Menu       │
  422. *                    └───────────────────────────────────┘
  423. * ordered by Menu occurance
  424.  
  425. @s                      MACRO_begin main_menu 's'
  426. *  no change @ ver 2.15
  427. *                       SF ... Find
  428. *                       SR ... Replace
  429. *                       SA ... Again
  430.  
  431. * ───────────────────── FIND HOT KEYS
  432.  
  433. #f5                     FIND
  434. ^q_f                    FIND
  435.  
  436. #f6                     FIND_REPLACE
  437. ^q_r                    FIND_REPLACE
  438.  
  439. #f7                     REPEAT_FIND
  440. ^a                      REPEAT_FIND
  441. ^q_a                    REPEAT_FIND
  442.  
  443. *                                   ┌──────┐
  444. *                                   │ HELP │
  445. *                                   └──────┘
  446.  
  447. *                       QEdit .. Internal
  448. ^h  Quick_Help
  449.  
  450. *  Reference, Only ... assigned above
  451. *  @H TSR        HELP
  452. *  @L TSR Contex HELP
  453.  
  454. *  HERE, down for QHelpC ... non resident mode
  455. *
  456. *                       MAIN MENU
  457. f1 MACRO_BEGIN dos 'QhS MM' return return
  458.  
  459. *                       Function Keys
  460. @0 MACRO_begin dos 'QhS K0' return return
  461.  
  462. *                       File Pop Down Menu
  463. @1 MACRO_begin dos 'QhS K1' return return
  464.  
  465. *                       Window Pop Down Menu
  466. @2 MACRO_begin dos 'QhS K2' return return
  467.  
  468. *                       Block Pop Down Menu
  469. @3 MACRO_begin dos 'QhS K3' return return
  470.  
  471. *                       Search Pop Down Menu
  472. @4 MACRO_begin dos 'QhS K4' return return
  473.  
  474. *                       Print Pop Down Menu
  475. @5 MACRO_begin dos 'QhS K5' return return
  476.  
  477. *                       MACRO Pop Down Menu
  478. @6 MACRO_begin dos 'QhS K6' return return
  479.  
  480. *            Edit Pop Down Menu
  481. @7 MACRO_begin dos 'QhS K7 return return
  482.  
  483. *                       Other Pop Down Menu
  484. @8 MACRO_begin dos 'QhS K8' return return
  485.  
  486. *                       Quit Pop Down Menu
  487. @9 MACRO_begin dos 'QhS K9' return return
  488.  
  489. *                       Cursor
  490. @- MACRO_begin dos 'QhS KC' return return
  491.  
  492. *                       Misc
  493. @= MACRO_begin dos 'QhS KM' return return
  494.  
  495. *                       Tabs
  496. @[ MACRO_begin dos 'QhS KT' return return
  497.  
  498. *                       Toggles
  499. @] MACRO_begin dos 'QhS KG' return return
  500. *
  501. *  HERE, up for QHelpC ... non resident mode
  502.  
  503. *                           ┌──────────────────────┐
  504. *                           │ MACRO  Pop Down Menu │
  505. *                           └──────────────────────┘
  506. * ordered by Menu occurance
  507.  
  508. @m                      MACRO_begin main_menu 'm'
  509. *                       MM ... Macro record
  510. *                       MR ... Read macro
  511. *                       MW ... Write macro
  512. *  added @ ver 2.15     ME ... Execute scrap
  513.  
  514. * ───────────────────── MACRO HOT KEYS
  515.  
  516. ^c                      CURRENT_FILENAME
  517.  
  518. ^enter                  EXECUTE_SCRAP
  519.  
  520. ^ins                    MACRO_READ
  521.  
  522. ^m                      MACRO_RECORD
  523.  
  524. @enter                  MACRO_WRITE
  525.  
  526. *                           ┌─────────────────────┐
  527. *                           │ OTHER Pop Down Menu │
  528. *                           └─────────────────────┘
  529. * ordered by Menu occurance
  530.  
  531. @o                       MACRO_begin main_menu 'o'
  532. *                        OA ... set Autoindent     [ off/on ]
  533. *                        OI ... set Insert         [ on/off ]
  534. *                        OW ... set Wordwrap       [ on/off ]
  535. *                        OP ... set Ptabwidth
  536. *                        OC ... set Ctabwidth
  537. *                        OR ... set Right margin
  538. *                        OB ... set Backups        [ off/on ]
  539. *                        OE ... set Enter matching [ on/off ]
  540. *                        OS ... set Swap           [ on/off ]
  541. * added @ ver 2.15       OT ... ascii charT
  542.  
  543. * ───────────────────── Other HOT KEYS
  544.  
  545. f4                      CENTER_LINE
  546. centercursor            CENTER_LINE
  547. ^l_c                    CENTER_LINE
  548.  
  549. escape                  ESCAPE
  550. @escape                 ESCAPE
  551.  
  552. f11                     INSERT_DATE
  553. #ins                    INSERT_DATE
  554.  
  555. @greyins                INSERT_TIME
  556. @f11                    INSERT_TIME
  557.  
  558. ^[                      MATCH
  559. ^]                      MATCH
  560.  
  561. @f12                    RepeatCmd
  562. ^r                      RepeatCmd
  563.  
  564. #f10                    SHELL
  565.  
  566. ^w                      WRAP_PARA
  567.  
  568. *                           ┌─────────────────────┐
  569. *                           │ PRINT Pop Down Menu │
  570. *                           └─────────────────────┘
  571. * ordered by Menu occurance
  572.  
  573. @p                      MACRO_begin main_menu 'p'
  574. *  no change @ ver 2.15
  575. *                       PA ... print All
  576. *                       PB ... print Block
  577. *                       PF ... send Formfeed
  578. *                       PL ... set print Left margin
  579. *                       PP ... set print Page length
  580. *                       PT ... set print Top margin
  581. *                       PO ... set print bOttom margin
  582.  
  583. *                           ┌─────────────────────┐
  584. *                           │ QUIT  Pop Down Menu │
  585. *                           └─────────────────────┘
  586. * ordered by Menu occurance
  587.  
  588. @q                      MACRO_begin main_menu 'q'
  589. *                       QQ ... Quit all files
  590. * changed ver 2.15      QX ... eXit all files    was QE ... Exit all files
  591.  
  592. * ───────────────────── Toggle HOT KEYS
  593.  
  594. #f9                     TOGGLE_BOX_DRAW
  595. #f8                     TOGGLE_BOX_TYPE
  596.  
  597. #f12                    TOGGLE_EGA43
  598.  
  599. ins                     TOGGLE_INSERT
  600. ^t_i                    TOGGLE_INDENT
  601.  
  602. ^t_s                    TOGGLE_SMART_TABS
  603.  
  604. ^t_e                    TOGGLE_TABS_EXPAND
  605.  
  606. ^t_o                    TOGGLE_TABS_OUT
  607.  
  608. f12                     TOGGLE_WORDWRAP
  609.  
  610. *                           ┌──────────────────────┐
  611. *                           │ WINDOW Pop Down Menu │
  612. *                           └──────────────────────┘
  613. * ordered by Menu occurance
  614.  
  615. @w                      MACRO_begin main_menu 'w'
  616. * no change @ ver 2.15
  617. *                       WC ... Close
  618. *                       WS ... Split
  619. *                       WN ... Next
  620. *                       WO ... One
  621. *                       WP ... Prev
  622. *                       WZ ... Zoom
  623. *                       WR ... Resize
  624.  
  625. *                       Spare Keys
  626. *                       SPECIAL KEYS
  627. `
  628. ~
  629. /
  630.  
  631. *                       CONTROL KEYS
  632. *   ^centercursor       reserved for Q TSR HOT KEY
  633.  
  634. ^\
  635.  
  636. *   ^2                  reserved for Q TSR GoBack
  637. *   ^6                  reserved for Q TSR Purge
  638.  
  639. *                       ALT KEYS
  640.  
  641. *                       other enhanced only keys
  642.  
  643. *   @grey*              reserved for Q TSR GRABBER
  644. @greydel
  645. @,
  646. @.
  647. @;
  648. @`
  649. @'
  650.  
  651. * AsciiChart         NOT assigned ( see Other Menu )
  652. * FirstNonWhite      NOT assigned
  653. * List_File          NOT assigned ( see File Menu )
  654. * GrowWindow         NOT assigned ( replaced by Resize @ Version 2.10 )
  655. * HorizontalWindow   NOT assigned ( replaced by Split  @ Version 2.10 )
  656. * ShrinkWindow       NOT assigned ( replaced by Resize @ Version 2.10 )
  657. * QUIT            do NOT ASSIGN
  658.  
  659.  
  660. * III  VERSION 2.15 - RELEASE NOTES - AUGUST, 1991
  661. * ================================================
  662.  
  663. * New Commands in QEdit Advanced 2.15 (See explanations later in this file)
  664. * -------------------------------------------------------------------------
  665.  
  666. * AsciiChart           also OTHER menu command ( @OT )
  667. * FirstNonWhite
  668. * ListFiles            also FILE menu command  ( @FT )
  669.  
  670. * isBegLine            for macro use
  671. * isCursorInBlock      for macro use
  672. * isEmptyLine          for macro use
  673. * isEndLine            for macro use
  674. * isFirstLine          for macro use
  675. * isLastLine           for macro use
  676. * RestoreSettings      for macro use
  677. * SaveSettings         for macro use
  678. * SetAutoIndentMode    for macro use
  679. * SetInsMode           for macro use
  680. * SetScreenOff         for macro use
  681. * SetScreenOn          for macro use
  682. * SetSoundOff          for macro use
  683. * SetSoundOn           for macro use
  684. * SetWordWrapMode      for macro use
  685.  
  686.  
  687. * Additions to the Menus (command names are in []):
  688. * -------------------------------------------------
  689.  
  690. *   File menu:
  691. *     "lisT"          - invokes the new [ListFiles] command
  692.  
  693. *   Block menu:
  694. *     "copyOver"      - invokes the [CopyOverBlock] command
  695. *     "Fill"          - invokes [FillBlock] command
  696. *     "Sort"          - invokes the [Sort] (block) command (a column
  697. *                       block must be marked)
  698. *   Macro menu:
  699. *     "Execute scrap" - invokes the [ExecuteScrap] (macro) command
  700.  
  701. *   Other menu:
  702. *     "ascii charT"   - invokes the new [AsciiChart] command
  703.  
  704.  
  705. * General Commands:
  706. * -----------------
  707.  
  708. * [AsciiChart]
  709. *  Displays a scrollable ASCII chart on the screen.
  710.  
  711. * [ListFiles]
  712. *  Displays a list of the currently loaded files. To switch to another
  713. *  file, move the cursor to the appropriate file and press <Enter>. To
  714. *  keep editing the current file, press <Escape>.
  715.  
  716. * [FirstNonWhite]
  717. *  Intended as a replacement and/or supplement to the [BegLine] command.
  718. *  Places the cursor at the first non-white character on the line, or
  719. *  column 1 if the line doesn't have any non-white characters. "White"
  720. *  characters are tabs or spaces. A useful macro would be:
  721.  
  722. *       Home MacroBegin BegLine JTrue done: FirstNonWhite done:
  723.  
  724. *  (Explanation: If already at the start of a line, go to the first
  725. *  non-white character on the line; otherwise, if not already at the start
  726. *  of a line, go to the start of the line.
  727.  
  728.  
  729. * Advanced Macro Commands:
  730. * ------------------------
  731. * The following new commands are intended for QEdit macro writers, to make
  732. * certain kinds of macros easier to write.
  733.  
  734. * - This group of macro commands force the indicated mode or setting. If
  735. *   the setting was already in that condition, they set QEdit's result
  736. *   code to TRUE; otherwise, they set it to FALSE.
  737.  
  738. *   In many cases, macros can behave differently based on the currently
  739. *   set QEdit modes.  The following 3 new commands give you some control
  740. *   in establishing the proper environment so that your macro will always
  741. *   work as intended.
  742.  
  743. *   [SetInsMode]
  744. *    Sets Insert mode on. To set Insert mode off (that is, set overwrite
  745. *    mode on), do the following:
  746. *         SetInsMode ToggleInsert
  747.  
  748. *   [SetAutoIndentMode]
  749. *    Sets AutoIndent mode on. To set AutoIndent mode off, do the
  750. *    following:
  751. *         SetAutoIndentMode ToggleIndent
  752.  
  753. *   [SetWordWrapMode]
  754. *    Sets WordWrap mode on. To set WordWrap mode off, do the following:
  755. *         SetWordWrapMode ToggleWordWrap
  756.  
  757.  
  758. * - The [Find] command sounds a tone when the search string cannot be
  759. *   found. This can be irritating in a long-running macro, that may
  760. *   possibly execute hundreds of finds that fail. The following commands
  761. *   allow you to selectively turn the sound on and off.
  762.  
  763. *     [SetSoundOn]
  764. *      Sets sound on.
  765.  
  766. *     [SetSoundOff]
  767. *      Sets sound off.
  768.  
  769.  
  770. * - Most macros execute dozens of QEdit commands, possibly hundreds of
  771. *   times. This can cause the screen to flash rapidly as the macro runs.
  772. *   Not only is this somewhat disconcerting to watch, it actully slows
  773. *   down the speed of some macros. The following commands allow you to
  774. *   temporarily suspend or resume screen updating, while a macro is
  775. *   running.
  776.  
  777. *   [SetScreenOn]
  778. *    Turns screen updating on.
  779.  
  780. *   [SetScreenOff]
  781. *    Turns screen updating off. You must turn screen updating back on
  782. *    before your macro prompts for input, or if there is some output from
  783. *    the macro that you want displayed on the screen.
  784.  
  785. *    NOTE: QEdit will AUTOMATICALLY turn screen updating back on when the
  786. *    macro is finished executing. Thus, it is not necessary to issue the
  787. *    SetScreenOn  command at the end of the macro.
  788.  
  789.  
  790. * - Many times, it would be nice for a macro to force a few settings, do
  791. *   its assigned task, and then restore the original settings. The
  792. *   following commands allow you to do just that. Note that each time
  793. *   [SaveSettings] is executed, the previous settings saved with
  794. *   [SaveSettings] are overwritten.
  795.  
  796. *   [SaveSettings]
  797. *    Saves the current settings of: Insert, AutoIndent, WordWrap, Sound,
  798. *    and Screen Updating.
  799.  
  800. *   [RestoreSettings]
  801. *    Restores the saved settings, listed above.
  802.  
  803.  
  804. * - The following commands set QEdit's result code to TRUE or FALSE based
  805. *   on the condition being tested. These commands make certain types of
  806. *   macro tests easier and reliable.
  807.  
  808. *   [isBegLine]
  809. *    Returns TRUE if the cursor is at column 1; otherwise, FALSE is
  810. *    returned.
  811.  
  812. *   [isEndLine]
  813. *    Returns TRUE if the cursor is past the last non-white character on
  814. *    the current line; otherwise, FALSE is returned, including the case
  815. *    when the cursor is on an empty line.
  816.  
  817. *   [isEmptyLine]
  818. *    Returns TRUE if the current line is empty or contains only white
  819. *    space; otherwise, FALSE is returned.
  820.  
  821. *   [isLastLine]
  822. *    Returns TRUE if the cursor is on the last line of the currently
  823. *    edited file; otherwise, FALSE is returned.
  824.  
  825. *   [isFirstLine]
  826. *    Returns TRUE if the cursor is on the first line of the currently
  827. *    edited file; otherwise, FALSE is returned.
  828.  
  829. *   [isCursorInBlock]
  830. *    Returns TRUE if the cursor is inside a marked block; otherwise, FALSE
  831. *    is returned.
  832.  
  833.  
  834. * - In order to tie a few of these concepts together, we present a simple
  835. *   macro to delete all the blank lines in a marked block. The cursor
  836. *   should be at the beginning of the block when the macro is invoked.
  837.  
  838. *    shift f9 MacroBegin
  839. *              SetScreenOff                  * turn off screen for speed
  840. *      begin:  isCursorInBlock jFalse done:  * exit if not in block
  841. *              isEmptyLine     jFalse next:  * skip if not empty line
  842. *              isLastLine      jTrue  last:  * special handling for last line
  843. *              DelLine         jump  begin:  * delete empty lines
  844. *      next:   CursorDown      jTrue begin:  * try next line
  845. *              jump done:                    *
  846. *      last:   DelLine                       * delete the last line
  847. *      done:                                 * that's all, folks!
  848.