Jean-Marc Lasgouttes wrote:
>>>>>> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes:
> 
> Peter> I've removed your patch and then it doesn't crash any more, but
> Peter> I try it again. I'm using 1.5 svn, maybe this makes the
> Peter> difference.
> 
> It should not change anything. All the patch does is disabling an lfun
> (change depth) when several cells are selected. This lfun is only
> tested to enable/disable the corresponding icon.
> 
> JMarc
> 
> 

I've tried it again, and yes it only crashes with your patch:

Peter> When I apply your patch it crashes when I insert a new 1x1 and
Peter> then press "<-" to move with the cursor into the table.

But I must say that the stl of msvc sometimes is very pedantic, so it
is possible, that you don't get an error with gcc.

trace back while processing LFUN_CHAR_BACKWARD:

lyx-qt4.exe!std::vector<CursorSlice,std::allocator<CursorSlice> 
>::operator[](unsigned int _Pos=1)  Line 741 + 0x17 bytes       C++
lyx-qt4.exe!DocIterator::operator[](unsigned int i=1)  Line 57 + 0x1d bytes     
C++
lyx-qt4.exe!LCursor::anchor()  Line 421 + 0x17 bytes    C++
lyx-qt4.exe!LyXText::changeDepthAllowed(LCursor & cur={...}, 
LyXText::DEPTH_CHANGE type=INC_DEPTH)  Line 411 + 0x16 bytes       C++
lyx-qt4.exe!LyXText::getStatus(LCursor & cur={...}, const FuncRequest & 
cmd={...}, FuncStatus & flag={...})  Line 1553 + 0xe bytes      C++
lyx-qt4.exe!InsetText::getStatus(LCursor & cur={...}, const FuncRequest & 
cmd={...}, FuncStatus & status={...})  Line 312       C++
lyx-qt4.exe!InsetTabular::getStatus(LCursor & cur={...}, const FuncRequest & 
cmd={...}, FuncStatus & status={...})  Line 1053 + 0x65 bytes      C++
lyx-qt4.exe!`anonymous namespace'::getStatus(LCursor cursor={...}, const 
FuncRequest & cmd={...}, FuncStatus & status={...})  Line 173 + 0x26 bytes     
C++
lyx-qt4.exe!LyXFunc::getStatus(const FuncRequest & cmd={...})  Line 624 + 0x27 
bytes    C++
lyx-qt4.exe!lyx::frontend::Action::update()  Line 74 + 0xa1d bytes      C++
lyx-qt4.exe!lyx::frontend::QLToolbar::update()  Line 283 + 0x16 bytes   C++
lyx-qt4.exe!Toolbars::update()  Line 150 + 0x2d bytes   C++
lyx-qt4.exe!Toolbars::update(bool in_math=false, bool in_table=true)  Line 70   
C++
lyx-qt4.exe!LyXView::updateToolbars()  Line 254 C++
lyx-qt4.exe!LyXFunc::sendDispatchMessage(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> > & msg="", 
const FuncRequest & cmd={...})  Line 1637 C++
lyx-qt4.exe!LyXFunc::dispatch(const FuncRequest & cmd={...})  Line 1620 + 0x67 
bytes    C++
lyx-qt4.exe!LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym> keysym={...}, 
key_modifier::state state=none)  Line 336 C++
lyx-qt4.exe!BufferView::Pimpl::workAreaKeyPress(boost::shared_ptr<LyXKeySym> 
key={...}, key_modifier::state state=none)  Line 503       C++
lyx-qt4.exe!BufferView::workAreaKeyPress(boost::shared_ptr<LyXKeySym> 
key={...}, key_modifier::state state=none)  Line 241      C++
lyx-qt4.exe!lyx::frontend::WorkArea::processKeySym(boost::shared_ptr<LyXKeySym> 
key={...}, key_modifier::state state=none)  Line 224    C++

Peter

Reply via email to