- Subject: Re: format_rest_of_paragraph
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Mon, 9 Jan 2006 17:44:28 -0500
Dave Kuhlman <dkuhlman@xxxxxxxxxxxxxxx> wrote:
> define format_rest_of_paragraph ()
> {
> push_mark();
> bol();
> push_mark();
> newline();
> call("format_paragraph");
> pop_mark(1);
> call("backward_delete_char");
> pop_mark(1);
> }
Here is a variation on that:
define format_rest_of_paragraph ()
{
push_spot ();
forward_paragraph ();
push_mark ();
pop_spot ();
narrow ();
call ("format_paragraph");
widen ();
}
Thanks,
--John
--------------------------
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]