]> git.lyx.org Git - features.git/commitdiff
* src/lyxrc.C:
authorMichael Schmitt <michael.schmitt@teststep.org>
Sun, 9 Jul 2006 17:57:15 +0000 (17:57 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Sun, 9 Jul 2006 17:57:15 +0000 (17:57 +0000)
* src/lyxrc.h:
* lib/lyxrc.example: remove wheel jump option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14406 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyxrc.example
src/lyxrc.C
src/lyxrc.h

index ab9ef4876f369942bc2e66c35c61f1c7d2ab2e93..fb7348744baaeb374ae695d82445a822e0fa0a94 100644 (file)
 # 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
index 05f072a31f6f1674c47f0500af17b590540987b0..fd741ab8ff8cfb8f82ee92b43a2c184f8f9eef5d 100644 (file)
@@ -178,8 +178,7 @@ keyword_item lyxrcTags[] = {
        { "\\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 @@ void LyXRC::setDefaults() {
        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 @@ int LyXRC::read(LyXLex & lexrc)
                        }
                        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 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc) const
                        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 @@ string const LyXRC::getDescription(LyXRCTags tag)
        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 02ceec178f83b0f346efa7e3d0751c42e8f264ee..92d19715282cb24aa4ce7cc176f64eb0d30dd2bc 100644 (file)
@@ -249,9 +249,6 @@ public:
        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.