mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Remove unused code and comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20485 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a622a0645c
commit
585b3217f5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user