Update inset-modify description

This commit is contained in:
Juergen Spitzmueller 2016-12-18 14:00:08 +01:00
parent 092bbcede5
commit 57eaf5dc4b
2 changed files with 36 additions and 7 deletions

View 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*

View 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