Abdelrazak Younes schrieb:
Michael Gerz wrote:
Abdel,
do you think we can remove this unused and disabled method or would
you like to keep it?
This is old code (not mine). I would be nice nevertheless to implement
that method. So I suggest to comment it but not remove it (maybe with
a TODO
Michael Gerz wrote:
Abdel,
do you think we can remove this unused and disabled method or would you
like to keep it?
This is old code (not mine). I would be nice nevertheless to implement
that method. So I suggest to comment it but not remove it (maybe with a
TODO).
Abdel.
@@
}
-void BufferView::scroll(int /*lines*/)
-{
-// if (!buffer_)
-// return;
-//
-// LyXText const * t = &buffer_->text();
-// int const line_height = defaultRowHeight();
-//
-// // The new absolute coordinate
-// int new_top_y = top_y() + lines * line
Is there any reason why we keep BufferView::scroll?
It does nothing (at least all its code is commented out) and is also unused.
Shall I remove it?
Michael