- Subject: RE: format_rest_of_paragraph
- From: <ntatham1@xxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 09:48:42 -0000
> John E. Davis said
>
> Here is a variation on that:
>
> define format_rest_of_paragraph ()
> {
> push_spot ();
> forward_paragraph ();
> push_mark ();
> pop_spot ();
> narrow ();
> call ("format_paragraph");
> widen ();
> }
This didn't quite work because it removed the blank line after the
paragraph. (Why?)
So I have used:
define wps_format_rest_of_para() {
push_spot ();
forward_paragraph ();
push_mark ();
insert("\n") ;
pop_spot ();
narrow ();
call ("format_paragraph");
widen ();
}
which appears to work fine!
Thanks for the help,
Nick
--
Nick Tatham
Reading, UK
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]