]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
* GuiDocument.cpp:
[lyx.git] / src / LyXRC.h
index 23f1d9ccbbf1e06ff726c6518096b2b35fa565fa..bc5450480518815f92e8567d532425c943c843a1 100644 (file)
@@ -22,8 +22,8 @@
 
 #include "support/strfwd.h"
 
+#include <set>
 #include <string>
-#include <vector>
 
 
 namespace lyx {
@@ -40,8 +40,6 @@ public:
                RC_ACCEPT_COMPOUND = 1,
                RC_ALT_LANG,
                RC_AUTOCORRECTION_MATH,
-               RC_PLAINTEXT_LINELEN,
-               RC_PLAINTEXT_ROFF_COMMAND,
                RC_AUTOREGIONDELETE,
                RC_AUTORESET_OPTIONS,
                RC_AUTOSAVE,
@@ -65,13 +63,11 @@ public:
                RC_CONVERTER_CACHE_MAXAGE,
                RC_COPIER,
                RC_CURSOR_FOLLOWS_SCROLLBAR,
-               RC_MAC_LIKE_WORD_MOVEMENT,
                RC_DATE_INSERT_FORMAT,
-               RC_DEFFILE,
                RC_DEFAULT_LANGUAGE,
                RC_DEFAULT_VIEW_FORMAT,
-               RC_GUI_LANGUAGE,
                RC_DEFAULT_PAPERSIZE,
+               RC_DEFFILE,
                RC_DIALOGS_ICONIFY_WITH_MAIN,
                RC_DISPLAY_GRAPHICS,
                RC_DOCUMENTPATH,
@@ -87,6 +83,7 @@ public:
                RC_FULL_SCREEN_WIDTH,
                RC_GEOMETRY_SESSION,
                RC_GROUP_LAYOUTS,
+               RC_GUI_LANGUAGE,
                RC_INDEX_ALTERNATIVES,
                RC_INDEX_COMMAND,
                RC_INPUT,
@@ -106,13 +103,17 @@ public:
                RC_LANGUAGE_USE_BABEL,
                RC_LOADSESSION,
                RC_MACRO_EDIT_STYLE,
+               RC_MAC_LIKE_WORD_MOVEMENT,
                RC_MAKE_BACKUP,
                RC_MARK_FOREIGN_LANGUAGE,
                RC_MOUSE_WHEEL_SPEED,
                RC_NOMENCL_COMMAND,
                RC_NUMLASTFILES,
+               RC_OPEN_BUFFERS_IN_TABS,
                RC_PATH_PREFIX,
                RC_PERS_DICT,
+               RC_PLAINTEXT_LINELEN,
+               RC_PLAINTEXT_ROFF_COMMAND,
                RC_PREVIEW,
                RC_PREVIEW_HASHED_LABELS,
                RC_PREVIEW_SCALE_FACTOR,
@@ -149,7 +150,6 @@ public:
                RC_SERVERPIPE,
                RC_SET_COLOR,
                RC_SHOW_BANNER,
-               RC_OPEN_BUFFERS_IN_TABS,
                RC_SORT_LAYOUTS,
                RC_SPELL_COMMAND,
                RC_SPELLCHECK_CONTINUOUSLY,
@@ -250,13 +250,13 @@ public:
        /// command to run chktex incl. options
        std::string chktex_command;
        /// all available commands to run bibtex incl. options
-       std::vector<std::string> bibtex_alternatives;
+       std::set<std::string> bibtex_alternatives;
        /// command to run bibtex incl. options
        std::string bibtex_command;
        /// command to run japanese bibtex incl. options
        std::string jbibtex_command;
        /// all available index commands incl. options
-       std::vector<std::string> index_alternatives;
+       std::set<std::string> index_alternatives;
        /// command to run makeindex incl. options or other index programs
        std::string index_command;
        /// command to run japanese index program incl. options
@@ -324,22 +324,12 @@ public:
        unsigned int plaintext_linelen;
        /// Accept compound words in spellchecker?
        bool spellchecker_accept_compound;
-       /// Pass input encoding switch to the spellchecker?
-       bool spellchecker_use_input_encoding;
-       /// Use alternate language?
-       bool spellchecker_use_alt_lang;
-       /// Use personal dictionary?
-       bool spellchecker_use_pers_dict;
        /// Use tooltips?
        bool use_tooltip;
        /// Use pixmap cache?
        bool use_pixmap_cache;
-       /// Use escape chars?
-       bool spellchecker_use_esc_chars;
        /// Alternate language for spellchecker
        std::string spellchecker_alt_lang;
-       /// Alternate personal dictionary file for the spellchecker
-       std::string spellchecker_pers_dict;
        /// Escape characters
        std::string spellchecker_esc_chars;
        /// spellcheck continuously?