home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 2
/
crawlyvol2.bin
/
apps
/
text_ed
/
editext
/
editext.doc
next >
Wrap
Text File
|
1990-01-15
|
7KB
|
198 lines
EdiText Text Processor instructions - Copyright (c) 1989 Mike O'Donnell
-------------------------------------------------------------------------
Load file (SHIFT/F1)
Reads up to 1200 lines into memory, any further lines being discarded (perhaps
a word processor is more appropriate here?). Anything other than an ascii
file gives strange results, but won't crash the program. Characters with an
ascii value of less than 32 are converted to spaces, so 1st Word files may be
loaded. The text Width is set by the longest line loaded. Any lines longer
than 79 characters are truncated.
Save file (SHIFT/F2)
If a block is marked you are asked if you want to save all of the text or just
the block. Files with the same name are overwritten, though you are given the
option not to save if one exists.
Delete file (SHIFT/F3)
You are shown the filename you clicked and asked if you are sure you want to
delete it. This function will not delete multiple files, eg., '*.BAS'.
Clear text (SHIFT/F4)
Checks with you first.
Quit to GEM (SHIFT/F5)
Sayonara. Checks with you first.
Mark block start (F1)
Mark block start at cursor line. If the start of the block is marked after
the end then the block is hidden.
Mark block end (F2)
Mark block end at the line above the cursor. If the end is marked before the
start then the block is hidden.
Cut block (F3)
Cut block and store in buffer. Another cut erases any block already in the
buffer. There is no limit to the buffer length.
Paste block (F4)
Paste block from buffer into text at cursor line.
Find/Replace text (F5)
Enter Find/Replace text strings. If a Find string is entered then it is
searched for. If a Replace string is entered then the found string may be
replaced with ^R. ^F finds the next occurrence, ^R replaces the found string
if the cursor is at the first letter, or searches for the next occurrence.
If no Find string is entered but a Replace string is, then pressing ^R inserts
the Replace string anywhere in the text, at the cursor position.
Layout (F6)
All items are set with the mouse and left button. The Width setting is the
width of the text on screen for word wrapping and paragraph formatting
purposes, and the width it will appear when printed. Word wrapping is
operative only when the cursor is at the end of the line being typed,
otherwise insert/delete and paragraph reformatting must be used. If a Width
of 80 is set then word wrapping and line splitting and joining are turned off,
allowing program and assembler files to be edited without mishaps.
The page and line number at the top of the editing screen refer to the page
layout as set here, which is as it will appear when printed. The Left and Top
margins are the margins to be printed on paper, with the Width determining the
right margin when printed. The Page Length is the length of your paper in
lines, ie., 70 for A4 typing sheets. The Text Length is the number of lines
of text to be printed on each page. EdiText sends a form-feed to the printer
after printing the set number of lines, prompting for a new sheet of paper if
Single Sheet mode was set.
Print text (F7)
Print all text. Pressing ESC pauses and gives the option to continue printing
or quit. Printer control codes are Epson compatible.
Sort lines (F8)
Sort a marked block into alphabetical order by line. Very useful for keeping
lists. Lines are compared as strings (as in GFA Basic) so don't expect 'F9'
to come before 'F10'...
Insert Bold ON code (F9)
This code appears as '»' in the text, and turns Bold printing on.
Insert Bold OFF code (SHIFT/F9)
This code appears as '«' in the text, and turns Bold printing off.
Format text (F10)
Reformat paragraph or block to set Width. Reformatting starts from the line
the cursor is on (the cursor may be placed on a blank line before the
paragraph). Two spaces are put after end of sentence markers (.?!). Maximum
paragraph length for formatting is 100 lines. Formatting does not work if
Width is set to 80. If reformatting a marked block, pressing ESC quits at the
end of the paragraph being done.
OTHER KEYS:
CURSOR KEYS move cursor around text, scrolling if necessary
^/CURSOR KEYS up/down one screen, or left/right one word
HOME move cursor to top left of screen
HELP move to start of text
UNDO move to end of text
INSERT insert new line, or split line
DELETE delete character, or blank line, or join lines
^/DELETE delete word to right, or blank line, or join lines
BACKSPACE delete character to left, or blank line, or join lines
RETURN create new line, or split line
TAB tabulate to next 8th column
^F next Find
^R next Replace, or insert string if no Find string
^A change case of character under cursor
NOTES:
¯¯¯¯¯¯
To DELETE a block of text simply Cut it. To COPY a block of text; mark the
block, cut it, paste it back into the same place, move the cursor to the new
location and paste again. To MERGE a block into another file; Cut the block,
Load the other file, position the cursor and Paste the stored block.
Remember to use F10 to reformat a paragraph rather than using the cursor keys
and BACKSPACE/DELETE, etc. Word wrapping doesn't operate in the middle of a
line, so it's easier to press INSERT to split the line, carry on typing,
cursor up a few lines, and press F10 to reformat.
As block marking, cutting and pasting only work on full lines it may seem that
it's too much trouble to try to move part of a line, but not so. Put the
cursor at the start of the first word to be marked, press RETURN to split the
line, press F1 to set the block start. Move the cursor to the end of the last
word, press RETURN to split that line, and F2 to mark the block end. Press F3
to cut the block, move to the start of the paragraph, F10 to reformat, then
paste the block where you like, reformatting there if need be. To paste a
block into the middle of a paragraph, put the cursor at the point you wish to
paste the block into, press RETURN to split the line, F4 to paste, then
reformat the paragraph. It might sound long-winded, but once you've tried it
you'll be surprised at just how quick it is.
One last thing; be sure to check the Width setting after loading a file as it
may not be what you want as you type and reformat.
If you would like to modify EdiText or add your own routines you can obtain a
copy of the GFA Basic source program from me, on a disk with postage paid, for
£4.00p -
Mike O'Donnell
5 Worthington Close
Runcorn
Cheshire
WA7 2QG
I'd appreciate some feedback, but be sure to include a stamped & addressed
envelope if you havn't ordered the disk and want a reply.
Mike O'Donnell 17/1/89
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