par->inset_iterator_end();
for (; it != end; ++it) {
if ((*it) == inset) {
+ text->setCursorIntern(this, par, it.getPos());
theLockingInset(inset);
return true;
}
void BufferView::showLockedInsetCursor(int x, int y, int asc, int desc)
{
- if (available() && theLockingInset()) {
+ if (available() && theLockingInset() && !theLockingInset()->nodraw()) {
LyXCursor cursor = text->cursor;
Inset * locking_inset = theLockingInset()->getLockingInset();