]> git.lyx.org Git - features.git/commitdiff
Update inset-modify description
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 18 Dec 2016 13:00:08 +0000 (14:00 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 18 Dec 2016 13:00:08 +0000 (14:00 +0100)
lib/doc/LFUNs.lyx
src/LyXAction.cpp

index de9ab686932fd60d5444025300ca8cc5c81bf3aa..5fad975183905bd6baeca11f9ad2e89236286051 100644 (file)
@@ -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*
index a5b89fb4831115412a36ba5e7acb07fc72714b21..a15fd3d46953d593032fe25bf3d838cabb6684d4 100644 (file)
@@ -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