commit 57eaf5dc4bffb300bd69660209c0edcd55387d7b
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sun Dec 18 14:00:08 2016 +0100

    Update inset-modify description
---
 lib/doc/LFUNs.lyx |   34 +++++++++++++++++++++++++++++++---
 src/LyXAction.cpp |    9 +++++----
 2 files changed, 36 insertions(+), 7 deletions(-)

diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx
index de9ab68..5fad975 100644
--- a/lib/doc/LFUNs.lyx
+++ b/lib/doc/LFUNs.lyx
@@ -2506,7 +2506,7 @@ Action Modify some properties of an inset.
 \end_layout
 
 \begin_layout Description
-Notion Used for bibitem, bibtex, box, branch, command, ert, external, floats, 
graphics, include, index, info, label, listings, newline, newpage, nomencl, 
note, phantom, ref, space, tabular, vspace, wrap insets.
+Notion Used for argument, bibitem, bibtex, box, branch, caption, citation, 
command, ert, external, float, graphics, include, index, info, label, line, 
listings, newline, newpage, nomencl, note, phantom, quotes, ref, script, 
separator, space, tabular, vspace and wrap insets.
 \end_layout
 
 \begin_layout Description
@@ -2518,11 +2518,39 @@ inset-modify changetype <TYPE>
 \end_layout
 
 \begin_layout Description
-Sample inset-modify note Note Comment
+Sample Change a Note inset into a Comment inset:
 \begin_inset Newline newline
 \end_inset
 
-              inset-modify changetype Ovalbox
+inset-modify note Note Comment
+\begin_inset Newline newline
+\end_inset
+
+Change a Box into an Ovalbox:
+\begin_inset Newline newline
+\end_inset
+
+inset-modify changetype Ovalbox
+\begin_inset Newline newline
+\end_inset
+
+Change a quotation mark to e[nglish style], l[eft side], s[ingle]
+\begin_inset Newline newline
+\end_inset
+
+inset-modify changetype els
+\begin_inset Newline newline
+\end_inset
+
+Change only the style of a quotation mark, maintaining the other aspects (. = 
wildcard)
+\begin_inset Newline newline
+\end_inset
+
+inset-modify changetype e..
+\begin_inset Newline newline
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection*
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index a5b89fb..a15fd3d 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -2470,10 +2470,11 @@ void LyXAction::init()
 /*!
  * \var lyx::FuncCode lyx::LFUN_INSET_MODIFY
  * \li Action: Modify some properties of an inset.
- * \li Notion: Used for bibitem, bibtex, box, branch, command, ert, external,
-                        floats, graphics, include, index, info, label,
-                        listings, newline, newpage, nomencl, note, phantom,
-                        quote, ref, space, tabular, vspace, wrap insets.
+ * \li Notion: Used for argument, bibitem, bibtex, box, branch, caption, 
citation,
+                        command, ert, external, float, graphics, include, 
index,
+                        info, label, line, listings, newline, newpage, nomencl,
+                        note, phantom, quotes, ref, script, separator, space,
+                        tabular, vspace and wrap insets.
  * \li Syntax: inset-modify <INSET> <ARGS> \n
                inset-modify changetype <TYPE>
  * \li Sample: Change a Note inset into a Comment inset: \n

Reply via email to