jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: How do I get text from the buffer? SLang?


jeremy@xxxxxxxxxx <jeremy@xxxxxxxxxx> wrote:
>I have found where I want to start and end, I have those stored in
>two variables, but I do not know how to then retrieve the text between
>those two columns.

   define extract_text_between_columns (a, b)
   {
       goto_column (a);
       push_mark ();
       goto_column (b);
       return bufsubstr ();
   }

--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>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]