]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.h
Account for old versions of Pygments
[lyx.git] / src / Counters.h
index 4ba0d004846d2f0f8361e10d9286d5f0754b03f4..360e297070a3bc256bb6f3325ef5d2388b420d63 100644 (file)
@@ -130,6 +130,10 @@ public:
        int value(docstring const & ctr) const;
        /// Reset recursively all the counters that are slaves of the one named by \c ctr.
        void resetSlaves(docstring const & ctr);
+       /// Increment by one master of counter named by \c ctr.
+       /// This also resets the counter named by \c ctr.
+       /// \param utype determines whether we track the counters.
+       void stepMaster(docstring const & ctr, UpdateType utype);
        /// Increment by one counter named by \c ctr, and zeroes slave
        /// counter(s) for which it is the master.
        /// \param utype determines whether we track the counters.