]> git.lyx.org Git - features.git/commitdiff
Remove unused code and comment.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 25 Sep 2007 09:35:36 +0000 (09:35 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 25 Sep 2007 09:35:36 +0000 (09:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20485 a592a061-630c-0410-9148-cb99ea01b6c8

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();