]> git.lyx.org Git - features.git/blobdiff - src/LyXAction.cpp
Fix bug #740: Wish for added menu item: File->Close all.
[features.git] / src / LyXAction.cpp
index f8e6498b78b9ce16d2106e053b23b16857942c34..892e5a3ba24ff1a4e2a2aee8a5f2481c5904281f 100644 (file)
@@ -2837,6 +2837,15 @@ void LyXAction::init()
  * \endvar
  */
                { LFUN_BUFFER_CLOSE, "buffer-close", ReadOnly, Buffer },
+/*!
+ * \var lyx::FuncCode lyx::LFUN_BUFFER_CLOSE_ALL
+ * \li Action: Closes all buffers.
+ * \li Notion: Closes all buffers, asking whether to save it, etc,
+               if a buffer has been modified.
+ * \li Syntax: buffer-close_all
+ * \endvar
+ */
+               { LFUN_BUFFER_CLOSE_ALL, "buffer-close-all", ReadOnly, Buffer },
 /*!
  * \var lyx::FuncCode lyx::LFUN_BUFFER_EXPORT
  * \li Action: Exports the current buffer (document) to the given format.