Fix documentation for LFUN_LAYOUT

The argument 'ignorenests' was renamed to 'ignoreautonests' at
d6fb2abb.
This commit is contained in:
Scott Kostyshak 2020-09-12 19:29:01 -04:00
parent 320b6b6656
commit 670da1817e

View File

@ -2386,9 +2386,9 @@ void LyXAction::init()
/*! /*!
* \var lyx::FuncCode lyx::LFUN_LAYOUT * \var lyx::FuncCode lyx::LFUN_LAYOUT
* \li Action: Sets the layout (that is, environment) for the current paragraph. * \li Action: Sets the layout (that is, environment) for the current paragraph.
* \li Syntax: layout <LAYOUT> [ignorenests] * \li Syntax: layout <LAYOUT> [ignoreautonests]
* \li Params: <LAYOUT>: the layout to use\n * \li Params: <LAYOUT>: the layout to use\n
ignorenests: If specified, nesting advices will be ignored. ignoreautonests: If specified, nesting advices will be ignored.
* \endvar * \endvar
*/ */
{ LFUN_LAYOUT, "layout", Noop, Layout }, { LFUN_LAYOUT, "layout", Noop, Layout },
@ -2399,9 +2399,9 @@ void LyXAction::init()
* \li Notion: Contrary to `layout', this function resets the current * \li Notion: Contrary to `layout', this function resets the current
* (or selection) layout to the standard layout it already has the * (or selection) layout to the standard layout it already has the
* correct layout. Useful for toolbar icons. * correct layout. Useful for toolbar icons.
* \li Syntax: layout-toggle <LAYOUT> [ignorenests] * \li Syntax: layout-toggle <LAYOUT> [ignoreautonests]
* \li Params: <LAYOUT>: the layout to toggle\n * \li Params: <LAYOUT>: the layout to toggle\n
ignorenests: If specified, nesting advices will be ignored. ignoreautonests: If specified, nesting advices will be ignored.
* \li Origin: lasgouttes, 14 May 2018 * \li Origin: lasgouttes, 14 May 2018
* \endvar * \endvar
*/ */