trivial fix to a trivial bug...
Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.1689
diff -u -p -u -r1.1689 ChangeLog
--- ChangeLog 6 Nov 2003 09:51:08 -0000 1.1689
+++ ChangeLog 6 Nov 2003 10:07:12 -0000
@@ -1,5 +1,10 @@
2003-11-06 Alfredo Braunstein <[EMAIL PROTECTED]>
+ * lyxfind.C (replaceAll): mark the buffer dirty if something was
+ replaced
+
+2003-11-06 Alfredo Braunstein <[EMAIL PROTECTED]>
+
* iterators.[Ch] (ParIterator): new PosIterator-based ctor
* bufferview_funcs.C (put_selection_at): use the above
Index: lyxfind.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.C,v
retrieving revision 1.55
diff -u -p -u -r1.55 lyxfind.C
--- lyxfind.C 4 Nov 2003 12:01:09 -0000 1.55
+++ lyxfind.C 6 Nov 2003 10:07:13 -0000
@@ -209,6 +209,8 @@ int replaceAll(BufferView * bv,
PosIterator beg = buf.pos_iterator_begin();
bv->text->init(bv);
put_selection_at(bv, beg, 0, false);
+ if (num)
+ buf.markDirty();
return num;
}