]> git.lyx.org Git - features.git/commitdiff
Show Biblatex files in the TeXInfo dialog
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 1 Jan 2017 10:34:35 +0000 (11:34 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 1 Jan 2017 10:34:35 +0000 (11:34 +0100)
src/frontends/qt4/GuiTexinfo.cpp
src/frontends/qt4/GuiTexinfo.h

index 06e0fe8048067aab3581f1f5032253b2bd991918..9fbeb5adb2ba9f48cd060bbb1fbe5090ef994d78 100644 (file)
@@ -91,7 +91,7 @@ void GuiTexInfo::rescanClicked()
 void GuiTexInfo::viewClicked()
 {
        // takes advantage of enum order
-       static QString const ext[] = { "cls", "sty", "bst", "bib" };
+       static QString const ext[] = { "cls", "sty", "bst", "bib", "bbx", "cbx" };
        int const fitem = fileListLW->currentRow();
        QStringList const & data = texdata_[activeStyle_];
        QString file = data[fitem];
@@ -118,7 +118,8 @@ void GuiTexInfo::enableViewPB()
 void GuiTexInfo::updateStyles(TexFileType type)
 {
        static QString const filenames[] = {
-               "clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst"
+               "clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst",
+               "bbxFiles.lst", "cbxFiles.lst"
        };
 
        QString const filename = filenames[type];
index f1fd6cf2800d508b123112de9201093649693238..bada1fa2dc986a438f11586384395aa7678a3e4d 100644 (file)
@@ -28,7 +28,15 @@ public:
        ///
        GuiTexInfo(GuiView & lv);
        /// the file extensions. order matters in GuiTexInfo::fileType()
-       enum TexFileType { ClsType = 0, StyType, BstType, BibType, DummyLastType };
+       enum TexFileType {
+               ClsType = 0,
+               StyType,
+               BstType,
+               BibType,
+               BbxType,
+               CbxType,
+               DummyLastType
+       };
 
 public Q_SLOTS:
        ///