#include <config.h>
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
#include "GWorkArea.h"
#include "GView.h"
#include "GtkmmX.h"
case 5:
return mouse_button::button5;
}
-
+
// This shouldn't happen, according to gdk docs
lyxerr << "gButtonToLyx: unhandled button index\n";
return mouse_button::button1;
adjustment->changed();
return;
}
- adjustment->set_step_increment(line_height);
+ adjustment->set_step_increment(line_height * 3);
adjustment->set_page_increment(workAreaHeight - line_height);
// Allow the user half a screen of blank at the end
// to make scrollbar consistant with centering the cursor