home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / wp1 / jedit.lzh / JEDIT.DOC < prev   
Encoding:
Text File  |  1987-08-18  |  7.8 KB  |  162 lines

  1.                                         JEdit
  2.  
  3.                                  The ultimate editor
  4.  
  5.                                     version 1.00
  6.  
  7.  
  8.           The JEdit screen
  9.  
  10.           When JEdit is finished loading, the JEdit screen will be
  11.           displayed.  This is where you will do your editing.  The top line
  12.           displays the name of the file you are currently editing and also
  13.           what will happen when you press the Esc key.  The bottom of the
  14.           screen contains some more useful information.  On the left side
  15.           is the indicator box.  This will tell you if you are in insert
  16.           mode (indicated by Ins), if you are in word wrap mode (indicated
  17.           by Wrap) or if you are in smart tab mode (indicated by Tab).
  18.  
  19.           In the middle of the bottom line is the cursor position
  20.           indicator.  These numbers tell you exactly where the cursor is
  21.           located within the file.  These can be used for lining up tables,
  22.           figuring out centering....or you could just ignore them!
  23.  
  24.           Editing with JEdit--Cursor Movement
  25.  
  26.           Cursor movement in JEdit is just like in any other program.  The
  27.           arrow keys move in the appropriate direction.  PgUp and PgDn move
  28.           a page up or down in the file.  Home and End move the cursor to
  29.           the beginning and end of the current line.  If you hold down the
  30.           Ctrl key while pressing the forward or backward arrow key, the
  31.           cursor skips a word at a time in the appropriate direction.  Ctrl
  32.           plus the PgUp or PgDn jumps to the beginning or the end of the
  33.           current file.
  34.  
  35.           Editing with JEdit--Block Commands
  36.  
  37.           JEdit allows you to perform functions on large areas of text
  38.           called blocks.  When a block of text is selected it can be
  39.           deleted, moved, or copied.  To select a block, move the cursor
  40.           onto the line where you want the block to start and press F3.
  41.           Next move the cursor to the last line of the block you want to
  42.           mark and press F4.  The block is now highlighted telling you that
  43.           you can now perform any of the block commands.  Pressing Shift-F2
  44.           deletes the highlighted block.
  45.  
  46.                WARNING:  as of this time there is no way to recover a
  47.                deleted block.
  48.  
  49.           If you want to make a duplicate (a copy) of the block in another
  50.           place, simply move the cursor to where you want the block and
  51.           then press F5.  The block is now copied to the new location, but
  52.           also leaving the original block where it was.  Instead of making
  53.           a second copy of a block of text, you can move the text to a new
  54.           location.  A move is a copy and a delete in one.  First JEdit
  55.           copies your block to the new location and then deletes it from
  56.           its original location.  This is handy for reorganizing programs.
  57.  
  58.           After working with a block, you should turn it off (unhighlight
  59.           it).  To do this press Shift F5.  Now when you press any of the
  60.           block function keys nothing will happen.  You can turn the block
  61.           on again by pressing Shift F5.
  62.  
  63.           Exiting and Saving
  64.  
  65.           When you are finished editing a file, it is usually a good idea
  66.           to save that file.  This is accomplished by pressing Ctrl S.
  67.           JEdit now prompts you for the name of the file to save to.  If
  68.           you started JEdit with a file name on the command line, this file
  69.           name is given to you as a default.  If you wish to save your file
  70.           to this file name, just press return.  If you want to change the
  71.           file name, use the arrow keys to backup and retype any file/path
  72.           information.  If a file already exists with the name you are
  73.           saving to, JEdit makes a copy of that file, but changes the
  74.           extension to BAK.  This prevents any accidental data loss.
  75.  
  76.           After editing a file, one usually wants to return to DOS.  Just
  77.           press the ESC key and you will be back in DOS.  If JEdit senses
  78.           that you changed something in your file and didn't save it, JEdit
  79.           will warn you and ask if you really wish to quit.  This also
  80.           prevents any accidental data loss.
  81.  
  82.           Deleting text
  83.  
  84.           Ever wanted to delete some text from a file?  You could always
  85.           use the block command to delete a big section.  But if you want
  86.           to "zap" only a few lines you could use the delete-a-line
  87.           command.  Just press F2 to delete a line.
  88.  
  89.                WARNING:  as of this time there is no way to recover a
  90.                deleted line.
  91.  
  92.           If a character is all you want to delete, the Del key will delete
  93.           the character under the cursor and then move all text to the
  94.           right of that space one notch to the left.
  95.  
  96.           Tabs
  97.  
  98.           JEdit treats tabs in two ways; regular tabs and smart tabs.  You
  99.           can switch between the modes by pressing Shift Tab.  In smart tab
  100.           mode (indicated by TAB in the indicator box), JEdit remembers
  101.           where you had last tabbed to and each new line automatically tabs
  102.           to that spot.  This is useful when programming in structured
  103.           languages, such as Pascal, which require a large amount of
  104.           indentation.
  105.  
  106.           In stupid tab mode (indicated by the absence of TAB in the
  107.           indicator box) no automatic tabbing is performed; each new line
  108.           it placed at the far left side.
  109.  
  110.           In either tab mode, the Tab key moves the cursor a set number of
  111.           spaces to the right.
  112.  
  113.           Two more modes
  114.  
  115.           Besides the Smart tab mode, there are two others:  word wrap and
  116.           insert mode.  With word wrap turned on, by pressing F1, every
  117.           word which goes beyond the 80th column is carried or wrapped over
  118.           to the next line.  This comes in handy when editing letters or
  119.           memos.
  120.  
  121.           Insert mode is turned on with the Ins key.  In insert mode
  122.           everything you type pushes previously type text to the right on
  123.           the line.  When not in insert mode previously written text is
  124.           just written over.
  125.  
  126.           Command summary
  127.  
  128.                          Command             Function
  129.                     ----------------------------------------
  130.                           F1            Toggle word wrap
  131.                           F2            Delete a line
  132.                           F3            Mark beginning of a block
  133.                           F4            Mark end of a block
  134.                           F5            Copy a block
  135.                           F6            Move a block
  136.  
  137.                     Shift F2            Delete a block
  138.                     Shift F5            Hide a block
  139.  
  140.                     Ctrl S              Save file to disk
  141.                     Ctrl U              Abort current function
  142.  
  143.                     Home                Move to beginning of line
  144.                     End                 Move to end of line
  145.                     PgUp                Move up a screen page
  146.                     PgDn                Move down a screen page
  147.  
  148.                     Ins                 Toggle insert mode
  149.                     Del                 Delete character under the cursor
  150.  
  151.                     Ctrl  arrow key     Move forward or backwards a word
  152.  
  153.                     Shift Tab           Toggle smart tab mode
  154.  
  155.           Technical information
  156.  
  157.           JEdit consists of over 120k of source code, all of which is
  158.           Pascal and finely tuned inline machine code.
  159.  
  160.           JEdit can edit files up to the amount of memory you have--a
  161.           maximum of 640k (JEdit cannot currently use extended memory).
  162.