Am Donnerstag, dem 11.03.2021 um 15:56 +0100 schrieb Jean-Marc Lasgouttes: > commit 86bfa10abb57a0af7bbddc3af2c7cdb891c77203 > Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> > Date: Thu Mar 11 15:57:06 2021 +0100 > > Adjust bookmark position when inserting/deleting from paragraph > > Without this, bookmarks positions drift when editing.
I get the following crash which seems related to this: * create a 2x2 table * enter something into the cells of the first row * select first row, copy * boom (gdb) bt #0 lyx::Inset::buffer() (this=0x0) at insets/Inset.cpp:201 #1 0x0000000000cac1bf in lyx::Inset::buffer() const (this=<optimized out>) at insets/Inset.cpp:217 #2 0x0000000000a1ec45 in lyx::Paragraph::eraseChar(long, bool) (this=this@entry=0x661f730, pos=pos@entry=0, trackChanges=trackChanges@entry=false) at Paragraph.cpp:925 #3 0x0000000000a71c84 in lyx::moveItem(lyx::Paragraph&, lyx::pos_type, lyx::Paragraph&, lyx::pos_type, lyx::BufferParams const&) (fromPar=..., fromPos=fromPos@entry=0, toPar=..., toPos=toPos@entry=1, params=...) at Text.cpp:98 #4 0x0000000000a76e74 in lyx::mergeParagraph(lyx::BufferParams const&, lyx::ParagraphList&, long) (bparams=..., pars=..., par_offset=par_offset@entry=0) at Text.cpp:155 #5 0x00000000008c7f77 in lyx::cap::copySelection(lyx::Cursor const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (cur=..., plaintext=...) at CutAndPaste.cpp:1133 #6 0x00000000008c8458 in lyx::cap::copySelection(lyx::Cursor const&) (cur=...) at CutAndPaste.cpp:1017 #7 0x0000000000b2f91b in lyx::BufferView::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (this=this@entry=0x499b510, cmd=..., dr=...) at BufferView.cpp:2267 #8 0x0000000000ea7f90 in lyx::frontend::GuiView::dispatchToBufferView(lyx::FuncRequest const&, lyx::DispatchResult&) (this=this@entry=0x22b6850, cmd=..., dr=...) at GuiView.cpp:4097 #9 0x0000000000ebe15f in lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (this=0x22b6850, cmd=..., dr=...) at GuiView.cpp:4834 #10 0x0000000000e85c7b in lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) (this=0x16ccf70, cmd=..., dr=...) at GuiApplication.cpp:2235 #11 0x0000000000e76877 in lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) (this=0x16ccf70, cmd=...) at GuiApplication.cpp:1525 #12 0x00000000009860b9 in lyx::dispatch(lyx::FuncRequest const&) (action=...) at LyX.cpp:1477 #13 0x0000000000e7120e in lyx::frontend::GuiApplication::processFuncRequest(lyx::FuncRequest const&) Jürgen
signature.asc
Description: This is a digitally signed message part
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel