Hello Jean-Marc,

Would you like to comment on that?

I don't really understand the problem but the delete mechanism seems to work well when two BufferView shows the same buffer.

Abdel.
Index: text2.C
===================================================================
--- text2.C     (revision 15636)
+++ text2.C     (working copy)
@@ -1265,12 +1265,6 @@
                    && oldpar.isLineSeparator(old.pos() - 1)
                    && !oldpar.isDeleted(old.pos() - 1)) {
                        oldpar.eraseChar(old.pos() - 1, false); // do not track 
changes in DEPM
-#ifdef WITH_WARNINGS
-#warning This will not work anymore when we have multiple views of the same 
buffer
-// In this case, we will have to correct also the cursors held by
-// other bufferviews. It will probably be easier to do that in a more
-// automated way in CursorSlice code. (JMarc 26/09/2001)
-#endif
                        // correct all cursor parts
                        if (same_par) {
                                fixCursorAfterDelete(cur.top(), old.top());

Reply via email to