home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / editors / qedcmds.arj / COMMANDS.QED
Text File  |  1991-09-10  |  58KB  |  1,526 lines

  1. This file contains a description for each of the QEdit commands, up
  2. through the most recent version (2.15, 09-04-91).  All commands
  3. documented in read.me files over the last several releases are included.
  4.  
  5. Where appropriate, the default key assignments are provided.
  6. Additionally, <Esc> sequences are given for those commands which can
  7. be accessed through the "Pop-Down" menus.
  8.  
  9. I have this file hooked to a key in QEdit so I can search for things
  10. forgotten as needed.  My macro (in qconfig.dat) for this is:
  11.    @q   MacroBegin EditFile "c:\qedit\commands.qed" Return Find
  12.         Pause Return "I" Return  [all on one line]
  13. Offered by J. McKearney, Sept 11, 1991
  14. ========================================================================
  15.  
  16. AddLine             <F2> or <Esc><E><A>
  17. -------------------------------------------------------------------------
  18.  
  19. Adds a blank line after the cursor line, placing the cursor on the
  20. newly created line.  The cursor column does not change.
  21.  
  22.  
  23. Align
  24. -------------------------------------------------------------------------
  25.  
  26. Aligns the text on the cursor line with the text on the line
  27. immediately before the cursor line and then positions the cursor on
  28. the next line.  The cursor column does not change.  If the cursor is
  29. on line one, or the previous line is blank, or the cursor line is
  30. blank, this command will only move the cursor to the next line.
  31.  
  32.  
  33. AltWordSet
  34. -------------------------------------------------------------------------
  35. Instructs QEdit to recognize an alternate set of characters as "word"
  36. characters.
  37.  
  38. By default, QEdit considers the following characters to be "word"
  39. characters: '0' thru '9', 'A' thru 'Z', 'a' thru 'z', and '_'.  All
  40. other characters are considered word delimiters.
  41.  
  42. QEdit also has an alternate word set that can be installed, using this
  43. command. AltWordSet adds the following characters to the default word
  44. set:  \ ! # $ % & ' ( ) , - . / @ { } ~.  (Currently, AltWordSet is used
  45. in the "edit filename at cursor" macro.)
  46.  
  47. The default word set can be re-installed by executing the DefaultWordSet
  48. command.
  49.  
  50. AppendScrbuff       <Ctrl BA>
  51. -------------------------------------------------------------------------
  52.  
  53. Appends the currently marked Block to the end of the named Scratch
  54. Buffer.  The existing contents of the named Scratch Buffer are not
  55. lost. If the named Scratch Buffer does not exist, a new Scratch
  56. Buffer will be created.
  57.  
  58.  
  59. [AsciiChart]
  60. ------------------------------------------------------------------------
  61.  Displays a scrollable ASCII chart on the screen.
  62.  
  63.  
  64. Backspace           <Backspace>
  65. -------------------------------------------------------------------------
  66.  
  67. If Insert mode is ON:
  68.  Deletes the character to the left of the cursor.  The text to the
  69.  right of, and including the cursor position, shifts left one
  70.  position. If the cursor is in column one, the cursor line is
  71.  appended to the end of the preceding line.
  72.  
  73. If Insert mode is OFF:
  74.  Deletes the character to the left of the cursor.  The text to the
  75.  right of the cursor does NOT close in or shift.  If the cursor is
  76.  in column one, however, the cursor line will still be appended to
  77.  the end of the previous line.
  78.  
  79.  
  80. BegFile             <Ctrl PgUp>
  81. -------------------------------------------------------------------------
  82.  
  83. Positions the cursor at column one on the first line of the current
  84. file.
  85.  
  86.  
  87. BegLine             <Home>
  88. -------------------------------------------------------------------------
  89.  
  90. Positions the cursor at column one of the current cursor line.
  91.  
  92.  
  93. BegScreen           <Ctrl Home>
  94. -------------------------------------------------------------------------
  95.  
  96. Positions the cursor at the top line of the current window.  The
  97. cursor column does not change.
  98.  
  99.  
  100. [CenterLine]                  <^OT>
  101. ------------------------------------------------------------------------
  102. If the cursor is inside a column block, the lines encompassed by the
  103. block are centered using the left and right columns of the block as
  104. the margins.
  105.  
  106. If the cursor is inside a line block, the lines encompassed by the
  107. block are centered using column 1 and the right margin as the margins.
  108.  
  109. Otherwise, the line the cursor is on is centered, using column 1 and
  110. the right margin as the margins.
  111.  
  112.  
  113. ChangeFilename      <Alt O> or <Alt F><C> or <Esc><F><C>
  114. -------------------------------------------------------------------------
  115.  
  116. Changes the name of the current file.  QEdit will prompt for the new
  117. name.  If the file already exists, you will be required to confirm
  118. that you still want to rename the file.  The current file is marked
  119. as being a changed file.  (An asterisk will appear on the Status
  120. Line preceding the filename.)  This command will have no effect on
  121. disk files, until the renamed file is saved.
  122.  
  123.  
  124. CloseWindow         <Ctrl OC> or <Esc><W><C>
  125. -------------------------------------------------------------------------
  126.  
  127. Closes the current window, unless it is the only window which is
  128. open, in which case the command has no effect.
  129.  
  130.  
  131. Copy                <grey +>
  132. -------------------------------------------------------------------------
  133.  
  134. Copies the marked Block into the Scrap Buffer.  The Block is then
  135. unmarked.  If no Block is marked, the cursor line is copied into the
  136. Scrap Buffer.  The copying of the cursor line, when a Block is not
  137. marked, is configurable.  Refer to the "Advanced Options" section of
  138. Chapter 2 for more information.
  139.  
  140.  
  141. CopyBlock           <Alt C> or <Esc><B><C>
  142. -------------------------------------------------------------------------
  143.  
  144. Copies the marked Block to the cursor position.  If the Block is a
  145. character Block (created using the DropAnchor, MarkCharacter, or
  146. MarkBlockBegin/End commands) or a column Block (created using the
  147. MarkColumn command), the Block is inserted into the text beginning at
  148. the current cursor position. If the Block is a line Block (created using
  149. the MarkLine command), it is inserted before or after the current cursor
  150. line, depending on the configuration setting (Refer to the "General
  151. Options" section of Chapter 2 for more information).  The Block remains
  152. marked.  Blocks may be copied from one file to another.
  153.  
  154.  
  155. CopyOverBlock       <Alt Z>
  156. -------------------------------------------------------------------------
  157. Copies the currently marked column Block and places it at the
  158. current cursor position by overlaying existing text and without
  159. shifting text to the right.  This command only works with column
  160. Blocks.  The Block remains marked.  Blocks may be "copied over" from
  161. one file to another.
  162.  
  163.  
  164. CurrentFilename
  165. -------------------------------------------------------------------------
  166.  
  167. Returns the name of the currently edited file, as if it had been
  168. typed at the keyboard.  This command is useful for manipulation of
  169. files from within macros.  It may only be used in response to QEdit
  170. prompting for a filename.
  171.  
  172.  
  173. CursorDown          <Cursor Down>
  174. -------------------------------------------------------------------------
  175.  
  176. Moves the cursor downward in the file to the next line.
  177.  
  178.  
  179. CursorLeft          <Cursor Left>
  180. -------------------------------------------------------------------------
  181.  
  182. Moves the cursor one character to the left.  When the cursor reaches
  183. the left edge of the screen, it stops, unless the text has been
  184. scrolled left, in which case the text scrolls right one position.
  185.  
  186.  
  187. CursorRight         <Cursor Right>
  188. -------------------------------------------------------------------------
  189.  
  190. Moves the cursor one character to the right.  When the cursor
  191. reaches the right end of the screen, the text starts scrolling left
  192. until the cursor reaches the maximum line length.
  193.  
  194.  
  195. CursorUp            <Cursor Up>
  196. -------------------------------------------------------------------------
  197.  
  198. Moves the cursor upward in the file to the previous line.
  199.  
  200.  
  201. Cut                 <grey ->
  202. -------------------------------------------------------------------------
  203.  
  204. Copies the marked Block into the Scrap Buffer.  The Block is then
  205. deleted from the file being edited.  If no Block is marked, the
  206. cursor line is cut into the Scrap Buffer.  The cutting of the cursor
  207. line, when a Block is not marked, is configurable.  Refer to the
  208. "Advanced Options" section of Chapter 2 for more information.
  209.  
  210.  
  211. DefaultWordSet
  212. ------------------------------------------------------------------------
  213. Re-installs the default editor word set.  See the AltWordSet command for
  214. a description of editor "word" characters.
  215.  
  216.  
  217. DelCh               <Del>
  218. -------------------------------------------------------------------------
  219.  
  220. Deletes the character at the current cursor position.  The line to
  221. the right of the cursor shifts left one position.  If the cursor
  222. position is past the last character on the line, the next line is
  223. appended to the cursor line.  The "joining" of the next line when
  224. the cursor is past the last character on the line is configurable.
  225. Refer to the "General Options" section of Chapter 2 for more
  226. information.
  227.  
  228.  
  229. DeleteBlock         <Alt G> or <Esc><B><D>
  230. -------------------------------------------------------------------------
  231.  
  232. Deletes the currently marked character or line Block.  If there is
  233. not a Block marked in the current file, this command has no effect.
  234.  
  235. Use the Cut command to delete a column Block.
  236.  
  237.  
  238. DelLine             <Alt D> or <Esc><E><D>
  239. -------------------------------------------------------------------------
  240.  
  241. Deletes the cursor line.  The line following the cursor line becomes
  242. the new cursor line.
  243.  
  244.  
  245. DelLtWord           <Ctrl Backspace>
  246. -------------------------------------------------------------------------
  247.  
  248. Deletes the "word" to the left of the cursor.  If the cursor is in
  249. column one, the cursor line is appended to the end of the preceding
  250. line.
  251.  
  252.  
  253. DelRtWord           <Ctrl T>
  254. -------------------------------------------------------------------------
  255.  
  256. Deletes the "word" to the right of the cursor.  If the cursor
  257. position is past the last character on the line, the next line is
  258. appended to the cursor line.
  259.  
  260.  
  261. DelToEol            <F6> or <Esc><E><E>
  262. -------------------------------------------------------------------------
  263.  
  264. Deletes text on the cursor line, from the cursor position to the end
  265. of line.
  266.  
  267.  
  268. Dos                 <Alt F9>
  269. -------------------------------------------------------------------------
  270.  
  271. QEdit prompts for a command, which is passed to DOS for execution.
  272. After the command is executed by DOS, control is returned to QEdit.
  273. If you want to execute a series of commands in DOS, you should use
  274. the Shell command, described later in this chapter.
  275.  
  276. +---------------------------------+
  277. | QEdit Tip:                      |
  278. |   You should NOT execute any    |
  279. |   TSR (terminate and stay       |
  280. |   resident) programs here.      |
  281. |   These include the DOS print   |
  282. |   and graph commands and        |
  283. |   memory-resident programs      |
  284. |   such as Sidekick and Superkey.|
  285. +---------------------------------+
  286.  
  287.  
  288. DropAnchor          <Alt A>
  289. -------------------------------------------------------------------------
  290.  
  291. This command is used to mark a character Block.  Initially executing
  292. this command will mark one end of a Block at the cursor position.
  293. As the cursor is moved, the Block will "grow" with it.  Executing
  294. this command again will mark the other end of the Block at the
  295. cursor position.  If DropAnchor is executed in a file that already
  296. contains a character Block, the Block is extended to the current
  297. cursor position.
  298.  
  299.  
  300. DupLine             <F4>
  301. -------------------------------------------------------------------------
  302.  
  303. Makes a copy of the current cursor line and inserts the copy
  304. immediately following the cursor line.  The cursor is moved to the
  305. new line.
  306.  
  307.  
  308. EditFile            <Alt E> or <Alt F><L> or <Esc><F><L>
  309. -------------------------------------------------------------------------
  310.  
  311. The editor prompts for the name(s) of the additional file(s) to be
  312. edited.  Wildcard characters (* or ?) are permissible, as are
  313. multiple filenames.  The editor will not load multiple copies of the
  314. same file.  If you issue the EditFile command using the name of a
  315. file that has already been loaded, QEdit will simply make that file
  316. the current file.
  317.  
  318.  
  319. EndFile             <Ctrl PgDn>
  320. -------------------------------------------------------------------------
  321.  
  322. Positions the cursor on the last line of the file immediately
  323. following the last non-blank character.  If the last line of the
  324. file is blank, the cursor is positioned in column one.
  325.  
  326.  
  327. EndLine             <End>
  328. -------------------------------------------------------------------------
  329.  
  330. Positions the cursor immediately following the last non-blank
  331. character on the cursor line.
  332.  
  333.  
  334. EndPara
  335. ------------------------------------------------------------------------
  336. Positions the cursor just past the last character of the current
  337. paragraph.
  338.  
  339. EndScreen           <Ctrl End>
  340. -------------------------------------------------------------------------
  341.  
  342. The cursor is positioned on the last line of the current window.  The
  343. cursor column does not change.
  344.  
  345.  
  346. Escape              <Esc>
  347. -------------------------------------------------------------------------
  348.  
  349. If executed while editing, the "Pop-Down" menus are displayed.
  350. Otherwise, this command aborts any editor prompt.
  351.  
  352.  
  353. ExecuteScrap        <Ctrl Enter>
  354. -------------------------------------------------------------------------
  355.  
  356. Plays back the latest macro that was created using the MacroRecord
  357. command.
  358.  
  359.  
  360. Exit                <Ctrl KD>
  361. -------------------------------------------------------------------------
  362.  
  363. Conditionally discards the current file.  If the file has not been
  364. modified, the file is discarded without prompting.  If the file has
  365. been modified, the editor prompts with "Save Changes (Y/N)?".
  366. Pressing <Y> will save and then discard the file.  Pressing <N> will
  367. discard the file without saving any changes.
  368.  
  369. QEdit can be configured, when only a single file is being edited and
  370. the Exit command is issued, to either terminate or prompt for
  371. another file to edit.  Refer to the "General Options" section of
  372. Chapter 2 for more information.
  373.  
  374.  
  375. File                <Ctrl KX> or <Alt F><F> or <Esc><F><F>
  376. -------------------------------------------------------------------------
  377.  
  378. Saves and then discards the current file.
  379.  
  380. QEdit can be configured, when only a single file is being edited and
  381. the File command is issued, to either terminate or prompt for
  382. another file to edit.  Refer to the "General Options" section of
  383. Chapter 2 for more information.
  384.  
  385.  
  386. [FillBlock]                   <^KL>
  387. -----------------------------------------------------------------------
  388. The user is prompted for a character with which to fill the block.
  389. With this command, you can now use the following macro to move a
  390. block, and blank fill the space used by the block, instead of the
  391. text closing in around the block.  The macro assumes a block is
  392. already marked.  The block will be [Cut] to the clipboard or system
  393. scrap buffer.  You can then insert the block where you like by
  394. pressing the [Paste] key <Grey *>:
  395.  
  396. f10 MacroBegin GotoBlockBeg Cut Paste FillBlock ' ' Return UnmarkBlock
  397.  
  398. Choose a key (<f10> in the above example), and assign this macro to it
  399. in the QCONFIG.DAT file. Run QCONFIG, configure the keyboard, and you
  400. now have a "copy with wipe" command!
  401.  
  402.  
  403. Find                <Ctrl QF> or <Esc><S><F>
  404. -------------------------------------------------------------------------
  405.  
  406. Searches for a specified string of characters within the current
  407. file. The User is prompted for a search string and search options.
  408. Available search options are:
  409.  
  410.       [I] Ignore the case of the search string.
  411.       [W] Search for whole words only.
  412.       [B] Search backwards from the current cursor position.
  413.  
  414.  
  415. FindReplace         <Ctrl QA> or <Esc><S><R>
  416. -------------------------------------------------------------------------
  417.  
  418. Searches and replaces strings within the current file.  The User is
  419. prompted for a search string, a replace string, and options.
  420. Available options are:
  421.  
  422.       [I] Ignore the case of the search string.
  423.       [W] Search for whole words only.
  424.       [B] Search backwards from the current cursor position.
  425.       [N] Find and replace without prompting.
  426.  
  427. At every occurrence of the search string in the file, the User is
  428. given the following replace options.
  429.  
  430.       [Y] Replace the search string with the replace string and
  431.           continue on to the next occurrence of the search string.
  432.       [N] Do not make any changes but continue on to the next
  433.           occurrence of the search string.
  434.       [O] Replace the search string with the replace string and
  435.           then terminate the FindReplace process.
  436.       [G] Replace the search string with the replace string for
  437.           this and all occurrences throughout the file without
  438.           any further prompting.
  439.       [Q] Terminate the FindReplace process.
  440.  
  441.  
  442. [FirstNonWhite]
  443. --------------------------------------------------------------------------
  444.  Intended as a replacement and/or supplement to the [BegLine] command.
  445.  Places the cursor at the first non-white character on the line, or
  446.  column 1 if the line doesn't have any non-white characters. "White"
  447.  characters are tabs or spaces. A useful macro would be:
  448.  
  449.       Home MacroBegin BegLine JTrue done: FirstNonWhite done:
  450.  
  451.  (Explanation: If already at the start of a line, go to the first
  452.  non-white character on the line; otherwise, if not already at the start
  453.  of a line, go to the start of the line.
  454.  
  455.  
  456. Flip                            <Alt 3>
  457. -----------------------------------------------------------------------
  458. Changes the case of a character or Block of characters.  If the cursor
  459. is in a marked Block, all characters in the Block are "reversed":  lower
  460. case characters are changed to upper case, and upper case characters are
  461. changed to lower case.  If the cursor is not in a marked Block, only the
  462. character at the current cursor location is reversed.
  463.  
  464.  
  465. GetPrev             <Ctrl - (dash)>
  466. -------------------------------------------------------------------------
  467.  
  468. Duplicates the character immediately above the cursor at the cursor
  469. position.
  470.  
  471.  
  472. GetScrbuff          <Ctrl BL>
  473. -------------------------------------------------------------------------
  474.  
  475. Inserts the contents of the named Scratch Buffer at the cursor
  476. position. Refer to the "Block Commands" section of Chapter 1 for
  477. more information.
  478.  
  479.  
  480. GExit               <Alt X> or <Alt Q><X> or <Esc><Q><X>
  481. -------------------------------------------------------------------------
  482.  
  483. Issues the Exit command for all files that have been loaded.  If no
  484. files have been modified, this command immediately terminates the
  485. editor and returns control to DOS.  If any files have been modified
  486. you are prompted with "Save Changes (Y/N)?" for each modified file.
  487.  
  488. For example, if you have ten files loaded and two of them have been
  489. modified, then you will be prompted to save changes twice, once for
  490. each modified file.
  491.  
  492.  
  493. GFile               <Alt F><G> or <Esc><F><G>
  494. -------------------------------------------------------------------------
  495.  
  496. Instructs the editor to discard all files which have been loaded.
  497. Any files which have been modified will be saved.
  498.  
  499. If no files have been changed, this command immediately terminates
  500. the editor and returns control to DOS.
  501.  
  502.  
  503. GotoBlockBeg        <Ctrl QB>
  504. -------------------------------------------------------------------------
  505.  
  506. Positions the cursor at the beginning of the currently marked Block.
  507. If the Block is in a file other than the current file, the file
  508. containing the Block becomes the new current file.
  509.  
  510.  
  511. GotoBlockEnd        <Ctrl QK>
  512. -------------------------------------------------------------------------
  513.  
  514. Positions the cursor at the end of the currently marked Block. If
  515. the Block is in a file other than the current file, the file
  516. containing the Block becomes the new current file.
  517.  
  518.  
  519. GotoColumn
  520. -------------------------------------------------------------------------
  521. Prompts for a column number, and positions the cursor at that column on
  522. the current line.
  523.  
  524.  
  525. GotoLine            <Ctrl J>
  526. -------------------------------------------------------------------------
  527.  
  528. Positions the cursor at the requested line.  The editor will prompt
  529. for the desired line number.
  530.  
  531.  
  532. GPQuit              <F3> or <Alt Q><Q> or <Esc><Q><Q>
  533. -------------------------------------------------------------------------
  534.  
  535. Issues the PQuit command for all files that have been loaded.
  536.  
  537.  
  538. GrowWindow          <Ctrl OG> or <Esc><W><G>
  539. -------------------------------------------------------------------------
  540.  
  541. Increases the size of the current window if there are multiple
  542. windows on the screen.  The editor will prompt for the direction in
  543. which to increase the size.  The ShrinkWindow command can be
  544. executed from this prompt to decrease the window size.
  545.  
  546.  
  547. GSave               <Alt Y>
  548. -------------------------------------------------------------------------
  549.  
  550. Issues the SaveFile command for all files that have been modified.
  551.  
  552.  
  553. HalfPgDn
  554. -------------------------------------------------------------------------
  555.  
  556. Scrolls the text toward the end of the file one-half page.
  557.  
  558.  
  559. HalfPgUp
  560. -------------------------------------------------------------------------
  561.  
  562. Scrolls the text toward the beginning of the file one-half page.
  563.  
  564.  
  565. HorizontalWindow    <Ctrl OH> or <Esc><W><S>
  566. -------------------------------------------------------------------------
  567.  
  568. Splits the screen or current window horizontally, creating a new
  569. window.  Up to eight windows may be displayed on the screen at one
  570. time.
  571.  
  572.  
  573. InsertDate
  574. -------------------------------------------------------------------------
  575.  
  576. Inserts the system date at the current cursor position.
  577.     
  578.  
  579. InsertLine          <Alt F2> or <Esc><E><I>
  580. -------------------------------------------------------------------------
  581.  
  582. Inserts a blank line above the cursor line and positions the cursor
  583. on the newly created line.  The cursor column does not change.
  584.  
  585.  
  586. InsertTime
  587. -------------------------------------------------------------------------
  588. Inserts the system time at the current cursor position.
  589.  
  590.  
  591. [isBegLine]
  592. -------------------------------------------------------------------------
  593.  Returns TRUE if the cursor is at column 1; otherwise, FALSE is
  594.  returned.
  595.  
  596. [isEndLine]
  597. -------------------------------------------------------------------------
  598.  Returns TRUE if the cursor is past the last non-white character on
  599.  the current line; otherwise, FALSE is returned, including the case
  600.  when the cursor is on an empty line.
  601.  
  602. [isEmptyLine]
  603. -------------------------------------------------------------------------
  604.  Returns TRUE if the current line is empty or contains only white
  605.  space; otherwise, FALSE is returned.
  606.  
  607. [isLastLine]
  608. -------------------------------------------------------------------------
  609.  Returns TRUE if the cursor is on the last line of the currently
  610.  edited file; otherwise, FALSE is returned.
  611.  
  612. [isFirstLine]
  613. -------------------------------------------------------------------------
  614.  Returns TRUE if the cursor is on the first line of the currently
  615.  edited file; otherwise, FALSE is returned.
  616.  
  617. [isCursorInBlock]
  618. -------------------------------------------------------------------------
  619.  Returns TRUE if the cursor is inside a marked block; otherwise, FALSE
  620.  is returned.
  621.  
  622.  
  623. JoinLine            <Alt J> or <Esc><E><J>
  624. -------------------------------------------------------------------------
  625.  
  626. Joins the line below the cursor line to the end of the cursor line.
  627. If the cursor is past the end of the line, then the line is joined
  628. at the cursor position.
  629.  
  630.  
  631. [JTrue], [JFalse] and [Jump] commands.
  632. -----------------------------------------------------------------------
  633. These commands are intended for macro use. All QEdit commands set an
  634. internal QEdit result code of "True" if they executed successfully, or
  635. "False" if they did not.  The [JTrue] and [JFalse] commands can be
  636. used to take advantage of that fact. [Jump] is just an unconditional
  637. jump. You can also define labels for branching, in the format
  638. "label:". The maximum label length is 15 characters.  For Example:
  639.  
  640. A command to delete from the cursor position to the beginning of the
  641. line, assigned to the f10 key:
  642.  
  643. f10 MacroBegin
  644.     begin:
  645.       CursorLeft
  646.       JFalse done:
  647.       DelCh
  648.       Jump begin:
  649.     done:
  650.  
  651. This MUST all occur on ONE LINE in your QCONFIG.DAT file.
  652.  
  653.  
  654. KillFile            <Ctrl KZ>
  655. -------------------------------------------------------------------------
  656.  
  657. Erases the currently edited file from disk.  The file remains loaded
  658. in the editor and is marked as being a changed file.  (An asterisk
  659. will appear on the Status Line preceding the filename.)  This
  660. command is very useful when available disk space is low.
  661.  
  662.  
  663. LineDown
  664. -------------------------------------------------------------------------
  665.  
  666. Scrolls the text one line at a time toward the end of the file.  The
  667. cursor remains stationary on the screen.
  668.  
  669.  
  670. LineUp
  671. -------------------------------------------------------------------------
  672.  
  673. Scrolls the text one line at a time toward the beginning of the
  674. file.  The cursor remains stationary on the screen.
  675.  
  676.  
  677. [ListFiles]
  678. ------------------------------------------------------------------------
  679.  Displays a list of the currently loaded files. To switch to another
  680.  file, move the cursor to the appropriate file and press <Enter>. To
  681.  keep editing the current file, press <Escape>.
  682.  
  683.  
  684. Literal             <Ctrl P>
  685. -------------------------------------------------------------------------
  686.  
  687. Causes the editor to literally interpret the keystroke that is
  688. entered immediately following this command.  It is used to insert
  689. control characters into the currently edited file.  For example, to
  690. insert the ASCII form-feed character (ASCII 12), you would first
  691. press <Ctrl P> then <Ctrl L>.  To insert a "null" character into the
  692. file, press <Ctrl P> and then <Ctrl 2>.  (Note: The "2" must be the
  693. "2" key on the alphanumeric keyboard, NOT the key on the numeric
  694. keypad.)  Refer to the "Adding Text" section of Chapter 1 for more
  695. information.
  696.  
  697.  
  698. Lower                           <Alt 2>
  699. -------------------------------------------------------------------------
  700. Converts a character or Block of characters to lower case.  If the
  701. cursor is in a marked Block, the entire Block is converted to lower
  702. case; otherwise, only the character at the current cursor location is
  703. converted.
  704.  
  705. MacroRead           <Esc> <M><R>
  706. -------------------------------------------------------------------------
  707.  
  708. Loads the named macro file, with all macros contained therein, from
  709. disk into the editor's internal macro buffer.  The macros are
  710. assigned to the keys exactly as they were originally recorded and
  711. saved.  The editor prompts the User for the name of the file.
  712.  
  713.  
  714. MacroRecord         <Ctrl M> or <Esc><M><M>
  715. -------------------------------------------------------------------------
  716.  
  717. Toggles (ON and OFF) macro recording.  If macro recording is OFF,
  718. this will turn macro recording ON and prompt for a key to which to
  719. assign the macro.  After pressing the desired key (see Appendix B
  720. for a list of available keys), all following keystrokes are recorded
  721. until the MacroRecord key is pressed again.  After the macro has been
  722. recorded, it can be played back by pressing the key to which the
  723. macro was assigned.
  724.  
  725. Instead of assigning a macro to a specific key, it can be assigned
  726. to a "scrap" or temporary area by simple pressing <Enter> at the
  727. prompt.  A macro assigned to the scrap area may be played back by
  728. entering the ExecuteScrap <Ctrl Enter> command.  The scrap area
  729. will be updated each time the MacroRecord command is executed.
  730.  
  731.  
  732.  
  733. MacroWrite          <Esc> <M><W>
  734. -------------------------------------------------------------------------
  735.  
  736. Saves all currently defined macros to a binary disk file.  The
  737. editor prompts for the name of the file.
  738.  
  739.  
  740.  
  741. MainMenu            <Esc>
  742. -------------------------------------------------------------------------
  743.  
  744. Activates the "Pop-Down" style menu system.  Many of the editor's
  745. commands can be executed via the menus.
  746.  
  747.  
  748. MakeBotofScreen
  749. -------------------------------------------------------------------------
  750.  
  751. Scrolls the text in the window so that the cursor line becomes the
  752. bottom line of the window.
  753.  
  754.  
  755. MakeCtrofScreen     <Shift F5>
  756. -------------------------------------------------------------------------
  757.  
  758. Scrolls the text in the window so that the cursor line becomes the
  759. center line of the window.
  760.  
  761.  
  762. MakeTopofScreen     <F5>
  763. -------------------------------------------------------------------------
  764.  
  765. Scrolls the text in the window so that the cursor line becomes the
  766. top line of the window.
  767.  
  768.  
  769. MarkBlockBegin      <Ctrl KB> or <Esc><B><B>
  770. -------------------------------------------------------------------------
  771.  
  772. Marks the beginning of a character Block.  The Block is not shown
  773. until the MarkBlockEnd command is executed at some position beyond
  774. the beginning position of the Block.  For an alternate method of
  775. marking character Blocks, refer to the DropAnchor and MarkCharacter
  776. commands.
  777.  
  778.  
  779. MarkBlockEnd        <Ctrl KK> or <Esc><B><E>
  780. -------------------------------------------------------------------------
  781.  
  782. Marks the end of a character Block.  The Block is not shown until
  783. the MarkBlockBegin command is also executed at some position before
  784. the end of the Block.  For an alternate method of marking character
  785. Blocks, refer to the DropAnchor and MarkCharacter commands.
  786.  
  787.  
  788. MarkCharacter
  789. -------------------------------------------------------------------------
  790. This command is used to mark a character Block.  It is similar to
  791. the DropAnchor command except the cursor position is NOT included as
  792. part of the Block.
  793.  
  794. This command is provided as a replacement for the DropAnchor command.
  795. If you want the cursor position included in character Blocks, then
  796. continue to use DropAnchor; otherwise, replace the DropAnchor command
  797. with this command.
  798.  
  799.  
  800. MarkColumn          <Alt K>
  801. -------------------------------------------------------------------------
  802. This command is used to mark a column Block.  Initially executing
  803. this command will mark the current cursor position.  As the cursor
  804. is moved, the Block will "grow".  Executing this command again will
  805. mark the other end of the Block at the current cursor position.  If
  806. MarkColumn is executed in a file that already contains a Block, the
  807. Block is extended to the current cursor position.
  808.  
  809.  
  810. MarkLine            <Alt L> or <Esc><B><L>
  811. -------------------------------------------------------------------------
  812.  
  813. This command is used to mark a line Block.  Initially executing this
  814. command will mark the current cursor line.  As the cursor is moved,
  815. the Block will "grow" with it line by line.  Executing this command
  816. again will mark the other end of the Block at the current cursor
  817. line.  If MarkLine is executed in a file that already contains a
  818. Block, the Block is extended to the current cursor line.
  819.  
  820.  
  821. MarkWord                        <Ctrl KT>
  822. ------------------------------------------------------------------------
  823. Marks, as a Block, the word at the current cursor location.  If the
  824. cursor is not located within a word, no Block is marked.
  825.  
  826.  
  827. Match               <Alt F3>
  828. -------------------------------------------------------------------------
  829.  
  830. Will find the corresponding "(", ")", "{", "}", "[", "]" character.
  831. This command is primarily intended for programming languages in
  832. which complicated expressions are grouped with one or more of these
  833. characters.  This command is very useful for finding unmatched
  834. parentheses.
  835.  
  836.  
  837. MoveBlock           <Alt M> or <Esc><B><M>
  838. -------------------------------------------------------------------------
  839.  
  840. Moves (copies and deletes) the currently marked Block to the cursor
  841. position.  If the Block is a character Block (created using the
  842. DropAnchor, MarkCharacter, or MarkBlockBegin/End commands) or a
  843. column Block (created using the MarkColumn command), the Block is
  844. inserted into the text beginning at the current cursor position.  If
  845. the Block is a line Block (created using the MarkLine command), it
  846. is inserted before or after the current cursor line, depending on
  847. the configuration setting  (Refer to the "General Options" section
  848. of Chapter 2 for more information).  The Block remains marked.
  849. Blocks may be moved from one file to another.
  850.  
  851.  
  852. NewFile
  853. -------------------------------------------------------------------------
  854. Issues the Exit and EditFile commands for the current file.
  855.  
  856.  
  857. NextFile            <Alt N> or <Alt F><N> or <Esc><F><N>
  858. -------------------------------------------------------------------------
  859.  
  860. Makes the next file in the ring the new current file when multiple
  861. files are loaded.
  862.  
  863. NextPara
  864. ------------------------------------------------------------------------
  865. Positions the cursor at the beginning of the next paragraph.
  866.  
  867.  
  868. NextWindow          <Ctrl ON> or <Esc><W><N>
  869. -------------------------------------------------------------------------
  870.  
  871. Makes the window below the current window the new current window.  If
  872. the current window is at the bottom of the screen, the top window on
  873. the screen will become the current window.
  874.  
  875.  
  876. OneWindow           <Ctrl OO> or <Esc><W><O>
  877. -------------------------------------------------------------------------
  878.  
  879. Closes all windows except the current window and expands it to
  880. occupy the entire screen.
  881.  
  882.  
  883. PageDown            <PgDn>
  884. -------------------------------------------------------------------------
  885.  
  886. Scrolls the text toward the end of the file, one page-full less one
  887. line, at a time.
  888.  
  889.  
  890. PageUp              <PgUp>
  891. -------------------------------------------------------------------------
  892.  
  893. Scrolls the text toward the top of the file, one page-full less one
  894. line, at a time.
  895.  
  896.  
  897.  
  898. Paste               <grey *>
  899. -------------------------------------------------------------------------
  900.  
  901. Inserts the contents of the Scrap Buffer at the cursor position.
  902. The Scrap Buffer is loaded using the Cut or Copy commands.  If the
  903. Scrap Buffer contains a character or column Block, it is inserted at
  904. the cursor position. If the Scrap Buffer contains a line Block, it
  905. is inserted before or after the cursor line depending on the
  906. configuration setting.  Refer to the "General Options" section of
  907. Chapter 2 for more information.
  908.  
  909.  
  910. PasteOver           <Ctrl PrtSc>
  911. -------------------------------------------------------------------------
  912. This is a Paste command for column Blocks.  It takes a column Block
  913. which has been loaded into the Scrap Buffer using the Cut or Copy
  914. commands and places it at the current cursor position by overlaying
  915. existing text and without shifting text to the right.
  916.  
  917.  
  918. Pause
  919. ------------------------------------------------------------------------
  920. Temporarily halts macro execution, until either Return or Escape is
  921. pressed. If Return is pressed, the macro resumes where it left off.  If
  922. Escape is pressed, the macro is terminated.  This command is provided to
  923. allow for input to macros.  In previous versions of QEdit, there was not
  924. a way to allow a macro to stop and wait for input from the user.  This
  925. command now makes user input possible.
  926.  
  927. The new Pause command makes certain types of macros now possible.
  928.  
  929. For example, suppose you wanted to create a "find" command that always
  930. searched forward, ignored case, and didn't prompt you for options.  In
  931. the QCONFIG.DAT file, assign to whatever key you like (<f7> in this
  932. example):
  933.  
  934.    f7 MacroBegin Find Pause Return 'i' Return
  935.  
  936. If you wanted to get really fancy, you could let <f7> be your
  937. find-forward, and <shift f7> be your find-backward:
  938.  
  939.    #f7 MacroBegin Find Pause Return 'ib' Return
  940.  
  941. Note that the Pause command "eats" the Return or Escape that terminates
  942. the pause mode.
  943.  
  944.  
  945. PQuit               <Ctrl KQ> or <Alt F><Q> or <Esc><F><Q>
  946. -------------------------------------------------------------------------
  947.  
  948. This command initiates a protected quit.  If the current file has
  949. not been modified, it is discarded.  If the current file has been
  950. modified, the User is warned that changes will be lost.  If multiple
  951. files are being edited, this command will make the previous file in
  952. the ring the new current file.
  953.  
  954. QEdit can be configured, when only a single file is being edited and
  955. the PQuit command is issued, to either terminate or prompt for
  956. another file to edit.  Refer to the "General Options" section of
  957. Chapter 2 for more information.
  958.  
  959.  
  960. PrevFile            <Ctrl KP> or <Alt F><P> or <Esc><F><P>
  961. -------------------------------------------------------------------------
  962.  
  963. Makes the previous file in the ring the new current file when
  964. multiple files are loaded.
  965.  
  966.  
  967. PrevPara
  968. -----------------------------------------------------------------------
  969. Positions the cursor at the beginning of the previous paragraph.
  970.  
  971.  
  972. PrevPosition        <Ctrl QP>
  973. -------------------------------------------------------------------------
  974.  
  975. Positions the cursor at the previous cursor position.  Very helpful
  976. when used with the GotoLine command.  The GotoLine line can be used
  977. to go directly to a certain area of the file.  The PrevPosition can
  978. then be used to return you to the original cursor position.
  979.  
  980.  
  981. PrevWindow          <Ctrl OP> or <Esc><W><P>
  982. -------------------------------------------------------------------------
  983.  
  984. Makes the window above the current window the new current window. If
  985. the current window is at the top of the screen, the bottom window on
  986. the screen will become the current window.
  987.  
  988.  
  989. PrintAll            <Alt P><A> or <Esc><P><A>
  990. -------------------------------------------------------------------------
  991.  
  992. Prints the entire contents of the current file.
  993.  
  994.  
  995. PrintBlock          <Alt P><B> or <Esc><P><B>
  996. -------------------------------------------------------------------------
  997.  
  998. Prints the entire contents of the marked Block.  The marked Block
  999. must be in the current file.
  1000.  
  1001.  
  1002. PrintEject          <Alt P><F> or <Esc><P><F>
  1003. -------------------------------------------------------------------------
  1004.  
  1005. Sends a formfeed character (ASCII 12) to the printer.
  1006.  
  1007.  
  1008. QuickHelp           <F1> or <Alt H>
  1009. -------------------------------------------------------------------------
  1010.  
  1011. Displays the Help Screen.  A Help Screen is provided with QEdit;
  1012. however, you may wish to design your own Help Screen.  For more
  1013. information, refer to the "The Help Screen" section of Chapter 2.
  1014.  
  1015.  
  1016. Quit
  1017. -------------------------------------------------------------------------
  1018.  
  1019. Unconditional quit.  The current file is discarded regardless of any
  1020. changes made to it.  This command is for those who do not like
  1021. software that "nags" you.  USE WITH CAUTION!
  1022.  
  1023.  
  1024. ReadBlock           <Alt R> or <Alt F><R> or <Esc><F><R>
  1025. -------------------------------------------------------------------------
  1026.  
  1027. Inserts the named disk file at the current cursor position.
  1028.  
  1029.  
  1030. [RepeatCmd]                   <^QQ>
  1031. ------------------------------------------------------------------------
  1032. Repeats the last executed command and/or macro "n" times.  You are
  1033. prompted for "n".  You can stop the repeating at any time by pressing
  1034. the <^Break> key.  If the result code from the command is FALSE, or if
  1035. a result code from any of the commands in the macro is FALSE,
  1036. repetition halts.
  1037.  
  1038. RepeatFind          <Ctrl L> or <Esc><S><A>
  1039. -------------------------------------------------------------------------
  1040.  
  1041. Repeats the previous Find or FindReplace command.
  1042.  
  1043.  
  1044. Return              <Enter>
  1045. -------------------------------------------------------------------------
  1046.  
  1047. The Return command behaves differently depending on Insert mode and
  1048. AutoIndent mode.
  1049.  
  1050. If Insert mode is OFF, the cursor is positioned at the first column
  1051. of the next line.
  1052. If Insert mode is ON, the current cursor line is split at the cursor
  1053. position and any text to the right of and including the cursor
  1054. position is placed on a new line following the current line.  If the
  1055. cursor is past the last character on the line, then a blank line is
  1056. added following the current line.  The cursor is then moved to the
  1057. first column of the new line.
  1058.  
  1059. If AutoIndent is ON, spaces are inserted ahead of the cursor
  1060. position to align it with the text on the previous line.
  1061.  
  1062. If AutoIndent is OFF, the text is moved to the beginning of the
  1063. next line.
  1064.  
  1065. The Return command can be configured to split or not to split lines
  1066. when Insert mode is ON.  Refer to the "Advanced Options" section of
  1067. Chapter 2 for more information.
  1068.  
  1069.  
  1070. SaveFile            <Ctrl KS> or <Alt F><S> or <Esc><F><S>
  1071. -------------------------------------------------------------------------
  1072.  
  1073. Saves to disk the file currently being edited.  The file remains
  1074. loaded, ready for further editing.
  1075.  
  1076.  
  1077. [SaveSettings]
  1078. -------------------------------------------------------------------------
  1079.  Saves the current settings of: Insert, AutoIndent, WordWrap, Sound,
  1080.  and Screen Updating.
  1081.  
  1082.  
  1083. [RestoreSettings]
  1084. -------------------------------------------------------------------------
  1085.  Restores the saved settings, listed above.
  1086.  
  1087.  
  1088.  
  1089. ScreenLeft          <Alt F5>
  1090. -------------------------------------------------------------------------
  1091.  
  1092. Shifts the screen to the left, the number of columns specified in
  1093. the configuration program.  Refer to the "Colors/Screen Options"
  1094. section of Chapter 2 for more information.
  1095.  
  1096.  
  1097. ScreenRight         <Alt F6>
  1098. -------------------------------------------------------------------------
  1099.  
  1100. Shifts the screen to the Right, the number of columns specified in
  1101. the configuration program.  Refer to the "Colors/Screen Options"
  1102. section of Chapter 2 for more information.
  1103.  
  1104.  
  1105. ScrollDown          <Ctrl Z>
  1106. -------------------------------------------------------------------------
  1107.  
  1108. Scrolls the text one line at a time toward the end of the file.  The
  1109. cursor remains on the same line of text until it reaches the top of
  1110. the screen.
  1111.  
  1112.  
  1113.  
  1114. ScrollUp            <Ctrl W>
  1115. -------------------------------------------------------------------------
  1116.  
  1117. Scrolls the text one line at a time toward the beginning of the
  1118. file.  The cursor remains on the same line of text until it reaches
  1119. the bottom of the screen.
  1120.  
  1121.  
  1122. SetCtabwidth        <Esc><O><C>
  1123. -------------------------------------------------------------------------
  1124.  
  1125. Sets the cursor tab width.  This is the width that is used when the
  1126. TabRt or TabLt commands are executed.
  1127.  
  1128.  
  1129. SetEGA25
  1130. -------------------------------------------------------------------------
  1131. Switches a monitor with an EGA or VGA card to 25-line mode.  This
  1132. command has no effect if the video card is not an EGA or VGA type.
  1133.  
  1134.  
  1135. SetEGA43
  1136. -------------------------------------------------------------------------
  1137. Switches a monitor with an EGA or VGA card to 43-line mode or
  1138. 50-line mode, respectively.  This command has no effect if the video
  1139. card is not an EGA or VGA type.
  1140.  
  1141.  
  1142. SetPrintLeftMargin  <Alt P><L> or <Esc><P><L>
  1143. -------------------------------------------------------------------------
  1144.  
  1145. Sets the number of spaces to be printed as a left margin at the
  1146. beginning of each line. The default is zero.
  1147.  
  1148.  
  1149. [SetPrintTopMargin]           <ESC><P><T>
  1150. [SetPrintBotMargin]           <ESC><P><O>
  1151. -------------------------------------------------------------------------
  1152. Set the top and bottom margins used when printing.  If QEdit's print
  1153. page size is set to 0, these commands have no effect.
  1154.  
  1155.  
  1156. SetPrintPageSize    <Alt P><P> or <Esc><P><P>
  1157. -------------------------------------------------------------------------
  1158.  
  1159. Sets the number of lines to be printed per page before sending a
  1160. formfeed.  A value of zero will allow continuous printing (no
  1161. formfeeds sent).
  1162.  
  1163.  
  1164. SetPtabwidth        <Esc><O><P>
  1165. -------------------------------------------------------------------------
  1166.  
  1167. Sets the Physical Tab Width.  This determines the width to which
  1168. physical tab characters found in files are expanded if Physical Tab
  1169. Expansion is set ON.  It also determines the number of spaces to be
  1170. used for Tabs Out mode.  Refer to the ToggleTabsExpand and
  1171. ToggleTabsOut commands in this chapter for more information.
  1172.  
  1173.  
  1174.  
  1175. SetRmargin          <Ctrl OR> or <Esc><O><R>
  1176. -------------------------------------------------------------------------
  1177.  
  1178. Sets the right margin for word-wrap and paragraph reformatting.
  1179. WordWrap mode is automatically switched ON whenever the right margin
  1180. is set using this command.
  1181.  
  1182.  
  1183. [SetInsMode]
  1184. ----------------------------------------------------------------------
  1185.  Sets Insert mode on. To set Insert mode off (that is, set overwrite
  1186.  mode on), do the following:
  1187.       SetInsMode ToggleInsert
  1188.  
  1189.  
  1190. [SetAutoIndentMode]
  1191. ---------------------------------------------------------------------
  1192.  Sets AutoIndent mode on. To set AutoIndent mode off, do the
  1193.  following:
  1194.       SetAutoIndentMode ToggleIndent
  1195.  
  1196.  
  1197. [SetWordWrapMode]
  1198. ----------------------------------------------------------------------
  1199.  Sets WordWrap mode on. To set WordWrap mode off, do the following:
  1200.       SetWordWrapMode ToggleWordWrap
  1201.  
  1202.  
  1203. [SetSoundOn]
  1204. ----------------------------------------------------------------------
  1205.  Sets sound on.
  1206.  
  1207.  
  1208. [SetSoundOff]
  1209. -----------------------------------------------------------------------
  1210.  Sets sound off.
  1211.  
  1212.  
  1213. [SetScreenOn]
  1214. ------------------------------------------------------------------------
  1215.  Turns screen updating on. Most macros execute dozens of QEdit
  1216.  commands, possibly hundreds of times. This can cause the screen to
  1217.  flash rapidly as the macro runs. Not only is this somewhat
  1218.  disconcerting to watch, it actully slows down the speed of some
  1219.  macros. The following commands allow you to temporarily suspend or
  1220.  resume screen updating, while a macro is running.
  1221.  
  1222.  
  1223. [SetScreenOff]
  1224. ----------------------------------------------------------------------
  1225.  Turns screen updating off. You must turn screen updating back on
  1226.  before your macro prompts for input, or if there is some output from
  1227.  the macro that you want displayed on the screen.
  1228.  
  1229.  NOTE: QEdit will AUTOMATICALLY turn screen updating back on when the
  1230.  macro is finished executing. Thus, it is not necessary to issue the
  1231.  SetScreenOff command at the end of the macro.
  1232.  
  1233.  
  1234.  
  1235.  
  1236. Shell               <F9> or <Alt F><O> or <Esc><F><O>
  1237. -------------------------------------------------------------------------
  1238.  
  1239. Invokes a DOS shell.  While in the shell, you can execute DOS and
  1240. other commands.  When you are ready to leave the shell, type
  1241. "exit <Enter>".  You will be back in QEdit, exactly where you
  1242. left off.
  1243.  
  1244. +---------------------------------+
  1245. | QEdit Tip:                      |
  1246. |   You should NOT execute any    |
  1247. |   TSR (terminate and stay       |
  1248. |   resident) programs here.      |
  1249. |   These include the DOS print   |
  1250. |   and graph commands and        |
  1251. |   memory-resident programs      |
  1252. |   such as Sidekick and Superkey.|
  1253. +---------------------------------+
  1254.  
  1255.  
  1256.  
  1257. ShiftLeft           <Shift F7>
  1258. -------------------------------------------------------------------------
  1259.  
  1260. Shifts the contents of the currently marked Block (or the cursor
  1261. line, if the cursor does not reside in a marked Block) one position
  1262. to the left.  If you issue this command when the leftmost
  1263. character(s) of the line(s) being shifted is in column 1, that
  1264. character(s) will be deleted to allow the remainder of the line to
  1265. shift left one position.
  1266.  
  1267.  
  1268. ShiftRight          <Shift F8>
  1269. -------------------------------------------------------------------------
  1270.  
  1271. Shifts the contents of the currently marked Block (or the cursor
  1272. line, if the cursor does not reside in a marked Block) one position
  1273. to the right.  If you issue this command when the rightmost
  1274. character(s) of the line(s) being shifted is in column 512, that
  1275. character(s) will be deleted to allow the remainder of the line to
  1276. shift right one position.
  1277.  
  1278.  
  1279. ShowEntryScreen     <Alt F10>
  1280. -------------------------------------------------------------------------
  1281.  
  1282. Displays the original DOS screen as it appeared upon initial
  1283. execution of the editor.  Pressing any key will return you to the
  1284. edit screen.
  1285.  
  1286.  
  1287. ShrinkWindow        <Ctrl OS> or <Esc><W><R>
  1288. -------------------------------------------------------------------------
  1289.  
  1290. Decreases the size of the current window, if there are multiple
  1291. windows on the screen.  The editor will prompt for the direction in
  1292. which to decrease the size.  The GrowWindow command can be executed
  1293. from this prompt to increase the window size.
  1294.  
  1295.  
  1296. Sort                            <Shift F3>
  1297. ------------------------------------------------------------------------
  1298. Sorts a group of lines using the currently marked column Block as the
  1299. key and the range of lines to be sorted.  This command is operational
  1300. only when there is just one window on the screen, and that window is not
  1301. zoomed.
  1302.  
  1303.  
  1304. SplitLine           <Alt S> or <Esc><E><S>
  1305. -------------------------------------------------------------------------
  1306.  
  1307. Splits the current cursor line at the cursor position.  Any text to
  1308. the right of and including the cursor position is placed on a new
  1309. line following the current line.  If the cursor is past the last
  1310. character on the line, then a blank line is added following the
  1311. current line. The cursor position does not change.
  1312.  
  1313.  
  1314. StoreScrbuff        <Ctrl BS>
  1315. -------------------------------------------------------------------------
  1316.  
  1317. Copies the currently marked Block to the named Scratch Buffer. The
  1318. editor will prompt for the name of the Scratch Buffer.  The contents
  1319. of all Scratch Buffers are lost when the editor is terminated.
  1320.  
  1321.  
  1322. TabLt               <Shift Tab>
  1323. -------------------------------------------------------------------------
  1324.  
  1325. Positions the cursor at the previous tab position, as defined by the
  1326. tab width.  If in Insert mode, the text to the right of, and
  1327. including the cursor position, also shifts left.
  1328.  
  1329.  
  1330. TabRt               <Tab>
  1331. -------------------------------------------------------------------------
  1332.  
  1333. Positions the cursor at the next tab position, as defined by the
  1334. cursor tab width.  If in Insert mode, the text to the right of, and
  1335. including the cursor position, also shifts right.
  1336.  
  1337.  
  1338. ToggleBakups        <Esc><O><B>
  1339. -------------------------------------------------------------------------
  1340.  
  1341. Toggles file backups ON and OFF.  If ON, QEdit will create a backup
  1342. file using the ".bak" file extension whenever a modified file is
  1343. saved.
  1344.  
  1345.  
  1346. ToggleBoxDraw       <Shift F1>
  1347. -------------------------------------------------------------------------
  1348.  
  1349. Toggles Box Drawing mode ON and OFF.  If ON, the cursor movement
  1350. keys (up, down, right, left) will "draw" lines in the text, both
  1351. up/down and right/left.  Very useful for creating charts and tables.
  1352.  
  1353. The letter "B" will appear on the Status Line when this mode is ON.
  1354.  
  1355.  
  1356. ToggleBoxType                   <Alt F1>
  1357. ------------------------------------------------------------------------
  1358. Allows changing of the box characters used in box drawing.
  1359.  
  1360. ToggleEGA43         <Ctrl F1>
  1361. -------------------------------------------------------------------------
  1362. Toggles an EGA monitor between 25-line and 43-line mode or a VGA
  1363. monitor between 25-line and 50-line mode.  This command has no
  1364. effect if the video card is not an EGA or VGA type.
  1365.  
  1366.  
  1367. ToggleEnterMatching <Esc><O><E>
  1368. -------------------------------------------------------------------------
  1369.  
  1370. Toggles EnterMatching mode ON and OFF.  If ON, the double quote,
  1371. parenthesis, and square bracket keys all automatically enter the
  1372. matching character when the left character is entered.  For example,
  1373. typing the '[' key automatically enters a ']' immediately following.
  1374.  
  1375.  
  1376. ToggleIndent        <Ctrl QI> or <Esc><O><A>
  1377. -------------------------------------------------------------------------
  1378.  
  1379. Toggles AutoIndent mode ON and OFF.  If ON, the cursor is positioned
  1380. at the current left margin whenever the <Enter> key is pressed.
  1381. The current left margin is determined by the first non-blank
  1382. character on the immediately preceding line.
  1383.  
  1384. Paragraph reformatting and word-wrapping will also use the current
  1385. left margin when AutoIndent mode is ON.
  1386.  
  1387. The letter "A" will appear on the Status Line when this mode is ON.
  1388.  
  1389.  
  1390. ToggleInsert        <Ins> or <Esc><O><I>
  1391. -------------------------------------------------------------------------
  1392.  
  1393. Toggles Insert mode ON and OFF.  If ON, text to the right of the
  1394. cursor on the cursor line is shifted whenever characters, spaces,
  1395. the Backspace command, the TabLt command, or the TabRt command is
  1396. entered.  Also, entering the Return command will cause a line split
  1397. at the current cursor position.
  1398.  
  1399. The letter "I" will appear on the Status Line when this mode is ON.
  1400.  
  1401.  
  1402. ToggleSmartTabs     <Ctrl QT>
  1403. -------------------------------------------------------------------------
  1404.  
  1405. Toggles Smart Tabs ON and OFF.  If ON, the TabRt and TabLt commands
  1406. will place the cursor beneath the beginning of the next (or
  1407. previous) word on the line immediately above the current cursor
  1408. line.  If the line immediately above the cursor line is blank, then
  1409. the cursor will not move.
  1410.  
  1411. Smart Tabs mode should NOT be set ON while C mode is ON.
  1412.  
  1413.  
  1414. [ToggleSwap]                  <ESC><O><S>
  1415. ------------------------------------------------------------------------
  1416. Toggles Expanded memory/Disk swapping for the [Dos] and [Shell]
  1417. commands.  This option can also be set via QCONFIG.
  1418.  
  1419. ToggleTabsExpand    <Alt V>
  1420. ------------------------------------------------------------------------
  1421.  
  1422. Toggles Physical Tab Expansion ON and OFF.  If ON, physical tab
  1423. characters (ASCII 9's) found in a file will be expanded into spaces
  1424. according to the Physical Tab Width set in the configuration
  1425. program.  If OFF, physical tabs will be displayed on the screen and a
  1426. physical tab character will be placed in the text each time the
  1427. TabRt command is entered.
  1428.  
  1429.  
  1430. ToggleTabsOut       <Alt I>
  1431. -------------------------------------------------------------------------
  1432.  
  1433. Toggles Tabs Out mode ON and OFF.  If ON, continuous spaces in a
  1434. line of text will be replaced with physical tabs (ASCII 9's)
  1435. according to the Physical Tab Width set in the configuration program.
  1436. Only spaces in edited lines are replaced with physical tabs. Spaces
  1437. falling between single or double quotes will not be replaced.
  1438.  
  1439.  
  1440. ToggleWordwrap      <Ctrl OW> or <Esc><O><W>
  1441. -------------------------------------------------------------------------
  1442.  
  1443. Toggles WordWrap mode ON and OFF.  If ON, the cursor, along with
  1444. the word currently being typed, will automatically advance to the
  1445. next line whenever a character is typed beyond the right margin.
  1446. The right margin can be permanently set using the configuration
  1447. program (refer to the "General Options" section of Chapter 2 for
  1448. more information) or temporarily changed using the SetRmargin
  1449. command.
  1450.  
  1451. The letter "W" will appear on the Status Line when this mode is ON.
  1452.  
  1453.  
  1454. UndoCursorline      <Ctrl QL>
  1455. -------------------------------------------------------------------------
  1456.  
  1457. Reverses any changes made to the current cursor line (except changes
  1458. made with the FindReplace command).  If the cursor has been moved
  1459. from the changed line or a file or window command is executed, the
  1460. changes cannot be undone.
  1461.  
  1462.  
  1463.  
  1464. UnKill              <Ctrl U> or <Esc><E><U>
  1465. -------------------------------------------------------------------------
  1466.  
  1467. Recovers the last deleted entry from the current file's Kill Buffer.
  1468. Deleted blocks and lines will be inserted immediately before the
  1469. current cursor line and deleted words will be inserted immediately
  1470. before the current cursor position.
  1471.  
  1472. The number of lines saved in the Kill Buffer may be set with the
  1473. configuration program.  Refer to the "General Options" section of
  1474. Chapter 2 for more information.
  1475.  
  1476.  
  1477. UnmarkBlock         <Alt U> or <Esc><B><U>
  1478. -------------------------------------------------------------------------
  1479.  
  1480. Unmarks the currently marked Block.
  1481.  
  1482.  
  1483. Upper                           <Alt 1>
  1484. ------------------------------------------------------------------------
  1485. Converts a character or Block of characters to upper case.  If the
  1486. cursor is in a marked Block, the entire Block is converted to upper
  1487. case; otherwise, only the character at the current cursor location is
  1488. converted.
  1489.  
  1490. WordLeft            <Ctrl Cursor Left>
  1491. -------------------------------------------------------------------------
  1492.  
  1493. Positions the cursor at the first character of the previous word.
  1494.  
  1495.  
  1496. WordRight           <Ctrl Cursor Right>
  1497. -------------------------------------------------------------------------
  1498.  
  1499. Positions the cursor at the first character of the following word.
  1500.  
  1501.  
  1502. WrapPara            <Alt B>
  1503. -------------------------------------------------------------------------
  1504.  
  1505. Reformats text from the current cursor position until a blank line
  1506. or end of file is encountered.  If AutoIndent is ON, the line below
  1507. the cursor line is used for the left margin.  Otherwise, a left
  1508. margin of zero is used.  The right margin is determined by the
  1509. configuration program or the SetRmargin command.
  1510.  
  1511.  
  1512. WriteBlock          <Alt W> or <Alt F><W> or <Esc><F><W>
  1513. -------------------------------------------------------------------------
  1514.  
  1515. Writes the currently marked Block to the named file.  The editor
  1516. will prompt for the name of the file.
  1517.  
  1518.  
  1519. ZoomWindow          <Ctrl OZ> or <Esc><W><Z>
  1520. -------------------------------------------------------------------------
  1521.  
  1522. Toggles Zoom mode ON and OFF.  If there are multiple windows on the
  1523. screen, entering the ZoomWindow command will cause the current
  1524. window to fill the entire screen.  Pressing ZoomWindow again
  1525. restores the other windows to the screen.
  1526.