home *** CD-ROM | disk | FTP | other *** search
- JEdit
-
- The ultimate editor
-
- version 1.00
-
-
- The JEdit screen
-
- When JEdit is finished loading, the JEdit screen will be
- displayed. This is where you will do your editing. The top line
- displays the name of the file you are currently editing and also
- what will happen when you press the Esc key. The bottom of the
- screen contains some more useful information. On the left side
- is the indicator box. This will tell you if you are in insert
- mode (indicated by Ins), if you are in word wrap mode (indicated
- by Wrap) or if you are in smart tab mode (indicated by Tab).
-
- In the middle of the bottom line is the cursor position
- indicator. These numbers tell you exactly where the cursor is
- located within the file. These can be used for lining up tables,
- figuring out centering....or you could just ignore them!
-
- Editing with JEdit--Cursor Movement
-
- Cursor movement in JEdit is just like in any other program. The
- arrow keys move in the appropriate direction. PgUp and PgDn move
- a page up or down in the file. Home and End move the cursor to
- the beginning and end of the current line. If you hold down the
- Ctrl key while pressing the forward or backward arrow key, the
- cursor skips a word at a time in the appropriate direction. Ctrl
- plus the PgUp or PgDn jumps to the beginning or the end of the
- current file.
-
- Editing with JEdit--Block Commands
-
- JEdit allows you to perform functions on large areas of text
- called blocks. When a block of text is selected it can be
- deleted, moved, or copied. To select a block, move the cursor
- onto the line where you want the block to start and press F3.
- Next move the cursor to the last line of the block you want to
- mark and press F4. The block is now highlighted telling you that
- you can now perform any of the block commands. Pressing Shift-F2
- deletes the highlighted block.
-
- WARNING: as of this time there is no way to recover a
- deleted block.
-
- If you want to make a duplicate (a copy) of the block in another
- place, simply move the cursor to where you want the block and
- then press F5. The block is now copied to the new location, but
- also leaving the original block where it was. Instead of making
- a second copy of a block of text, you can move the text to a new
- location. A move is a copy and a delete in one. First JEdit
- copies your block to the new location and then deletes it from
- its original location. This is handy for reorganizing programs.
-
- After working with a block, you should turn it off (unhighlight
- it). To do this press Shift F5. Now when you press any of the
- block function keys nothing will happen. You can turn the block
- on again by pressing Shift F5.
-
- Exiting and Saving
-
- When you are finished editing a file, it is usually a good idea
- to save that file. This is accomplished by pressing Ctrl S.
- JEdit now prompts you for the name of the file to save to. If
- you started JEdit with a file name on the command line, this file
- name is given to you as a default. If you wish to save your file
- to this file name, just press return. If you want to change the
- file name, use the arrow keys to backup and retype any file/path
- information. If a file already exists with the name you are
- saving to, JEdit makes a copy of that file, but changes the
- extension to BAK. This prevents any accidental data loss.
-
- After editing a file, one usually wants to return to DOS. Just
- press the ESC key and you will be back in DOS. If JEdit senses
- that you changed something in your file and didn't save it, JEdit
- will warn you and ask if you really wish to quit. This also
- prevents any accidental data loss.
-
- Deleting text
-
- Ever wanted to delete some text from a file? You could always
- use the block command to delete a big section. But if you want
- to "zap" only a few lines you could use the delete-a-line
- command. Just press F2 to delete a line.
-
- WARNING: as of this time there is no way to recover a
- deleted line.
-
- If a character is all you want to delete, the Del key will delete
- the character under the cursor and then move all text to the
- right of that space one notch to the left.
-
- Tabs
-
- JEdit treats tabs in two ways; regular tabs and smart tabs. You
- can switch between the modes by pressing Shift Tab. In smart tab
- mode (indicated by TAB in the indicator box), JEdit remembers
- where you had last tabbed to and each new line automatically tabs
- to that spot. This is useful when programming in structured
- languages, such as Pascal, which require a large amount of
- indentation.
-
- In stupid tab mode (indicated by the absence of TAB in the
- indicator box) no automatic tabbing is performed; each new line
- it placed at the far left side.
-
- In either tab mode, the Tab key moves the cursor a set number of
- spaces to the right.
-
- Two more modes
-
- Besides the Smart tab mode, there are two others: word wrap and
- insert mode. With word wrap turned on, by pressing F1, every
- word which goes beyond the 80th column is carried or wrapped over
- to the next line. This comes in handy when editing letters or
- memos.
-
- Insert mode is turned on with the Ins key. In insert mode
- everything you type pushes previously type text to the right on
- the line. When not in insert mode previously written text is
- just written over.
-
- Command summary
-
- Command Function
- ----------------------------------------
- F1 Toggle word wrap
- F2 Delete a line
- F3 Mark beginning of a block
- F4 Mark end of a block
- F5 Copy a block
- F6 Move a block
-
- Shift F2 Delete a block
- Shift F5 Hide a block
-
- Ctrl S Save file to disk
- Ctrl U Abort current function
-
- Home Move to beginning of line
- End Move to end of line
- PgUp Move up a screen page
- PgDn Move down a screen page
-
- Ins Toggle insert mode
- Del Delete character under the cursor
-
- Ctrl arrow key Move forward or backwards a word
-
- Shift Tab Toggle smart tab mode
-
- Technical information
-
- JEdit consists of over 120k of source code, all of which is
- Pascal and finely tuned inline machine code.
-
- JEdit can edit files up to the amount of memory you have--a
- maximum of 640k (JEdit cannot currently use extended memory).
-