]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.h
* src/LyXRC.{cpp,h}:
[lyx.git] / src / BufferList.h
index 895dc46ee55211daf779c3fc6f154e878bb9b14a..2e62754ee7a7ab0c8f13e7e24ee9b1ddd87ef71d 100644 (file)
@@ -81,6 +81,8 @@ public:
        /// returns true if the buffer is loaded
        bool isLoaded(Buffer const * b) const;
 
+       /// return index of named buffer in buffer list
+       int bufferNum(std::string const & name) const;
        /// returns a pointer to the buffer with the given name.
        Buffer * getBuffer(std::string const &);
        /// returns a pointer to the buffer with the given number.