From 8a6fa01d1420510d4562c93658b5444caac4d688 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 31 Dec 2017 18:57:27 +0100 Subject: [PATCH] LyXAction.cpp: Whitespace and line breaking fixes. --- src/LyXAction.cpp | 108 +++++++++++++++++++++++----------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 6acbdb47c2..3decef75e2 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -584,10 +584,10 @@ void LyXAction::init() apply to this format. Internally the control is then passed to #LFUN_BUFFER_EXPORT_CUSTOM.\n If absent or "default", then the default output format of the - document is used. - If present, this argument provides the export destination - filename. Its containing folder will also be the destination - folder, where all the needed external files will be copied. + document is used.\n + If present, this argument provides the export destination + filename. Its containing folder will also be the destination + folder, where all the needed external files will be copied. * \li Origin: Lgb, 29 Jul 1997 * \endvar */ @@ -632,17 +632,17 @@ void LyXAction::init() * \li Syntax: buffer-forall * \li Params: : The command to be applied to the buffers. * \li Sample: Close all Notes in buffers: \n - buffer-forall inset-forall Note inset-toggle close \n + buffer-forall inset-forall Note inset-toggle close \n Toggle change tracking on buffers: \n - buffer-forall changes-track \n + buffer-forall changes-track \n Toggle read-only for buffers: \n - buffer-forall buffer-toggle-read-only \n + buffer-forall buffer-toggle-read-only \n Show statistics for individual buffers: \n - buffer-forall statistics \n + buffer-forall statistics \n Activate the branch named "Solutions" in buffers: \n - buffer-forall branch-activate Solutions \n + buffer-forall branch-activate Solutions \n Export buffers to PDF (pdflatex): \n - buffer-forall buffer-export pdf2 \n + buffer-forall buffer-export pdf2 \n * \li Origin: skostysh, 20 Jul 2012 * \endvar */ @@ -1018,7 +1018,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_CHANGES_OUTPUT * \li Action: Toggles showing of change tracking in typeset output. * \li Syntax: changes-output - * \li Origin: jspitzm, 21 Jan 2005 + * \li Origin: spitz, 21 Jan 2005 * \endvar */ { 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 Syntax: dialog-toggle [] * \li Params: See #LFUN_DIALOG_SHOW . - * \li Origin: JSpitzm, 30 Apr 2007 + * \li Origin: spitz, 30 Apr 2007 * \endvar */ { LFUN_DIALOG_TOGGLE, "dialog-toggle", NoBuffer, Edit }, @@ -1514,12 +1514,12 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_ENVIRONMENT_SPLIT * \li Action: Splits the current environment with a Separator. * \li Syntax: environment-split [outer|previous] - * \li Params: outer: If this is given, LyX will split the outermost environment in - the current nesting hierarchy. - previous: If this is given, LyX will split the environment in the previous - paragraph (is there is one). - before: If this is given, the new environment will be appended rather than - prepended. + * \li Params: outer: If this is given, LyX will split the outermost environment in + the current nesting hierarchy.\n + previous: If this is given, LyX will split the environment in the previous + paragraph (is there is one).\n + before: If this is given, the new environment will be appended rather than + prepended. * \li Origin: spitz, 23 Dec 2012 * \endvar */ @@ -1553,7 +1553,7 @@ void LyXAction::init() * \endvar */ { LFUN_EXPORT_CANCEL, "export-cancel", ReadOnly | NoUpdate | NoInternal, Edit }, - + /*! * \var lyx::FuncCode lyx::LFUN_FILE_INSERT * \li Action: Inserts another LyX file. @@ -1846,7 +1846,7 @@ void LyXAction::init() number in LyX window. * \li Notion: The external program used for forward search call can be specified in LyX Output preferences. See Additional manual for details of these - settings. + settings. * \li Syntax: forward-search * \li Origin: sanda, 14 Apr 2010 * \endvar @@ -1929,14 +1929,14 @@ void LyXAction::init() * \li Params: : shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|icon|buffer \n : argument for a given type. Look into InsetInfo.h for detailed description. \n - shortcut[s]: name of lfun (e.g math-insert \alpha) \n - lyxrc: name of rc_entry (e.g. bind_file) \n - lyxinfo: "version" - used version of LyX \n - package: name of latex package (e.g. listings) \n - textclass: name of textclass (e.g. article) \n - menu: name of lfun used in menu \n - icon: icon of lfun used in toolbar or direct icon name\n - buffer: "name"|"path"|"class"|"vcs-tree-revision"| + shortcut[s]: name of lfun (e.g math-insert \alpha) \n + lyxrc: name of rc_entry (e.g. bind_file) \n + lyxinfo: "version" - used version of LyX \n + package: name of latex package (e.g. listings) \n + textclass: name of textclass (e.g. article) \n + menu: name of lfun used in menu \n + icon: icon of lfun used in toolbar or direct icon name\n + buffer: "name"|"path"|"class"|"vcs-tree-revision"| "vcs-revision"|"vcs-author"|"vcs-date"|"vcs-time" * \li Sample: command-sequence info-insert buffer path; info-insert buffer name * \li Origin: bpeng, 7 Oct 2007 @@ -2022,7 +2022,7 @@ void LyXAction::init() * \li Syntax: inset-edit [] * \li Params: : Parameters for the inset. \n Currently only the filename will be considered. - * \li Origin: JSpitzm, 27 Apr 2006 + * \li Origin: spitz, 27 Apr 2006 * \endvar */ { LFUN_INSET_EDIT, "inset-edit", ReadOnly | AtPoint, Edit }, @@ -2070,13 +2070,13 @@ void LyXAction::init() matches all note insets, while "Note:Note" only matches LyX yellow note insets. * \li Sample: Remove all index insets: \n - inset-forall Index char-delete-forward force \n + inset-forall Index char-delete-forward force \n Close all Notes (also works for a particular branch, for example): \n - inset-forall Note inset-toggle close \n + inset-forall Note inset-toggle close \n Transform all yellow notes to comments \n - inset-forall Note:Note inset-modify note Note Comment \n + inset-forall Note:Note inset-modify note Note Comment \n Try to put LyX in an infinite loop if there is at least a Note: \n - inset-forall Note char-backward + inset-forall Note char-backward * \li Origin: lasgouttes, 27 Nov 2009 * \endvar */ @@ -2088,7 +2088,7 @@ void LyXAction::init() * \li Action: Insert new inset (type given by the parameters). * \li Syntax: inset-insert * \li Params: : \n + hyperlink|include|index|label|line|nomencl|vspace|ref|toc|script>\n : depends on the given inset. Use "lyx -dbg action" to explore. * \li Sample: inset-insert ref LatexCommand reference "