⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chedit.txt

📁 单片PLC,AT2581实现梯形图功能,可作为参考
💻 TXT
📖 第 1 页 / 共 4 页
字号:
The next step is to select the character to edit in this location, either
via the cursor keys or the N (numeric) option.  A highlighted square appears
in the characters at the top of the screen, which is moved via the cursor keys. 
The arrow keys (2,4,6, and 8) move that direction, while the other keys
(1,3,7, and 9) move the box in a diagonal.  When the cursor passes the
boundary of the displayed characters, it wraps back to the opposite side of
the display.
The numeric code for each character is a number, either from 0 to 127 or
from 128 to 255, representing the location of the character.  The values from
0 to 127 represent the character's location in the editing set, while the
values 128 to 255 represent the extended ASCII code used to reference the
the character from various languages or system calls.  The routines used
within the editor will recognize either code.  When using the N option in
selecting characters, a prompt of "?" will appear, and at this point you
enter a number.  This number is taken modulo 128, and the highlighted square
is placed in this character position.

When you are satisfied with your selection, press either S (for Select) or
Return to return to selecting editing locations.  At this time, a new
option becomes available, that of pressing E to Edit the currently selected
characters.  If you wish to keep selecting characters, proceed with selecting
character locations, else press E to edit or Esc to return to the main menu.

There are three things to note at this point:

   1) A character may be edited at only 1 location in the editing matrix.  If
      you attempt to edit the same character in 2 locations, you are warned
      "No Duplicates".  Press any key to continue selecting characters.

   2) Only 1 character may be edited at 1 location in the editing grid.  If you
      try to select a second character for that location, it overwrites the
      original selection.

   3) When you move the highlighted box in the editing matrix, you will find
      that the highlighted square in the character set has moved along with
      it.  This makes selection of blocks of characters easy.













4.2  EDITING MULTIPLE CHARACTERS

All of the options available while editing individual characters are also 
available while editing multiple characters, plus many others.   

For all cursor movements, if the cursor is moved off an edge of the editing
matrix, it return on the opposite side of the matrix.  For example, if the
cursor is moved off the top row of the top of the editing matrix, it returns
on the bottom row of the bottom of the matrix.  The cursor does not wrap
when it crosses a boundary within the matrix.

The cursor is not limited to traveling within boxes defined in the editing
matrix  (i.e., the cursor can be in a box without a character in it).  This
is most useful when Getting additional characters to edit.  See the
description of the Get command below.



















































4.2.1  CURSOR MOVEMENT GROUP (enter the key indicated on the numeric 
       keypad for the command):

DOWN  - Also the 2 key on the numeric keypad.  This moves the cursor 1 row
        down in the character being edited.
UP    - Also the 8 key on the numeric keypad.  This moves the cursor 1 row up
        in the character being edited.
LEFT  - Also the 4 key on the numeric keypad.  This moves the cursor 1 column
        left in the character being edited.
RIGHT - Also the 6 key on the numeric keypad.  This moves the cursor 1 column
        right in the character being edited.


The following keys move the cursor in diagonal directions.

HOME - Also the 7 key on the numeric keypad.  This key, between the UP and LEFT
       arrows, moves the cursor UP 1 row and LEFT 1 column.
PgUp - Also the 9 key on the numeric keypad.  This key, between the UP and
       RIGHT arrows, moves the cursor UP 1 row and RIGHT 1 column.
END  - Also the 1 key on the numeric keypad.  This key, between the DOWN and
       LEFT arrows, moves the cursor DOWN 1 row and LEFT 1 column.
PgDn - Also the 3 key on the numeric keypad.  This key, between the DOWN and
       RIGHT arrows, moves the cursor DOWN 1 row and RIGHT 1 column.


The cursor may also be moved one box in the editing matrix at a time, through
the use of the Alt key and the numeric keypad, as follows.

Alt-DOWN - (Alt-2).  This moves the cursor 1 box down in the editing matrix.
Alt-UP - (Alt-8).  This moves the cursor 1 bow up in the editing matrix.
Alt-LEFT - (Alt-4).  This moves the cursor 1 box left in the editing matrix.
Alt-RIGHT - (Alt-6).  This moves the cursor 1 box right in the editing matrix.


The following keys move the cursor a box at a time in diagonal directions.

Alt-HOME - (Alt-7).  This moves the cursor 1 box up and 1 box left in the
          editing matrix.
Alt-PgUp - (Alt-9).  This moves the cursor 1 box up and 1 box right in the
          editing matrix.
Alt-END - (Alt-1).  This moves the cursor 1 box down and 1 box left in the
          editing matrix.
Alt-PgDn - (Alt-3).  This moves the cursor 1 box down and 1 box right in the
          editing matrix.






















4.2.2  "SPACEBAR" GROUP

This group of functions is the basic mechanism for setting and clearing
pixels in the characters.  The commands in this group are (use the capital 
letter for the command itself):

SPACEBAR - change the state of the pixel, according to the mode defined below.

Set mode - when the spacebar is pressed, the current pixel is set (turned on).

Clear mode - when the spacebar is pressed, the current pixel is cleared
           (turned off).

Xor mode - when the spacebar is pressed, the current pixel is Xor'd with a
           'set'.  The result is that the pixel is flipped to its opposite
           state, i.e., a set pixel is cleared, and a cleared pixel is set.
           Xor mode is the default mode. 

For all modes in multiple character editing, the state of the pixel is changed
ONLY if the cursor is in a location in the editing matrix that has a character
in it.  If it is an empty location, the space bar has no effect.

