Fix inset-select-all for insets with multiple paragraphs

This commit is contained in:
Jean-Marc 2014-11-10 11:56:21 +01:00
parent 9eae2b141d
commit 093a1fe14c

View File

@ -1825,9 +1825,11 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
} else {
// select current cell
cur.pos() = 0;
cur.pit() = 0;
cur.resetAnchor();
cur.setSelection(true);
cur.pos() = cur.lastpos();
cur.pit() = cur.lastpit();
}
dr.screenUpdate(Update::Force);
break;