From 60ef4c5bd98526b9ee4b906b6f289e8f25a5d01f Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 6 Apr 2008 16:17:03 +0000 Subject: [PATCH] Add comment for InsetLayout::lyxtype_. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24140 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 1 + src/insets/InsetLayout.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 92311ed40a..851a0dd2ef 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1075,6 +1075,7 @@ void LyXAction::init() is dissolved. For example "dissolve" entry in the charstyles sub-menu should only dissolve the charstyle inset, even if the cursor is inside several nested insets of different type. + For values see #lyx::InsetLayout::lyxtype_ . * \li Author: JSpitz, 7 Aug 2006 * \endvar */ diff --git a/src/insets/InsetLayout.h b/src/insets/InsetLayout.h index 4706a6d42f..0d6ad2ae4f 100644 --- a/src/insets/InsetLayout.h +++ b/src/insets/InsetLayout.h @@ -78,7 +78,11 @@ public: private: /// docstring name_; - /// + /** + * This is only used (at present) to decide where to put them on the menus. + * Values are 'charstyle', 'custom' (things that by default look like a + * footnote), 'element' (docbook), 'standard'. + */ std::string lyxtype_; /// docstring labelstring_;