On Mon, Oct 21, 2002 at 05:16:40AM +0930, Darren Freeman wrote: > I assume for the moment it is measured in lines.
I don't think so. default is 100, that's a lot of lines. I do not know its units. > I get this from the lines in text3.C: > text3.C: bv->scroll(-lyxrc.wheel_jump); > text3.C: bv->scroll(lyxrc.wheel_jump); Right. > So I will hack scroll() do do the right thing in this case. I hope it > doesn't get called anywhere else =) I grepped for it and I don't think > so. It doesn't. > Shit, this is the second time LyX locked up my machine, requiring a hard > reset. Whuuh ?? Sounds like your X version has some bugs :) > Anyway, some observations. scrollDocView() handles scrolling ofthe > bottom of the document fine, drawing a border and grey below. But off > the top and it displays repetitions of the first few lines of the > document. Personally I would like to be able to scroll the document > until the last line is just visible. This is handy when you can't see > part of the window due to covering up the window for some reason. You > want to be able to move the last line all the way to the wrong edge. You probably have to pin the value between 0 and bv_->text->height. > I now have working mouse wheel support, but the scroll rate varies > depending upon the content I'm viewing. Please check the patch and tell > me why... Do you mean the length of the content ? > Since I'm new at this, please tell me how to generate a patch for you from CVS. > > I've modified my anonymously checked-out version of 3 files. I'd like to create > one of those diff-patch thingies that everyone seems to like =) cvs diff -u >lyx.diff > I'm going to bed now, but rest assured that this time tomorrow you will have a > patch for mousewheel support.. Great. Thanks for spending time on this. regards john -- "It's a cardboard universe ... and if you lean too hard against it, you fall through." - Philip K. Dick