home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
484
/
EF12.ZIP
/
FOLD.HLP
< prev
next >
Wrap
Text File
|
1993-06-14
|
4KB
|
119 lines
╔════════════════════════════╗
║ Welcome to ■EasyFold■! ║
╚════════════════════════════╝
This file must be read using the ■EasyFold■ editor.
Try looking in the first fold by moving your cursor down to it and typing
CTRL-PgUp, or if you have a mouse, position the pointer over the fold and
click the RIGHT HAND button.
/*HS!!1*/This is a fold, notice the '>' mark on the left of the screen.
Here is the contents of the fold...
You can close a fold by typing CTRL-PgDn, or if you have a mouse, position
the mouse pointer within the fold and click the RIGHT HAND button.
/*HH121*/Have a look in this next one...
/*HS!!2*/This is a 2nd level fold, notice the '»' mark on the left.
Notice that when you close the top level fold you will see no trace of
this fold
/*HH232*/This is another fold at level 2
The cursor may be positioned before or after the fold character, if it is
before the fold then the cursor will be shown as a solid block.
/*HS!!3*/This is a 3rd level fold, notice the number '3' on the left of the screen.
This fold will be hidden when you close the 2nd level fold above.
/*HH2!2*/This is yet another fold at level 2
Sorry there's not much interesting in this one!
/*HH1!1*/How to make a fold
1) Go down to the line with the words "top line of fold".
2) Type CTRL-U. Notice a fold mark '>' appear on the left.
3) Go to the line "1st line after fold" and type CTRL-U again.
4) Move the cursor up a line or two so that it is BETWEEN the two fold marks
and press CTRL-PgDn, the fold will now close.
5) To make the fold open type CTRL-PgUp.
Last line before fold
Top line of fold
second line in fold
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah
Last line within fold
1st line after fold
/*HH1!1*/Promotion and demotion
To change folds to different levels you must "promote" or "demote" them.
To promote a fold move the cursor on to the fold line and type
<Esc> then <Right>, to demote type <Esc> then <Left>.
IMPORTANT: A fold may only be promoted/demoted when it is not in use, ie
it is open and the preceeding fold is open. To release a fold ready for
deleting, type Ctrl-R with the cursor at the fold line.
/*HH1!1*/To delete a fold
Move the cursor on to the fold line and type Ctrl-D.
IMPORTANT: A fold may only be deleted when it is not in use.
/*HH1!1*/You can use folds in programs!
You can use folds with programs written in 'C', C++, Pascal, Modula 2,
assembler, prolog and some BASICs because the folding information is stored
in the comment style of the language.
/*HH1!1*/An example program
/*
This 'C' program will compile and run with the folds in.
*/
main()
{
/*HS!!2*//* local variables */
int i;
/*HH2!2*//* print starting messages */
printf("hello world\n");
printf("Here are the numbers from 1 to 10\n");
/*HH2!2*//* print numbers from 1 to 10 */
for (i = 1;i <= 10;i++)
{
printf("%d\n",i);
}
/*HH2!2*//* print ending messages */
printf("What a silly program!\n");
printf("Bye!\n");
/*SH2!2*/}
/*HH1!1*/Now you know how to open and close folds...
you can read the folded manual "EFMAN.DOC".
/*SH1!1*/
/*#CP=00000:XX=99*/