]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
fix "make check" with gcc 4.3
[lyx.git] / src / LyXRC.h
index 6c0acda9e5a977a9b6caabd052334bb80d20da5b..3e513e350066d4e96770672209e5973d0a51a1db 100644 (file)
@@ -4,11 +4,11 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author Angus Leeming
  * \author John Levon
- * \author André Pönitz
+ * \author André Pönitz
  * \author Allan Rae
  * \author Dekel Tsur
  *
@@ -38,8 +38,9 @@ public:
        enum LyXRCTags {
                RC_ACCEPT_COMPOUND = 1,
                RC_ALT_LANG,
-               RC_PLAINTEXT_ROFF_COMMAND,
+               RC_AUTOCORRECTION_MATH,
                RC_PLAINTEXT_LINELEN,
+               RC_PLAINTEXT_ROFF_COMMAND,
                RC_AUTOREGIONDELETE,
                RC_AUTORESET_OPTIONS,
                RC_AUTOSAVE,
@@ -62,12 +63,12 @@ public:
                RC_CONVERTER_CACHE_MAXAGE,
                RC_COPIER,
                RC_CURSOR_FOLLOWS_SCROLLBAR,
+               RC_MAC_LIKE_WORD_MOVEMENT,
                RC_CUSTOM_EXPORT_COMMAND,
                RC_CUSTOM_EXPORT_FORMAT,
                RC_DATE_INSERT_FORMAT,
                RC_DEFFILE,
                RC_DEFAULT_LANGUAGE,
-               RC_ENV_GUI_LANGUAGE,
                RC_GUI_LANGUAGE,
                RC_DEFAULT_PAPERSIZE,
                RC_DIALOGS_ICONIFY_WITH_MAIN,
@@ -103,6 +104,7 @@ public:
                RC_MAKE_BACKUP,
                RC_MARK_FOREIGN_LANGUAGE,
                RC_MOUSE_WHEEL_SPEED,
+               RC_NOMENCL_COMMAND,
                RC_NUMLASTFILES,
                RC_PATH_PREFIX,
                RC_PERS_DICT,
@@ -148,6 +150,7 @@ public:
                RC_TEMPLATEPATH,
                RC_TEX_ALLOWS_SPACES,
                RC_TEX_EXPECTS_WINDOWS_PATHS,
+               RC_THESAURUSDIRPATH,
                RC_UIFILE,
                RC_USELASTFILEPOS,
                RC_USER_EMAIL,
@@ -246,6 +249,8 @@ public:
        std::string bibtex_command;
        /// command to run makeindex incl. options or other index programs
        std::string index_command;
+       /// command to run makeindex incl. options for nomencl
+       std::string nomencl_command;
        ///
        std::string document_path;
        ///
@@ -255,6 +260,8 @@ public:
        ///
        std::string tempdir_path;
        ///
+       std::string thesaurusdir_path;
+       ///
        bool auto_region_delete;
        /// flag telling whether lastfiles should be checked for existance
        bool auto_reset_options;
@@ -300,33 +307,27 @@ public:
        ///
        unsigned int autosave;
        ///
-       std::string plaintext_roff_command;
-       ///
        unsigned int plaintext_linelen;
-       /// use library instead of process
-       bool use_spell_lib;
-       /// Ispell command
-       std::string isp_command;
        /// Accept compound words in spellchecker?
-       bool isp_accept_compound;
-       /// Pass input encoding switch to ispell?
-       bool isp_use_input_encoding;
+       bool spellchecker_accept_compound;
+       /// Pass input encoding switch to the spellchecker?
+       bool spellchecker_use_input_encoding;
        /// Use alternate language?
-       bool isp_use_alt_lang;
+       bool spellchecker_use_alt_lang;
        /// Use personal dictionary?
-       bool isp_use_pers_dict;
+       bool spellchecker_use_pers_dict;
        /// Use tooltips?
        bool use_tooltip;
        /// Use pixmap cache?
        bool use_pixmap_cache;
        /// Use escape chars?
-       bool isp_use_esc_chars;
-       /// Alternate language for ispell
-       std::string isp_alt_lang;
-       /// Alternate personal dictionary file for ispell
-       std::string isp_pers_dict;
+       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 isp_esc_chars;
+       std::string spellchecker_esc_chars;
        ///
        bool use_kbmap;
        ///
@@ -364,10 +365,10 @@ public:
        ///
        std::string default_language;
        ///
-       bool env_gui_language;
-       ///
        std::string gui_language;
        ///
+       bool mac_like_word_movement;
+       ///
        bool cursor_follows_scrollbar;
        ///
        enum MacroEditStyle {
@@ -438,6 +439,8 @@ public:
        ///
        int completion_inline_dots;
        ///
+       bool autocorrection_math;
+       ///
        double completion_popup_delay;
        ///
        bool completion_popup_math;
@@ -467,6 +470,9 @@ extern LyXRC lyxrc;
 ///
 extern LyXRC system_lyxrc;
 
+// used by at least frontends/qt4/GuiPref.cpp
+const long maxlastfiles = 20;
+
 } // namespace lyx
 
 #endif