John McCabe-Dansted wrote:
To reproduce, press the following keys:
Cntl-n   (new document)
Cntl-m  (enter math mode)
a
_
b
->  (leave subscript)
->  (leave mathmode)
<-  (reenter mathmode)
Shift- <-  (selects a_b)
Cntl-m   (changes font)
Cntl-z    (undos change)

Confirmed. Backtrace:

lyx-qt4.exe!std::vector<lyx::MathArray,std::allocator<lyx::MathArray> >::operator[](unsigned int _Pos=1) Line 756 + 0x17 bytes C++

Here pos==1 and size()==1

lyx-qt4.exe!lyx::InsetMathNest::cell(unsigned int i=1)  Line 91 C++
lyx-qt4.exe!lyx::CursorSlice::cell()  Line 46 + 0x38 bytes      C++
lyx-qt4.exe!lyx::DocIterator::cell()  Line 239  C++
lyx-qt4.exe!lyx::`anonymous namespace'::doRecordUndo(lyx::Undo::undo_kind kind=ATOMIC, const lyx::DocIterator & cell={...}, int first_pit=0, int last_pit=0, const lyx::DocIterator & cur={...}, const lyx::BufferParams & bparams={...}, bool isFullBuffer=false, lyx::limited_stack<lyx::Undo> & stack={...}) Line 104 + 0x25 bytes C++ lyx-qt4.exe!lyx::`anonymous namespace'::textUndoOrRedo(lyx::BufferView & bv={...}, lyx::limited_stack<lyx::Undo> & stack={...}, lyx::limited_stack<lyx::Undo> & otherstack={...}) Line 163 + 0x3f bytes C++ lyx-qt4.exe!lyx::textUndo(lyx::BufferView & bv={...}) Line 241 + 0x29 bytes C++ lyx-qt4.exe!lyx::BufferView::dispatch(const lyx::FuncRequest & cmd={...}) Line 734 + 0x9 bytes C++


Reply via email to