subject: HIGHLIGHTING (Marking Areas) overview: Highlighting is the process of marking the extremities of an area of interest within a file you are editing. Once an area has been highlighted, numerous operations may be performed on the highlighted area with the "Highlight Options" menu reached by pressing F8 or "(A)rea options" of the Main Menu. When you become adept with PC-Type II, you will probably opt most of the time to highlight areas with the keystrokes Ctrl L, Ctrl B, Ctrl S and Ctrl V. However, all highlighting operations may be performed from the "Highlight Marks" menu shown below. This menu is displayed when you press F7 or select the "(H)ighlight" option from the Main Menu. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Highlight Marks: ³ page ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍÍÍÍÍÍ ³(B)lock mark ³ 172 ³(L)ine mark ³ 173 ³(M)ark sentence ³ 174 ³(P)aragraph ³ 175 ³(S)entence ³ 176 ³(W)ord ³ 177 ³(U)nmark area ³ 178 ³e(X)it ³<-- Exit Highlight Marks menu ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ In the discussion which follows, each of these options in the menu will be described. There are three distinct highlight types: (1) Line (Ctrl L) (2) Block (Ctrl B) (3) Sentence (Ctrl S) In practice, you usually invoke a highlight type twice to mark the extremities of the area of interest. When the first highlight is selected, the letter L, B, or S will flash in the upper left corner of your screen. The flashing indicates that the area of interest may not be fully defined. The second time the keystroke is pressed, the flashing will stop. The letter will remain visible until an operation is performed on the area or the highlighting is turned off. You may correct the definition of the area of interest by pressing a highlighting keystroke more than twice, and you may change the type of highlighting by pressing a different highlighting keystroke without removing the highlighting and starting over. 167 (B)lock mark: Block highlighting is column oriented. Selecting this option (or pressing Ctrl B) in the text area will highlight the character under the cursor and a B will flash in the upper left corner of your screen. You could, at this point, operate on the character by moving it, copying it, deleting it, etc. By moving the cursor to another point in the file and selecting this option again, a rectangle with the two points as the opposite corners of a rectangle will be highlighted. The B will still be present in the corner of your screen, but it will no longer be flashing. In this manner you can mark any rectangular area in the file. This rectangle may now be operated upon. If an area in the same file was already highlighted, a corner of the rectangle from the earlier marking will be used and the current cursor position will make the opposite corner. If an area in a different file was already marked, it is "unhighlighted" and your current request is honored. example:°111111 11111 11111 11111 °22x222 22222 22222 22222 °333333 33333 33333 33333 °444444 44444 44444 44444 °555555 55555 55555 55555 If the cursor was on the third character of the second line of the above paragraph and this highlighting option was selected for the first time, then that character would be highlighted (represented by the 'x'). Moving the cursor to the tenth character on the fifth line and selecting the highlighting option again would result in: ° ÚÄÄÄÄÄÄÄÄ¿ °11³1111 111³11 11111 11111 °22³2222 222³22 22222 22222 °33³3333 333³33 33333 33333 °44³4444 444³44 44444 44444 °55³5555 555³55 55555 55555 ° ÀÄÄÄÄÄÄÄÄÙ 168 (L)ine mark: Line (or paragraph) highlighting is line oriented. Selecting this option, (or pressing Ctrl L), the entire line under the cursor will be highlighted and an L will flash in the upper left corner of your screen. You could at this point operate on the line by moving it, copying it, deleting it, etc. By moving the cursor to another line and selecting this option again, all the lines between and including the two lines will be highlighted. The L will still be present in the corner of your screen, but it will no longer be flashing. In this manner you can mark an entire paragraph, page, entire file, etc. This whole area can now be operated upon. If an area in the same file was already highlighted, the entire area from the earlier marking to the current line will be switched to line highlighting. If an area in a different file was already marked, the previous highlighting is removed and the current request is honored. example:° 111111 11111 11111 11111 ° 222222 22222 22222 22222 ° 333333 33333 33333 33333 ° 444444 44444 44444 44444 ° 555555 55555 55555 55555 If the cursor was on the second line of the above paragraph and this highlighting option was selected for the first time the following would result: ° 111111 11111 11111 11111 °ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ °³ 222222 22222 22222 22222 ³ °ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ° 333333 33333 33333 33333 ° 444444 44444 44444 44444 ° 555555 55555 55555 55555 Moving the cursor to the fourth line and selecting the highlighting option again would result in: ° 111111 11111 11111 11111 °ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ °³ 222222 22222 22222 22222 ³ °³ 333333 33333 33333 33333 ³ °³ 444444 44444 44444 44444 ³ °ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ° 555555 55555 55555 55555 169 (M)ark sentence: Sentence highlighting is sentence oriented. Selecting this option (or pressing Ctrl S) will highlight the character under the cursor and an S will flash in the upper left corner of your screen. You could, at this point, operate on the character by moving it, copying it, deleting it, etc. By moving the cursor to another point in the file and selecting this option again, you define an area of interest containing all the text between and including the two points marked. The S will still be present in the corner of your screen, but it will no longer be flashing. In this manner you can mark any sentence (or group of sentences) in the file. This text area may now be operated upon. If an area in the same file was already highlighted, the beginning or ending point of the new marking will be taken from the earlier marking and the current cursor position will be used for the other point. If an area in a different file was already marked, it is "unhighlighted" and your current request is honored. example:° 111111 11111 11111 11111 ° 22x222 22222 22222 22222 ° 333333 33333 33333 33333 ° 444444 44444 44444 44444 ° 555555 55555 55555 55555 If the cursor was on the third character of the second line of the above paragraph and this highlighting option was selected for the first time, then that character would be highlighted (represented by the 'x'). Moving the cursor to the tenth character on the fourth line and selecting the highlighting option again would result in: ° 111111 11111 11111 11111 ° ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ° 2³2222 22222 22222 22222 ³ °ÚÄÄÄÙ ³ °³ 333333 33333 33333 33333 ³ °³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ °³ 444444 444³4 44444 44444 °ÀÄÄÄÄÄÄÄÄÄÄÄÄÙ ° 555555 55555 55555 55555 170 (P)aragraph: This option is only available within the "Highlight Marks" menu. Selecting this option highlights the paragraph in which the cursor is located. If the cursor is not within a paragraph, an error message is given. If highlighting already existed, it will be removed in deference to the new request. An L will appear in the top left corner of your screen to indicate that "line" highlighting is active. In this context, a paragraph is defined as a group of text lines with no intervening blank or Special Lines (e.g., a page marker or a "header off" line). PC-Type II will start at the current line and move toward the beginning of the file until a blank or Special Line is encountered. Then it will move toward the end of the file until another blank or Special Line is found. It will then highlight all the lines between these two points. If the cursor is on a blank or Special Line, then an error message is displayed. example: Suppose the cursor is on the X of the text shown below at the left. When this option is selected, the resulting highlighting would be as shown below on the right. °aaaaaaaaa aaaaaaaaa ° ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ °bbbbbbbbb ³ bbbbbbbbb ³ °ccccXcccc ³ ccccXcccc ³ °ddddddddd ³ ddddddddd ³ ° ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ °eeeeeeeee eeeeeeeee 171 (S)entence: This option is only available within the "Highlight Marks" menu. Selecting this option highlights the "sentence" in which the cursor is located. If the cursor is not within a text area, an error message is given. If highlighting already existed, it will be removed in deference to the new request. An S will appear in the top left corner of your screen to indicate that "sentence" highlighting is active. To determine the beginning of a "sentence", PC-Type II starts at the cursor location and moves toward the beginning of the file until a blank or Special Line, or period, question mark, or exclamation point (followed by at least one space) is discovered. It then moves forward until the first non-blank character is found. To find the end of a "sentence", it moves toward the end of the file until a blank or Special Line, or period, question mark, or exclamation point (followed by at least one space) is found. It then backs up until the last non-blank character is found. Finally it moves forward again one space. The area between these two points is then highlighted. example: Suppose the cursor is on the X of the text shown below at the left. When the sentence option is selected, the resulting highlighting would be as shown below on the right. °Aaa bbbb ccc ddd Aaa bbbb ccc ddd °eee fffff. Ggg ÚÄÄÄÄÄÄÄ¿ °hhhh Xi jjjj. Kkk eee fffff. ³Ggg ³ °lll mmmm nnnn ooooo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÙ °ppp. ³ hhhh Xi jjjj. ³Kkk ° ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ° lll mmmm nnnn ooooo ° ppp. 172 (W)ord: Word highlighting is a special case of the "(M)ark sentence" highlighting. When you select this option, the word under the cursor and one space beyond the end of the word will be highlighted. The extra space is highlighted since copying, moving, or deleting a word would normally entail handling the space between words as well. The cursor must be on top of a non-space character in a text line, or an error message will be displayed. This option is equivalent to pressing Ctrl V outside the menus. If highlighting already existed, it will be removed in deference to the new request. An S will appear in the top left corner of your screen to indicate that "sentence" highlighting is active. If the cursor was on the word highlighting in this sentence, the result would be: ° ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ °.... on the word ³highlighting ³in this .. ° ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÙ This is equivalent to selecting the "(M)ark sentence" option (or Ctrl S) twice - once with the cursor on the "h" and once with the cursor on the space after the final "g" in the word. 173 (U)nmark area: Selecting this option (or pressing Ctrl U) turns the highlighting off regardless of where the highlighting is located. When this is done, the L, B, or S which appeared in the upper left corner of your screen will disappear. Most operations, with the exception of COPY, will automatically remove the highlighting after they are executed. COPY does not since you may want to copy an area a number of times. 174