[LyX/master] Fix documentation for LFUN_LAYOUT
Scott Kostyshak
skostysh at lyx.org
Sat Sep 12 23:06:18 UTC 2020
commit 670da1817e30241d9aeb76660cf9518ff3bee071
Author: Scott Kostyshak <skostysh at lyx.org>
Date: Sat Sep 12 19:29:01 2020 -0400
Fix documentation for LFUN_LAYOUT
The argument 'ignorenests' was renamed to 'ignoreautonests' at
d6fb2abb.
---
src/LyXAction.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 3e1e023..23cc745 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -2386,9 +2386,9 @@ void LyXAction::init()
/*!
* \var lyx::FuncCode lyx::LFUN_LAYOUT
* \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
- ignorenests: If specified, nesting advices will be ignored.
+ ignoreautonests: If specified, nesting advices will be ignored.
* \endvar
*/
{ LFUN_LAYOUT, "layout", Noop, Layout },
@@ -2399,9 +2399,9 @@ void LyXAction::init()
* \li Notion: Contrary to `layout', this function resets the current
* (or selection) layout to the standard layout it already has the
* 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
- ignorenests: If specified, nesting advices will be ignored.
+ ignoreautonests: If specified, nesting advices will be ignored.
* \li Origin: lasgouttes, 14 May 2018
* \endvar
*/
More information about the lyx-cvs
mailing list