]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
BufferParams.cpp: change the package loading to:
[lyx.git] / src / BufferView.cpp
index 0cef0e7ef3804d357dcb817c58a4ff13586f5e1d..eed6d0403d59b7654c77d5cc875e2105b84e9fe3 100644 (file)
@@ -1116,8 +1116,6 @@ bool BufferView::workAreaDispatch(FuncRequest const & cmd0)
                // not expose the button for redraw. We adjust here the metrics dimension
                // to enable a full redraw in any case as this is not costly.
                TextMetrics & tm = text_metrics_[&buffer_.text()];
-               tm.editXY(cur, cmd.x, cmd.y);
-               // collect cursor paragraph iter bounds
                std::pair<pit_type, ParagraphMetrics const *> firstpm = tm.first();
                std::pair<pit_type, ParagraphMetrics const *> lastpm = tm.last();
                int y1 = firstpm.second->position() - firstpm.second->ascent();