]> git.lyx.org Git - features.git/blobdiff - src/LyXRC.h
Improve error msg.
[features.git] / src / LyXRC.h
index 530a78187f6cbe718434552c4c6de0da6c2dce45..74c0e4cfe104fdd194a2e67badccda5276eff3a8 100644 (file)
@@ -51,6 +51,7 @@ public:
                RC_BIBTEX_ALTERNATIVES,
                RC_BIBTEX_COMMAND,
                RC_BINDFILE,
+               RC_BOOKMARKS_VISIBILITY,
                RC_CHECKLASTFILES,
                RC_CHKTEX_COMMAND,
                RC_CITATION_SEARCH,
@@ -194,7 +195,7 @@ public:
        ///
        LyXRC() : user_name(support::user_name()),
                  user_email(support::user_email()) // always empty
-               {};
+               {}
 
        /// \param check_format: whether to try to convert the file format,
        /// if it is not current. this should only be true, really, for the
@@ -318,6 +319,7 @@ public:
        int defaultZoom = 150;
        /// Actual zoom factor for screen fonts
        /// (default zoom plus buffer zoom factor)
+       /// Do not set directly. Use GuiView::setCurrentZoom()
        int currentZoom = 150;
        /// Screen font sizes in points for each font size
        std::string font_sizes[10] = { "5.0", "7.0", "8.0", "9.0", "10.0",
@@ -370,7 +372,7 @@ public:
        /// Accept compound words in spellchecker?
        bool spellchecker_accept_compound = false;
        /// spellcheck continuously?
-       bool spellcheck_continuously = false;
+       bool spellcheck_continuously = true;
        /// spellcheck notes and comments?
        bool spellcheck_notes = true;
        ///
@@ -563,6 +565,14 @@ public:
        int cursor_width = 0;
        /// One of: yes, no, ask
        std::string close_buffer_with_last_view = "yes";
+       enum BookmarksVisibility {
+               BMK_NONE,
+               BMK_MARGIN,
+               BMK_INLINE
+       };
+
+       ///
+       BookmarksVisibility bookmarks_visibility = BMK_NONE;
 };