Notes on mode: 1) Xor is the default mode.
               2) The Set, Clear, and Xor modes are mutually exclusive,  
                  that is, you can only be in one of these modes at a time.
               3) You may not change modes when the cursor is in an empty box.

Auto mode - When the cursor enters a new pixel, that pixel is automatically
            set/cleared/xored according to the current mode, if the cursor
            is in a box that has an editing character in it.  If this
            location in the editing matrix is empty, auto mode has no effect.
            When the space bar is pressed, the pixel is again set/cleared/
            xored.  This is useful when you want to flip the pixel back to
            its original state (xor mode) or if you have just selected auto
            mode, in which case the current pixel is not set/cleared/xored
            (as the cursor has not entered a new pixel).
            Auto mode may be changed when the cursor is in an empty box.


4.2.3  "WHOLE CHARACTER" GROUP (enter the capital letter for the command):

Zero    - Zero out a character.  This turns off all pixels in the current
          character.  If the cursor is in an empty box, this command has no
          effect.

Fill    - Fill in a character.  This turns on all pixels in the current 
          character.  If the cursor is in an empty box, this command has 
          no effect.

Inverse - Invert a character.  This flips the state of all pixels in the
          current character.  If the cursor is in an empty box, this command 
          has no effect.














4.2.4  "ALL CHARACTERS" GROUP (enter the indicated keys for the command):

Alt-Z - Zero out all characters in the current editing matrix.  This turns
        off all pixels in all characters.  The cursor does NOT have to be
        in a used location in the editing matrix.

Alt-F - Fill in all characters in the current editing matrix.  This turns
        on all pixels in all characters.  The cursor does NOT have to be
        in a used location in the editing matrix.

Alt-I - Invert all characters in the current editing matrix.  This flips the
        state of all pixels in all characters.  The cursor does NOT have to
        be in a used location in the editing matrix.


4.2.5  "NEXT CHARACTER" GROUP (enter the capital letter for the command):

Next - Get another set of characters to edit.  The procedure is the same as
       when you first entered multiple character editing.

Get  - Copy (get) the image of another character into the current character.
       The proceudre is the same as selecting a character to edit after you
       have selected its location in the editing matrix.  If you decide that
       you do not want to overwrite the current image, simply place the
       highlighted square on the original character and press return.
       When editing multiple characters, you also have the option to extend
       the list of characters being edited.  If the cursor is in an unused
       location in the editing matrix, pressing G will first prompt you with
       "into?", and allow you to select a character to edit, in the same
       fashion as before.  Then, you are prompted with "from?", at which time
       you may also initalize the editing character with the image from
       character.  Pressing S or Return a 2nd time without moving the
       highlighted square will use the current image of the character.
       As before, you may only edit a character in 1 location in the editing
       matrix.  If you attempt to edit a character a 2nd time, you will be
       warned "No Duplicates".

Put  - Copy (put) the image of the current character into another character.
       The procedure is the same as selecting a character to edit after you
       have selected its location in the editing matrix.  If you decide that
       you do not want to overwrite another image, simply place the
       highlighted square on the original image and press return.
























4.2.6  "MIRROR-IMAGE" GROUP (enter the capital letter for the command):

Horizontal mirror - change the character currently being edited to its image
     as seen in a mirror placed on its horizontal axis.  The top row becomes
     the last row, the 2nd row becomes the next-to-last row, etc.  As an
     example, the letter A, when horizontally mirrored, would be standing on
     its point.  Doing another horizontal mirror will undo this, so that the
     A points upwards again.  If the cursor is in an empty box, this command
     has no effect.

Vertical mirror - change the character currently being edited to its image
     as seen in a mirror placed on its vertical axis.  The leftmost column
     becomes the rightmost column, the next-to-leftmost column becomes the
     next-to-rightmost column, etc.  As an example, the less-than symbol, <,
     would become the greater-than symbol, >, when vertical mirrored.  Doing
     another vertical mirror will undo this, so that it becomes a less-than
     symbol again.  If the cursor is in an empty box, this command has no
     effect.

Exchange - exchange rows and columns in the character currently being edited.
     This has the effect of mirroring the character around a diagonal from the
     upper left to the lower right corner of the charcter box.  It means that
     the top row becomes the leftmost column, the 2nd row becomes the
     next-to-leftmost column, etc.  For example, an exclamation point, !, when
     exchanged, would be laying on its side, with the bottom dot on the right. 
     Doing another exchange would undo this, so that it is normal again.








































4.2.7  "ALTER-EVERYTHING" GROUP (enter the indicated keys for the command):

Alt-H - horizontal mirror all characters being edited.  The effect on each
        character is as described above, and the relative positions of all
        characters are changed so that the image as a whole is mirrored.
        The cursor does not have to be in an occupied location in the editing
        matrix for this command.

Alt-V - vertical mirror all characters being edited.  The effect on each
        character is as described above, and the relative positions of all
        characters are changed so that the image as a whole is mirrored.
        The cursor does not have to be in an occupied location in the editing
        matrix for this command.

Alt-E - exchange rows and columns for all characters being edited.  The effect
        on each character is as described above, and the relative positions of
        all characters are changed so that the image as a whole is mirrored.
        As the editing matrix is not square, this command will report "too
        many columns" if there is any character in the 6th or 7th column and
        wait for a keypress before continuing.  The cursor does not have to be
        in an occupied location in the editing matrix for this command.

CAVEAT: All of the above commands change the location of the characters in the
        editing matrix, which can have unwanted effects in some circumstances.
        If you use one of the above commands, then use the Get command to add
        a character to the editing matrix IN THE ORIGINAL POSITION OF ONE OF
        THE CHARACTERS THAT WAS MOVED, and then use Alt-Restore or

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -