lt->setSelection(bv_);
if (lt->bv_owner)
toggleToggle();
+ else
+ updateInset(lt->inset_owner, false);
+ }
+ if (lt->bv_owner) {
+ update(lt, BufferView::SELECT|BufferView::FITCUR);
+ showCursor();
}
- update(lt, BufferView::SELECT|BufferView::FITCUR);
- showCursor();
/* ---> Everytime the cursor is moved, show the current font state. */
// should this too me moved out of this func?
case LFUN_ENDSEL:
{
LyXText * lt = bv_->getLyXText();
-
+
update(lt, BufferView::SELECT|BufferView::FITCUR);
lt->cursorEnd(bv_);
finishUndo();
* BufferView_pimpl.C (cursorPrevious): remove old cruft which is
plainly wrong.
(resizeCurrentBuffer): force also the insets to resize themselfes.
+ (moveCursorUpdate): fixed up for InsetText.
2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>