X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXRC.h;h=8950ea511c15ca7f64988e13a114703def498c47;hb=da8b5de97;hp=ed7511a6d11a9d454fdff3e0f079d9a79a6ec85a;hpb=5fc2662b1301a8e04db0fa8695e06b363c1de60e;p=lyx.git diff --git a/src/LyXRC.h b/src/LyXRC.h index ed7511a6d1..8950ea511c 100644 --- a/src/LyXRC.h +++ b/src/LyXRC.h @@ -18,9 +18,9 @@ #ifndef LYXRC_H #define LYXRC_H -#include "Length.h" #include "LyX.h" +#include "support/Length.h" #include "support/strfwd.h" #include "support/userinfo.h" @@ -53,6 +53,9 @@ 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, RC_COMPLETION_INLINE_MATH, @@ -243,6 +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"; + /// 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 @@ -546,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"; };