# 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
{ "\\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);
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";
}
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] =
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
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;
}
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.