Hello,

another xforms relict bites the dust.

Michael


Index: src/lyxrc.C
===================================================================
--- src/lyxrc.C	(Revision 14401)
+++ src/lyxrc.C	(Arbeitskopie)
@@ -178,8 +178,7 @@
 	{ "\\user_name", LyXRC::RC_USER_NAME },
 	{ "\\view_dvi_paper_option", LyXRC::RC_VIEWDVI_PAPEROPTION },
 	// compatibility with versions older than 1.4.0 only
-	{ "\\viewer" ,LyXRC::RC_VIEWER},
-	{ "\\wheel_jump", LyXRC::RC_WHEEL_JUMP }
+	{ "\\viewer" ,LyXRC::RC_VIEWER}
 };
 
 const int lyxrcCount = sizeof(lyxrcTags) / sizeof(keyword_item);
@@ -227,7 +226,6 @@
 	geometry_width = 0;
 	geometry_height = 0;
 	geometry_xysaved = true;
-	wheel_jump = 5;
 	// Default LaTeX font size:
 	font_sizes[LyXFont::SIZE_TINY] = "5.0";
 	font_sizes[LyXFont::SIZE_SCRIPT] = "7.0";
@@ -657,12 +655,6 @@
 			}
 			break;
 
-		case RC_WHEEL_JUMP:
-			if (lexrc.next()) {
-				wheel_jump = lexrc.getInteger();
-			}
-			break;
-
 		case RC_SCREEN_FONT_SIZES:
 			if (lexrc.next()) {
 				font_sizes[LyXFont::SIZE_TINY] =
@@ -1516,11 +1508,6 @@
 			os << "\\screen_geometry_xysaved " << convert<string>(geometry_xysaved)
 			   << '\n';
 		}
-	case RC_WHEEL_JUMP:
-		if (ignore_system_lyxrc ||
-		    wheel_jump != system_lyxrc.wheel_jump) {
-			os << "\\wheel_jump " << wheel_jump << '\n';
-		}
 	case RC_CURSOR_FOLLOWS_SCROLLBAR:
 		if (ignore_system_lyxrc ||
 		    cursor_follows_scrollbar
@@ -2517,10 +2504,6 @@
 	case RC_VIEWER:
 		break;
 
-	case RC_WHEEL_JUMP:
-		str = _("The number of lines that are scrolled by mice with wheels or five button mice.");
-		break;
-
 	case RC_LAST:
 		break;
 	}
Index: src/lyxrc.h
===================================================================
--- src/lyxrc.h	(Revision 14401)
+++ src/lyxrc.h	(Arbeitskopie)
@@ -249,9 +249,6 @@
 	bool geometry_xysaved;
 	/// Zoom factor for screen fonts
 	unsigned int zoom;
-	/// parameter for button_4 and button_5 (scrollwheel)
-	/// Only used by the xforms frontend
-	unsigned int wheel_jump;
 	/// Screen font sizes in points for each font size
 	std::string font_sizes[10];
 	/// Allow the use of scalable fonts? Default is yes.
Index: lib/lyxrc.example
===================================================================
--- lib/lyxrc.example	(Revision 14401)
+++ lib/lyxrc.example	(Arbeitskopie)
@@ -178,11 +178,6 @@
 # is 150%.
 #\screen_zoom 100
 
-# The wheel movement factor (for mice with wheels or five button mice)
-# Default is 100, about a page down. A value of 10 give me about a line and
-# a half
-#\wheel_jump 10
-
 # LyX normally doesn't update the cursor position if you move the scrollbar.
 # If you scroll the cursor off the screen and then start typing LyX will
 # move you back to where the cursor was. If you'd prefer to always have the

Reply via email to