Mark



next up previous contents index
Next: Buffers and files Up: Functions Previous: Regular expressions

Mark

 

mark_position

   int mark_position()

Returns the position of the mark, else -1 if has been set no mark.

set_mark

  void set_mark(int pos)

Sets the current buffer mark to pos.

[Note]: for a region defined by mark\_position() and the current position, the current position may be the end or the beginning of the region. Anyway the mark must be defined first.

reset_mark

  void reset_mark()

Removes the mark of the current buffer.

goto_mark

   void goto_mark()

Changes the current position to the mark position.



Lionel Fournigault
Mon Mar 6 13:33:34 MET 1995