]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
More fixes to the autocollapsing of paragraphs.
[lyx.git] / src / BufferView_pimpl.C
index ca6784f1ee74eaca260aedd67791637c4f4254d0..2ef0d9848538dd374036b496459ec370c61f7fca 100644 (file)
@@ -367,7 +367,9 @@ int BufferView::Pimpl::resizeCurrentBuffer()
                bv_->theLockingInset(the_locking_inset);
        }
        bv_->text->first = screen_->topCursorVisible(bv_->text);
+#if 0
        buffer_->resizeInsets(bv_);
+#endif
        // this will scroll the screen such that the cursor becomes visible
        updateScrollbar();
        redraw();
@@ -1554,7 +1556,8 @@ bool BufferView::Pimpl::Dispatch(kb_action action, string const & argument)
        case LFUN_PASTESELECTION:
        {
                bool asPara = false;
-               if (argument == "paragraph") asPara = true;
+               if (argument == "paragraph")
+                       asPara = true;
                pasteClipboard(asPara);
        }
        break;