screen().hideCursor();
}
-
-LyXText * BufferView::getLyXText() const
+LyXText * BufferView::getLyXText()
{
LyXText * text = cursor().innerText();
BOOST_ASSERT(text);
}
+LyXText const * BufferView::getLyXText() const
+{
+ LyXText const * text = cursor().innerText();
+ BOOST_ASSERT(text);
+ return text;
+}
+
+
void BufferView::haveSelection(bool sel)
{
pimpl_->workarea().haveSelection(sel);
cursor().selection() = false;
}
-
void BufferView::putSelectionAt(DocIterator const & cur,
int length, bool backwards)
{