[fpc-devel]Fold functionality in dos Ide
startx
startx at geocities.com
Thu Oct 19 14:07:48 CEST 2000
Hello to all,
I've just seen the new functions in dos Ide for folding lines.
As it is in earlier development stage, I think this is the best moment
to express my opinions. By me, I would prefer a more automated way to
fold lines, ie. move the cursor at the beginning of a line, and press a
key to fold the following lines until a match condition is encountered.
If the first line contains a Procedure or Function keyword, then a
matching END is searched for. If the line contains a comment char, like
(*, then fold until the closing one. The same, may be, could be
applicable to other pascal blocks (records and objects).
Moreover, it would be very interesting to SAVE the file mantaining the
current folds. May be using a special sequence in comments, for example
(*$FOLD*)...(*$FOLDEND*). This way, it could possible to include a lot
of comments in a source, without having to scroll them out when editing.
In case we had the possibility to save, an easier way to select the
lines to fold becomes less important - for every file the work would be
done just once.
Another nice thing would be nested folds. This way, for example, an
entire INTERFACE section could be folded, still containing subfolders
for types and other declarations.
Another last thing (honest): how about let the user define keystrokes? I
mean, I hate to type Ctrl-Q-F to search for text (I prefer Ctrl-F). This
is not difficult to do like the points before.
Let me know about my ideas - thanks and cheers.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
More information about the fpc-devel
mailing list