Re: BufferView::scroll

2007-02-01 Thread Michael Gerz
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

Re: BufferView::scroll

2007-02-01 Thread Abdelrazak Younes
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.

BufferView::scroll

2007-02-01 Thread Michael Gerz
@@ } -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

Obsolete BufferView::scroll?

2007-02-01 Thread Michael Gerz
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