On Wednesday 27 November 2002 12:54 pm, Andre Poenitz wrote: > The following patch seems to provide a smoother Cursor/Page up/down > than we currently have. > > As it is fairly intrusive (over 100 lines removed) I would not mind if > someone else had a look.
This is inconsistent, would't compile on my box and will have Lars jumping up and down crying "don't pass const int". For reasons I've yet to fathom. Angus +++ lyxtext.h 27 Nov 2002 12:43:43 -0000 + void setCursorFromCoordinates(BufferView *, + int x, int y, bool selecting = false) const; +++ text2.C 27 Nov 2002 12:43:43 -0000 void LyXText::setCursorFromCoordinates(BufferView * bview, LyXCursor & cur, - int x, int y) const + const int x, const int y, bool selecting) const