]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / LyXRC.h
index 1f32fef496dd88ba082092ef9728edc4d8cae5a4..530a78187f6cbe718434552c4c6de0da6c2dce45 100644 (file)
@@ -53,6 +53,8 @@ public:
                RC_BINDFILE,
                RC_CHECKLASTFILES,
                RC_CHKTEX_COMMAND,
+               RC_CITATION_SEARCH,
+               RC_CITATION_SEARCH_PATTERN,
                RC_CITATION_SEARCH_VIEW,
                RC_COMPLETION_CURSOR_TEXT,
                RC_COMPLETION_INLINE_DELAY,
@@ -244,13 +246,15 @@ public:
        /// default paper size for local xdvi/dvips/ghostview/whatever
        /// command to run chktex incl. options
        std::string chktex_command = "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38";
-       // Name of external script, which searches for file corresponding to a 
-       // given citation. At this moment only script "lyxpaperview" is supported
-       // (search for pdf based on author+year), but we can generalize if requested.
-       // Citation context menu item "Open Citation Content" will be always enabled
-       // if the name of this script in nonempty (last resort when citation entry
-       // does not contain neccessary info.
+       /// Use external script to search for file corresponding to a 
+       /// given citation.
+       bool citation_search = false;
+       /// Name of external script which searches for file corresponding to a 
+       /// given citation. At this moment only script lyxpaperview.p is supported
+       /// (search for pdf or ps based on specific items)
        std::string citation_search_view;
+       /// Items to search for in citation_search_view
+       std::string citation_search_pattern = "%year% %abbrvciteauthor%";
        /// all available commands to run bibtex incl. options
        CommandSet bibtex_alternatives;
        /// command to run bibtex incl. options
@@ -369,8 +373,6 @@ public:
        bool spellcheck_continuously = false;
        /// spellcheck notes and comments?
        bool spellcheck_notes = true;
-       /// minimum length of words to complete
-       unsigned int completion_minlength = 6;
        ///
        bool use_kbmap = false;
        ///
@@ -519,6 +521,8 @@ public:
        bool completion_inline_text = false;
        ///
        int completion_inline_dots = -1;
+       /// minimum length of words to complete
+       unsigned int completion_minlength = 6;
        ///
        double completion_popup_delay = 2.0;
        ///
@@ -554,8 +558,9 @@ public:
        };
        ///
        ScrollWheelZoom scroll_wheel_zoom = SCROLL_WHEEL_ZOOM_CTRL;
+       // FIXME: should be caret_width
        ///
-       int cursor_width = 1;
+       int cursor_width = 0;
        /// One of: yes, no, ask
        std::string close_buffer_with_last_view = "yes";
 };