]> git.lyx.org Git - lyx.git/blobdiff - src/undo.h
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / undo.h
index 8ce44ce962da5eed385e37b57a40d6b4d0177390..494cf7b6fb70c056edaa1a3a2b08f935aaed314c 100644 (file)
@@ -29,6 +29,7 @@ namespace lyx {
 
 class BufferParams;
 class BufferView;
+class DocIterator;
 class LCursor;
 
 
@@ -118,6 +119,8 @@ void finishUndo();
  */
 
 /// The general case: prepare undo for an arbitrary range.
+/// FIXME: replace LCursor with DocIterator. This is not possible right
+/// now because we need access to Buffer->params()!.
 void recordUndo(LCursor & cur, Undo::undo_kind kind,
        pit_type from, pit_type to);