LyXAction.cpp: Whitespace and line breaking fixes.

This commit is contained in:
Juergen Spitzmueller 2017-12-31 18:57:27 +01:00
parent 99ae8d58c8
commit 8a6fa01d14

View File

@ -584,7 +584,7 @@ void LyXAction::init()
apply to this format. Internally the control is then passed apply to this format. Internally the control is then passed
to #LFUN_BUFFER_EXPORT_CUSTOM.\n to #LFUN_BUFFER_EXPORT_CUSTOM.\n
If absent or "default", then the default output format of the If absent or "default", then the default output format of the
document is used. document is used.\n
<DEST> If present, this argument provides the export destination <DEST> If present, this argument provides the export destination
filename. Its containing folder will also be the destination filename. Its containing folder will also be the destination
folder, where all the needed external files will be copied. folder, where all the needed external files will be copied.
@ -1018,7 +1018,7 @@ void LyXAction::init()
* \var lyx::FuncCode lyx::LFUN_CHANGES_OUTPUT * \var lyx::FuncCode lyx::LFUN_CHANGES_OUTPUT
* \li Action: Toggles showing of change tracking in typeset output. * \li Action: Toggles showing of change tracking in typeset output.
* \li Syntax: changes-output * \li Syntax: changes-output
* \li Origin: jspitzm, 21 Jan 2005 * \li Origin: spitz, 21 Jan 2005
* \endvar * \endvar
*/ */
{ LFUN_CHANGES_OUTPUT, "changes-output", Noop, Edit }, { LFUN_CHANGES_OUTPUT, "changes-output", Noop, Edit },
@ -1467,7 +1467,7 @@ void LyXAction::init()
* \li Notion: Internally uses #LFUN_DIALOG_SHOW , #LFUN_DIALOG_HIDE . * \li Notion: Internally uses #LFUN_DIALOG_SHOW , #LFUN_DIALOG_HIDE .
* \li Syntax: dialog-toggle <NAME> [<DATA>] * \li Syntax: dialog-toggle <NAME> [<DATA>]
* \li Params: See #LFUN_DIALOG_SHOW . * \li Params: See #LFUN_DIALOG_SHOW .
* \li Origin: JSpitzm, 30 Apr 2007 * \li Origin: spitz, 30 Apr 2007
* \endvar * \endvar
*/ */
{ LFUN_DIALOG_TOGGLE, "dialog-toggle", NoBuffer, Edit }, { LFUN_DIALOG_TOGGLE, "dialog-toggle", NoBuffer, Edit },
@ -1515,9 +1515,9 @@ void LyXAction::init()
* \li Action: Splits the current environment with a Separator. * \li Action: Splits the current environment with a Separator.
* \li Syntax: environment-split [outer|previous] * \li Syntax: environment-split [outer|previous]
* \li Params: outer: If this is given, LyX will split the outermost environment in * \li Params: outer: If this is given, LyX will split the outermost environment in
the current nesting hierarchy. the current nesting hierarchy.\n
previous: If this is given, LyX will split the environment in the previous previous: If this is given, LyX will split the environment in the previous
paragraph (is there is one). paragraph (is there is one).\n
before: If this is given, the new environment will be appended rather than before: If this is given, the new environment will be appended rather than
prepended. prepended.
* \li Origin: spitz, 23 Dec 2012 * \li Origin: spitz, 23 Dec 2012
@ -2022,7 +2022,7 @@ void LyXAction::init()
* \li Syntax: inset-edit [<INSET_PARAMS>] * \li Syntax: inset-edit [<INSET_PARAMS>]
* \li Params: <INSET_PARAMS>: Parameters for the inset. \n * \li Params: <INSET_PARAMS>: Parameters for the inset. \n
Currently only the filename will be considered. Currently only the filename will be considered.
* \li Origin: JSpitzm, 27 Apr 2006 * \li Origin: spitz, 27 Apr 2006
* \endvar * \endvar
*/ */
{ LFUN_INSET_EDIT, "inset-edit", ReadOnly | AtPoint, Edit }, { LFUN_INSET_EDIT, "inset-edit", ReadOnly | AtPoint, Edit },
@ -2197,7 +2197,7 @@ void LyXAction::init()
* \li Syntax: ipamacro-insert <CHAR> * \li Syntax: ipamacro-insert <CHAR>
* \li Params: <CHAR>: tone-falling, tone-rising, tone-high-rising, tone-low-rising, * \li Params: <CHAR>: tone-falling, tone-rising, tone-high-rising, tone-low-rising,
* tone-high-rising-falling, deco bottomtiebar, deco toptiebar. * tone-high-rising-falling, deco bottomtiebar, deco toptiebar.
* \li Origin: JSpitzm, 22 Aug 2012 * \li Origin: spitz, 22 Aug 2012
* \endvar * \endvar
*/ */
{ LFUN_IPAMACRO_INSERT, "ipamacro-insert", Noop, Edit }, { LFUN_IPAMACRO_INSERT, "ipamacro-insert", Noop, Edit },
@ -2314,7 +2314,7 @@ 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> [ignorenests]
* \li Params: <LAYOUT>: the layout to use * \li Params: <LAYOUT>: the layout to use\n
ignorenests: If specified, nesting advices will be ignored. ignorenests: If specified, nesting advices will be ignored.
* \endvar * \endvar
*/ */
@ -2958,7 +2958,7 @@ void LyXAction::init()
* \li Action: Inserts a line break or new line. * \li Action: Inserts a line break or new line.
* \li Syntax: newline-insert [<ARG>] * \li Syntax: newline-insert [<ARG>]
* \li Params: <ARG>: <newline|linebreak> default: newline * \li Params: <ARG>: <newline|linebreak> default: newline
* \li Origin: JSpitzm, 25 Mar 2008 * \li Origin: spitz, 25 Mar 2008
* \endvar * \endvar
*/ */
{ LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit }, { LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit },
@ -3065,7 +3065,7 @@ void LyXAction::init()
* \li Syntax: paragraph-break [<LAYOUT>] [ignoresep] * \li Syntax: paragraph-break [<LAYOUT>] [ignoresep]
* \li Params: <LAYOUT>: "inverse" - decreases depth by one (or change layout * \li Params: <LAYOUT>: "inverse" - decreases depth by one (or change layout
to default layout) when the cursor is at the end of to default layout) when the cursor is at the end of
the line. the line.\n
ignoresep: Do not account for paragraph separators while breaking. ignoresep: Do not account for paragraph separators while breaking.
* \endvar * \endvar
*/ */
@ -3564,7 +3564,7 @@ void LyXAction::init()
hfill*, dotfill, hrulefill, hspace, hspace* \n hfill*, dotfill, hrulefill, hspace, hspace* \n
Only in math mode: med and thick.\n Only in math mode: med and thick.\n
<LEN>: length for custom spaces (hspace, hspace* for protected) <LEN>: length for custom spaces (hspace, hspace* for protected)
* \li Origin: JSpitzm, 20 May 2003, Mar 17 2008 * \li Origin: spitz, 20 May 2003, Mar 17 2008
* \endvar * \endvar
*/ */
{ LFUN_SPACE_INSERT, "space-insert", Noop, Edit }, { LFUN_SPACE_INSERT, "space-insert", Noop, Edit },
@ -3576,7 +3576,7 @@ void LyXAction::init()
* \li Params: <CHAR>: hyphenation, allowbreak, ligature-break, slash, * \li Params: <CHAR>: hyphenation, allowbreak, ligature-break, slash,
nobreakdash, dots, end-of-sentence, menu-separator, nobreakdash, dots, end-of-sentence, menu-separator,
lyx, tex, latex, latex2e. lyx, tex, latex, latex2e.
* \li Origin: JSpitzm, 6 Dec 2007 * \li Origin: spitz, 6 Dec 2007
* \endvar * \endvar
*/ */
{ LFUN_SPECIALCHAR_INSERT, "specialchar-insert", Noop, Edit }, { LFUN_SPECIALCHAR_INSERT, "specialchar-insert", Noop, Edit },
@ -3589,7 +3589,7 @@ void LyXAction::init()
* \li Syntax: spelling-add [<STRING>] [<LANG>] * \li Syntax: spelling-add [<STRING>] [<LANG>]
* \li Params: <WORD>: word to add * \li Params: <WORD>: word to add
<LANG>: language name (see file languages) <LANG>: language name (see file languages)
* \li Origin: JSpitzm, 18 Jan 2010 * \li Origin: spitz, 18 Jan 2010
* \endvar * \endvar
*/ */
{ LFUN_SPELLING_ADD, "spelling-add", ReadOnly, Edit }, { LFUN_SPELLING_ADD, "spelling-add", ReadOnly, Edit },
@ -3612,7 +3612,7 @@ void LyXAction::init()
* \li Syntax: spelling-ignore [<WORD>] [<LANG>] * \li Syntax: spelling-ignore [<WORD>] [<LANG>]
* \li Params: <WORD>: word to ignore * \li Params: <WORD>: word to ignore
<LANG>: language name (see file languages) <LANG>: language name (see file languages)
* \li Origin: JSpitzm, 18 Jan 2010 * \li Origin: spitz, 18 Jan 2010
* \endvar * \endvar
*/ */
{ LFUN_SPELLING_IGNORE, "spelling-ignore", ReadOnly, Edit }, { LFUN_SPELLING_IGNORE, "spelling-ignore", ReadOnly, Edit },
@ -3782,7 +3782,7 @@ void LyXAction::init()
* \var lyx::FuncCode lyx::LFUN_TOOLBAR_MOVABLE * \var lyx::FuncCode lyx::LFUN_TOOLBAR_MOVABLE
* \li Action: Toggles movability of a given toolbar between true/false. * \li Action: Toggles movability of a given toolbar between true/false.
* \li Syntax: toolbar-movable <NAME> * \li Syntax: toolbar-movable <NAME>
* \li Params: <NAME>: *|standard|extra|table|math|mathmacrotemplate|\n * \li Params: <NAME>: *|standard|extra|table|math|mathmacrotemplate|
minibuffer|review|view/update|math_panels|vcs| minibuffer|review|view/update|math_panels|vcs|
view-others|update-others view-others|update-others
* \li Origin: daniel, 12 July 2016 * \li Origin: daniel, 12 July 2016