[EMAIL PROTECTED] (Nick V. Pakoulin) writes:

| Thanks for hint, it is in BufferView_pimpl.C
| 
| void BufferView::Pimpl::workAreaButtonPress(int xpos, int ypos,
|                                           unsigned int button)
| 
| I found a magic number 100 there (line 548): what does it mean?
|       // ok ok, this is a hack.
|       if (button == 4 || button == 5) {
|               switch (button) {
|               case 4:
|                       scrollUp(100); // This number is only temporary
|                       break;
|               case 5:
|                       scrollDown(100);
|                       break;
|               }
|       }
| 
| What value it should be for a half of the screen? Or 5 lines?  I really don't
| want to find it out by cyt-and-try method or deep LyX hacking, so ... looking
| forward to your answer ... ;))

You guess is (almost) as good as mine, just try with some different
values, smaller ones probably.

        Lgb

Reply via email to