|
From: | Miguel de Benito Delgado |
Subject: | Re: [Texmacs-dev] Atomic undo? |
Date: | Fri, 29 Jul 2011 23:58:54 +0200 |
(clear-undo-history clear_undo_history (void))
(commit-changes end_editing (void))
(start-slave start_slave (void double))
(mark-start mark_start (void double))
(mark-end mark_end (void double))
(mark-cancel mark_cancel (void double))
(remove-undo-mark remove_undo_mark (void))
(add-undo-mark add_undo_mark (void))
(unredoable-undo unredoable_undo (void))
(undo-possibilities undo_possibilities (int))
(undo undo (void int))
(redo-possibilities redo_possibilities (int))
(redo redo (void int))
(show-history show_history (void))
I am to write a code which will modify a buffer:
First it deletes an object (a <bookmark> tag).
Second it inserts a similar object in an other place of the document.
I want that TeXmacs would consider it a single operation in terms of undo history, so that an undo operation would undo two modifications of the buffer at once not one-by-one.
--
Victor Porton - http://portonvictor.org
_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev
[Prev in Thread] | Current Thread | [Next in Thread] |