case LyXRC::RC_EXAMPLEPATH:
case LyXRC::RC_FONT_ENCODING:
case LyXRC::RC_FORMAT:
+ case LyXRC::RC_GROUP_LAYOUTS:
case LyXRC::RC_INDEX_COMMAND:
case LyXRC::RC_INPUT:
case LyXRC::RC_KBMAP:
// Save toolbars configuration
if (isFullScreen()) {
- d.toolbars_->toggleFullScreen(!isFullScreen());
- updateToolbars();
+ d.toolbars_->toggleFullScreen(!isFullScreen());
+ updateToolbars();
}
// Make sure the timer time out will not trigger a statusbar update.
Buffer * buf = loadDocument(fullname);
if (buf) {
updateLabels(*buf);
+
setBuffer(buf);
buf->errors("Parse");
str2 = bformat(_("Document %1$s opened."), disp_fn);
}
};
-NoTabFrameMacStyle noTabFramemacStyle;
+NoTabFrameMacStyle noTabFrameMacStyle;
#endif
TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
{
#ifdef Q_WS_MACX
- setStyle(&noTabFramemacStyle);
+ setStyle(&noTabFrameMacStyle);
#endif
QPalette pal = palette();
bool insertCompletion(Cursor & cur, docstring const & s, bool finished);
///
void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const;
+
///
virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
///