]> git.lyx.org Git - lyx.git/blobdiff - Status.15x
* src/CutAndPaste.C: simplify code by making use of
[lyx.git] / Status.15x
index 47f271cb8fb0dd796c3f5699bfed54bf3ab78f3c..eb9994e9605d9568ebdd1da2608d223134a04f0c 100644 (file)
@@ -144,20 +144,40 @@ EDITING
 
 * Copy/paste using middle mouse button inserts musical notes.
 
-* open a file; mark with the mouse and scroll; assert will fail:
+* new document; insert note; place cursor in front of the note; activate change tracking;
+  press delete => 
+
+  Assertion triggered in void lyx::LyXText::setCursorIntern(lyx::LCursor&, int, int, bool, bool) by failing check "this == cur.text()" in file /home/software/lyx-trunk/src/text2.C:719
+
+  Relevant part of the stack trace
+  #6  0x082646d0 in lyx::LyXText::setCursorIntern (this=0x8a081e0, cur=@0x88f3ed0, par=0, pos=0, setfont=true,
+      boundary=false) at /home/software/lyx-trunk/src/text2.C:719
+  #7  0x08257dd7 in lyx::LyXText::erase (this=0x8a081e0, cur=@0x88f3ed0) at dociterator.h:94
+  #8  0x0811418a in lyx::LyXText::dispatch (this=0x8a081e0, cur=@0x88f3ed0, cmd=@0xbfffd7e0)
+      at /home/software/lyx-trunk/src/text3.C:571
+  #9  0x0839617e in lyx::InsetText::doDispatch (this=0x8a081b8, cur=@0x88f3ed0, cmd=@0xbfffd7e0)
+      at /home/software/lyx-trunk/src/insets/insettext.C:251
+  #10 0x08303536 in lyx::InsetBase::dispatch (this=0x8a081b8, cur=@0x88f3ed0, cmd=@0xbfffd7e0)
+      at /home/software/lyx-trunk/src/insets/insetbase.C:132
+
+* new document; insert note; insert "hello" into note; place the cursor at the beginning of the note;
+  activate change tracking; press backspace => seg fault
+
+  #0  0x08101348 in lyx::Paragraph::Pimpl::setChange (this=0x8a9e0a0, pos=0, change=@0xbfffca70)
+      at paragraph.h:314
+  #1  0x080fda87 in lyx::Paragraph::setChange (this=0x0, pos=0, change=@0xbfffca70)
+      at /home/software/lyx-trunk/src/paragraph.C:1432
+  #2  0x08248fa0 in lyx::breakParagraphConservative (bparams=@0x8a9d838, pars=@0x8a9d9e4, par_offset=0, pos=0)
+      at changes.h:37
+  #3  0x08155fc2 in lyx::(anonymous namespace)::pasteSelectionHelper (cur=@0x88f3ed0, parlist=@0xbfffce70,
+      textclass=6, errorlist=@0x8910b44) at /home/software/lyx-trunk/src/CutAndPaste.C:233
+  #4  0x0815a98d in lyx::cap::pasteParagraphList (cur=@0x88f3ed0, parlist=@0xbfffce70, textclass=6,
+      errorList=@0x8910b44) at /home/software/lyx-trunk/src/CutAndPaste.C:630
+  #5  0x08258cb2 in lyx::LyXText::dissolveInset (this=0x8aacd38, cur=@0x88f3ed0)
+      at /home/software/lyx-trunk/src/text.C:1844
+  #6  0x082588a8 in lyx::LyXText::backspace (this=0x8aacd38, cur=@0x88f3ed0)
+      at /home/software/lyx-trunk/src/text.C:1756
 
-  Row const & LyXText::getRowNearY(BufferView const & bv, int y, pit_type pit) const
-  {
-       Paragraph const & par = pars_[pit];
-       int yy = bv.coordCache().get(this, pit).y_ - par.ascent();
-       BOOST_ASSERT(!par.rows().empty());
-       RowList::const_iterator rit = par.rows().begin();
-       RowList::const_iterator const rlast = boost::prior(par.rows().end());
-       for (; rit != rlast; yy += rit->height(), ++rit)
-               if (yy + rit->height() > y)
-                       break;
-       return *rit;
-  }
 
 MENUS
 
@@ -170,19 +190,21 @@ LAYOUT
 
 PAINTING & PERFORMANCE
 
-* Selection highlighting is broken. Test case: two paragraphs with "Hello"
-  and "World"; move cursor past "Wor", press Shift+Up 
+* Too much painting 2 (Edwin 3/11/2006): There is also a lot of painting going
+  on when selecting text. When selecting a word the whole screen is repainted.
+  PARTLY FIXED (Abdel 2006-11-20): there's a full repaint only when the mouse is
+  released. More to come in this area.
 
 * Too much painting 1 (Edwin 3/11/2006): when i click in the workarea (to put
   the cursor in another part of the text) the screen is repainted *twice*
   whereas it seems to me that no repainting is necessary at all.
-
-* Too much painting 2 (Edwin 3/11/2006): There is also a lot of painting going
-  on when selecting text. When selecting a word the whole screen is repainted.
+  PARTLY FIXED (Abdel 2006-11-20): except for math insets.
 
 * Too much painting 3 (Edwin 3/11/2006): the screen is repainted even when the
   selection does not change (moving the mouse with the left button pushed down 
   always triggers a repaint).
+  PARTLY FIXED (Abdel 2006-11-20): When within the main text inset only the
+  current line is repainted.
 
 * The cursor is not L-shaped for foreign languages
 
@@ -427,3 +449,10 @@ CREDITS:
 * M-x is broken (does not bring up the minibuffer).
   FIXED (Bo, 2006-11-18): set toolbar flag in display function.
 
+* open a file; mark with the mouse and scroll; assert will fail:
+  FIXED (Abdel 2006-11-20): side effect of updateMetrics() cleanup.
+  
+* Selection highlighting is broken. Test case: two paragraphs with "Hello"
+  and "World"; move cursor past "Wor", press Shift+Up 
+  FIXED (Abdel 2006-11-20): side effect of updateMetrics() cleanup.
+  
\ No newline at end of file