jed-users mailing list

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

move a spot


Hi,

I have problems with the moving of a spot, when inserting any text.

#v+
      check_region(1);
      insert_char('}');
      exchange_point_and_mark();
      insert("\\text"+attrib+"{");
      pop_spot();
#v-

This does, what it should, if the mark defines a canonical region.
Otherwise not.

What's going wrong here? Why doesn't move the spot, if I insert at the
spot any text?

Bye, Joerg.

-- 
Angenehme Worte sind nie wahr,
wahre Worte sind nie angenehm.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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