-=> Quoting Donald Roberts to All <=-
DR> First, I hope to create a macro which will start at the beginning of
DR> a text file and reformat each paragraph in that file. Implicit in
DR> designing such a macro is the ability to search for two consecutive
DR> enter commands. Even using the control p literal followed by a
Qedit cannot search for CR/LF. It's "big brother", the
commercial version called "TSE (The Semware Editor") can do this
if you run it in "binary" mode. Depending on what you wish to do
in the way of reformatting the problem may or may not be
solvable with Qedit. I don't work much beyond the simplest of
throwaway macros in Qedit but I've seen some breathtaking
examples of what others have done here in this forum so I
suspect if you describe your specific requirements in more
detail some of the "macro gurus" can tell you whether it is
possible and perhaps indicate how to proceed ;-)
DR> Second, I am somewhat confused about the print command. Specifically,
DR> I wish to print (not save) a disc file. By doing so, I assumed that
DR> there would be the designated left margin, right margin, top margin
DR> and bottom margin. Not so. What I get is a file where the text
DR> begins on line 1, not on line 6 as I had expected. There is a
DR> 10-space left-hand margin as I wished. However, instead of a 10-space
DR> right- hand margin as I had wished, the file is the same width as
I don't use version 3 of Qedit but in version 2 there is a
command "SetRmargin" (R or which probably
does what you want. Qedit always prints the file as displayed so
if you reset the right margin shorter you will need to rewrap
the lines so they fit. Remember it is a text editor not a word
processor so it doesn't, by default fiddle with the length of
the lines. After all many folks use it to edit program code
where sticking in extra line ends is very bad behaviour indeed
;-)
-- Regards --
Sid Lee (FIDO - 1:134/122, Internet - sidlee@agt.net)
--- Blue Wave/Max v2.12
---------------
* Origin: RASCAL BBS [Calgary, Alberta - (403)686-2550] (1:134/122)
|