From: Juergen Spitzmueller Date: Sun, 18 Dec 2016 13:00:08 +0000 (+0100) Subject: Update inset-modify description X-Git-Tag: 2.3.0alpha1~609 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=57eaf5dc4bffb300bd69660209c0edcd55387d7b;p=features.git Update inset-modify description --- diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx index de9ab68693..5fad975183 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 \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 a5b89fb483..a15fd3d469 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 \n inset-modify changetype * \li Sample: Change a Note inset into a Comment inset: \n