home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / pct2_2.zip / PCTDOC1.EXE / lha / CHAP14.TXT < prev    next >
Text File  |  1989-04-21  |  17KB  |  449 lines

  1.        subject: HIGHLIGHTING   (Marking Areas)
  2.  
  3.       overview: Highlighting is the process of marking the extremities
  4.                 of an area of interest within a file you are editing.
  5.                 Once an area has been highlighted, numerous operations
  6.                 may be performed on the highlighted area with the
  7.                 "Highlight Options" menu reached by pressing F8 or
  8.                 "(A)rea options" of the Main Menu.
  9.  
  10.                 When you become adept with PC-Type II, you will probably
  11.                 opt most of the time to highlight areas with the
  12.                 keystrokes Ctrl L, Ctrl B, Ctrl S and Ctrl V.
  13.                 However, all highlighting operations may be performed
  14.                 from the "Highlight Marks" menu shown below.  This
  15.                 menu is displayed when you press F7 or select the
  16.                 "(H)ighlight" option from the Main Menu.
  17.  
  18.                 ┌─────────────────┐
  19.                 │Highlight Marks: │  page
  20.                 ╞═════════════════╪═══════
  21.                 │(B)lock mark     │   172
  22.                 │(L)ine mark      │   173
  23.                 │(M)ark sentence  │   174
  24.                 │(P)aragraph      │   175
  25.                 │(S)entence       │   176
  26.                 │(W)ord           │   177
  27.                 │(U)nmark area    │   178
  28.                 │e(X)it           │<-- Exit Highlight Marks menu
  29.                 └─────────────────┘
  30.  
  31.                 In the discussion which follows, each of these options
  32.                 in the menu will be described.
  33.  
  34.                 There are three distinct highlight types:
  35.  
  36.                 (1) Line     (Ctrl L)
  37.                 (2) Block    (Ctrl B)
  38.                 (3) Sentence (Ctrl S)
  39.  
  40.                 In practice, you usually invoke a highlight type twice
  41.                 to mark the extremities of the area of interest.  When
  42.                 the first highlight is selected, the letter L, B, or S
  43.                 will flash in the upper left corner of your screen.
  44.                 The flashing indicates that the area of interest may
  45.                 not be fully defined.  The second time the keystroke
  46.                 is pressed, the flashing will stop.  The letter will
  47.                 remain visible until an operation is performed on the
  48.                 area or the highlighting is turned off.
  49.  
  50.                 You may correct the definition of the area of interest
  51.                 by pressing a highlighting keystroke more than twice,
  52.                 and you may change the type of highlighting by
  53.                 pressing a different highlighting keystroke without
  54.                 removing the highlighting and starting over.
  55.  
  56.                                  167
  57.   (B)lock mark: Block highlighting is column oriented.  Selecting
  58.                 this option (or pressing Ctrl B) in the text area will
  59.                 highlight the character under the cursor and a B will
  60.                 flash in the upper left corner of your screen.  You
  61.                 could, at this point, operate on the character by
  62.                 moving it, copying it, deleting it, etc.
  63.  
  64.                 By moving the cursor to another point in the file
  65.                 and selecting this option again, a rectangle with the
  66.                 two points as the opposite corners of a rectangle will
  67.                 be highlighted.  The B will still be present in the
  68.                 corner of your screen, but it will no longer be
  69.                 flashing.  In this manner you can mark any rectangular
  70.                 area in the file. This rectangle may now be operated
  71.                 upon.
  72.  
  73.                 If an area in the same file was already highlighted,
  74.                 a corner of the rectangle from the earlier marking
  75.                 will be used and the current cursor position will make
  76.                 the opposite corner.
  77.  
  78.                 If an area in a different file was already marked, it
  79.                 is "unhighlighted" and your current request is
  80.                 honored.
  81.  
  82.        example:░111111 11111 11111 11111
  83.                ░22x222 22222 22222 22222
  84.                ░333333 33333 33333 33333
  85.                ░444444 44444 44444 44444
  86.                ░555555 55555 55555 55555
  87.  
  88.                 If the cursor was on the third character of the second
  89.                 line of the above paragraph and this highlighting
  90.                 option was selected for the first time, then that
  91.                 character would be highlighted (represented by the
  92.                 'x').
  93.  
  94.                 Moving the cursor to the tenth character on the fifth
  95.                 line and selecting the highlighting option again would
  96.                 result in:
  97.                ░  ┌────────┐
  98.                ░11│1111 111│11 11111 11111
  99.                ░22│2222 222│22 22222 22222
  100.                ░33│3333 333│33 33333 33333
  101.                ░44│4444 444│44 44444 44444
  102.                ░55│5555 555│55 55555 55555
  103.                ░  └────────┘
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.                                  168
  113.    (L)ine mark: Line (or paragraph) highlighting is line oriented.
  114.                 Selecting this option, (or pressing Ctrl L), the
  115.                 entire line under the cursor will be highlighted and
  116.                 an L will flash in the upper left corner of your
  117.                 screen.  You could at this point operate on the line
  118.                 by moving it, copying it, deleting it, etc.
  119.  
  120.                 By moving the cursor to another line and selecting
  121.                 this option again, all the lines between and including
  122.                 the two lines will be highlighted.  The L will still
  123.                 be present in the corner of your screen, but it will
  124.                 no longer be flashing.  In this manner you can mark an
  125.                 entire paragraph, page, entire file, etc.  This whole
  126.                 area can now be operated upon.
  127.  
  128.                 If an area in the same file was already highlighted,
  129.                 the entire area from the earlier marking to the
  130.                 current line will be switched to line highlighting.
  131.  
  132.                 If an area in a different file was already marked, the
  133.                 previous highlighting is removed and the current
  134.                 request is honored.
  135.  
  136.        example:░   111111 11111 11111 11111
  137.                ░   222222 22222 22222 22222
  138.                ░   333333 33333 33333 33333
  139.                ░   444444 44444 44444 44444
  140.                ░   555555 55555 55555 55555
  141.  
  142.                 If the cursor was on the second line of the above
  143.                 paragraph and this highlighting option was selected
  144.                 for the first time the following would result:
  145.  
  146.                ░   111111 11111 11111 11111
  147.                ░┌────────────────────────────┐
  148.                ░│  222222 22222 22222 22222  │
  149.                ░└────────────────────────────┘
  150.                ░   333333 33333 33333 33333
  151.                ░   444444 44444 44444 44444
  152.                ░   555555 55555 55555 55555
  153.  
  154.                 Moving the cursor to the fourth line and selecting the
  155.                 highlighting option again would result in:
  156.  
  157.                ░   111111 11111 11111 11111
  158.                ░┌────────────────────────────┐
  159.                ░│  222222 22222 22222 22222  │
  160.                ░│  333333 33333 33333 33333  │
  161.                ░│  444444 44444 44444 44444  │
  162.                ░└────────────────────────────┘
  163.                ░   555555 55555 55555 55555
  164.  
  165.  
  166.  
  167.  
  168.                                  169
  169. (M)ark sentence: Sentence highlighting is sentence oriented.
  170.                 Selecting this option (or pressing Ctrl S) will
  171.                 highlight the character under the cursor and an S will
  172.                 flash in the upper left corner of your screen.  You
  173.                 could, at this point, operate on the character by
  174.                 moving it, copying it, deleting it, etc.
  175.  
  176.                 By moving the cursor to another point in the file
  177.                 and selecting this option again, you define an area of
  178.                 interest containing all the text between and including
  179.                 the two points marked.  The S will still be present in
  180.                 the corner of your screen, but it will no longer be
  181.                 flashing.  In this manner you can mark any sentence
  182.                 (or group of sentences) in the file. This text area
  183.                 may now be operated upon.
  184.  
  185.                 If an area in the same file was already highlighted,
  186.                 the beginning or ending point of the new marking will
  187.                 be taken from the earlier marking and the current
  188.                 cursor position will be used for the other point.
  189.  
  190.                 If an area in a different file was already marked, it
  191.                 is "unhighlighted" and your current request is
  192.                 honored.
  193.  
  194.        example:░   111111 11111 11111 11111
  195.                ░   22x222 22222 22222 22222
  196.                ░   333333 33333 33333 33333
  197.                ░   444444 44444 44444 44444
  198.                ░   555555 55555 55555 55555
  199.  
  200.                 If the cursor was on the third character of the second
  201.                 line of the above paragraph and this highlighting
  202.                 option was selected for the first time, then that
  203.                 character would be highlighted (represented by the
  204.                 'x').
  205.  
  206.                 Moving the cursor to the tenth character on the fourth
  207.                 line and selecting the highlighting option again would
  208.                 result in:
  209.  
  210.                ░   111111 11111 11111 11111
  211.                ░    ┌────────────────────────┐
  212.                ░   2│2222 22222 22222 22222  │
  213.                ░┌───┘                        │
  214.                ░│  333333 33333 33333 33333  │
  215.                ░│            ┌───────────────┘
  216.                ░│  444444 444│4 44444 44444
  217.                ░└────────────┘
  218.                ░   555555 55555 55555 55555
  219.  
  220.  
  221.  
  222.  
  223.  
  224.                                  170
  225.    (P)aragraph: This option is only available within the "Highlight
  226.                 Marks" menu.  Selecting this option highlights the
  227.                 paragraph in which the cursor is located.  If the
  228.                 cursor is not within a paragraph, an error message
  229.                 is given.  If highlighting already existed, it will be
  230.                 removed in deference to the new request.  An L will
  231.                 appear in the top left corner of your screen to
  232.                 indicate that "line" highlighting is active.
  233.  
  234.                 In this context, a paragraph is defined as a group of
  235.                 text lines with no intervening blank or Special Lines
  236.                 (e.g., a page marker or a "header off" line).
  237.  
  238.                 PC-Type II will start at the current line and move toward
  239.                 the beginning of the file until a blank or Special
  240.                 Line is encountered.  Then it will move toward the end
  241.                 of the file until another blank or Special Line is
  242.                 found.  It will then highlight all the lines between
  243.                 these two points.  If the cursor is on a blank or
  244.                 Special Line, then an error message is displayed.
  245.  
  246.        example: Suppose the cursor is on the X of the text shown
  247.                 below at the left.  When this option is selected, the
  248.                 resulting highlighting would be as shown below on the
  249.                 right.
  250.  
  251.                ░aaaaaaaaa            aaaaaaaaa
  252.                ░                ┌─────────────────┐
  253.                ░bbbbbbbbb       │    bbbbbbbbb    │
  254.                ░ccccXcccc       │    ccccXcccc    │
  255.                ░ddddddddd       │    ddddddddd    │
  256.                ░                └─────────────────┘
  257.                ░eeeeeeeee            eeeeeeeee
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.                                  171
  281.     (S)entence: This option is only available within the "Highlight
  282.                 Marks" menu.  Selecting this option highlights the
  283.                 "sentence" in which the cursor is located.  If the
  284.                 cursor is not within a text area, an error message
  285.                 is given.  If highlighting already existed, it will be
  286.                 removed in deference to the new request.  An S will
  287.                 appear in the top left corner of your screen to
  288.                 indicate that "sentence" highlighting is active.
  289.  
  290.                 To determine the beginning of a "sentence", PC-Type II
  291.                 starts at the cursor location and moves toward the
  292.                 beginning of the file until a blank or Special Line,
  293.                 or period, question mark, or exclamation point
  294.                 (followed by at least one space) is discovered.  It
  295.                 then moves forward until the first non-blank character
  296.                 is found.
  297.  
  298.                 To find the end of a "sentence", it moves toward the
  299.                 end of the file until a blank or Special Line, or
  300.                 period, question mark, or exclamation point (followed
  301.                 by at least one space) is found.  It then backs up
  302.                 until the last non-blank character is found.  Finally
  303.                 it moves forward again one space.
  304.  
  305.                 The area between these two points is then highlighted.
  306.  
  307.        example: Suppose the cursor is on the X of the text shown
  308.                 below at the left.  When the sentence option is
  309.                 selected, the resulting highlighting would be as shown
  310.                 below on the right.
  311.  
  312.                ░Aaa bbbb ccc ddd        Aaa bbbb ccc ddd
  313.                ░eee fffff.  Ggg                    ┌───────┐
  314.                ░hhhh Xi jjjj.  Kkk      eee fffff. │Ggg    │
  315.                ░lll mmmm nnnn ooooo  ┌─────────────┘  ┌────┘
  316.                ░ppp.                 │  hhhh Xi jjjj. │Kkk
  317.                ░                     └────────────────┘
  318.                ░                        lll mmmm nnnn ooooo
  319.                ░                        ppp.
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                  172
  337.         (W)ord: Word highlighting is a special case of the "(M)ark
  338.                 sentence" highlighting.  When you select this option,
  339.                 the word under the cursor and one space beyond the end
  340.                 of the word will be highlighted.  The extra space is
  341.                 highlighted since copying, moving, or deleting a word
  342.                 would normally entail handling the space between words
  343.                 as well.
  344.  
  345.                 The cursor must be on top of a non-space character in
  346.                 a text line, or an error message will be displayed.
  347.                 This option is equivalent to pressing Ctrl V outside
  348.                 the menus.
  349.  
  350.                 If highlighting already existed, it will be removed in
  351.                 deference to the new request.  An S will appear in the
  352.                 top left corner of your screen to indicate that
  353.                 "sentence" highlighting is active.
  354.  
  355.                 If the cursor was on the word highlighting in this sentence,
  356.                 the result would be:
  357.  
  358.                ░                 ┌─────────────┐
  359.                ░.... on the word │highlighting │in this ..
  360.                ░                 └─────────────┘
  361.  
  362.                 This is equivalent to selecting the "(M)ark sentence"
  363.                 option (or Ctrl S) twice - once with the cursor on the
  364.                 "h" and once with the cursor on the space after the
  365.                 final "g" in the word.
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.                                  173
  393.  (U)nmark area: Selecting this option (or pressing Ctrl U) turns the
  394.                 highlighting off regardless of where the highlighting
  395.                 is located.  When this is done, the L, B, or S which
  396.                 appeared in the upper left corner of your screen will
  397.                 disappear.
  398.  
  399.                 Most operations, with the exception of COPY, will
  400.                 automatically remove the highlighting after they are
  401.                 executed.  COPY does not since you may want to copy an
  402.                 area a number of times.
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.                                  174
  449.