]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiRef.h
Make code a bit easier to read
[lyx.git] / src / frontends / qt / GuiRef.h
index 02ef307ac5dc8ffe2a3f43d435663e80285171c6..7f8860bd5355c52b933619399bc0ce5244e52eba 100644 (file)
@@ -106,8 +106,10 @@ private:
        int restored_buffer_;
        /// store the last active buffer
        int active_buffer_;
-       /// the references
-       std::vector<docstring> refs_;
+       /// the references as three strings: plain label name, label as gui
+       /// string, and pretty dereferenced name ("Lemma 3")
+       /// FIXME: might be a good idea to use a custom struct
+       std::vector<std::tuple<docstring, docstring, docstring>> refs_;
 };
 
 } // namespace frontend