X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=c068db9bea464c370623357665b448b4f74f3ecb;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=77cf3ea4f1cad394deacdbe25d099861bd4a2cfb;hpb=71623b88b2c613dd4ab826a9783a53e840bcd6e1;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 77cf3ea4f1..c068db9bea 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -574,7 +574,7 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_BUFFER_EXPORT * \li Action: Exports the current buffer (document) to the given format. - * \li Syntax: buffer-export [] + * \li Syntax: buffer-export [] [] * \li Params: is either "custom" or one of the formats which you can find in Tools->Preferences->File formats->Format. Usual format you will enter is "pdf2" (pdflatex), @@ -582,7 +582,9 @@ void LyXAction::init() In case of "custom" you will be asked for a format you want to start from and for the command that you want to apply to this format. Internally the control is then passed - to #LFUN_BUFFER_EXPORT_CUSTOM. + 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. @@ -876,6 +878,26 @@ void LyXAction::init() */ { LFUN_BUFFER_WRITE_AS, "buffer-write-as", ReadOnly, Buffer }, +/*! + * \var lyx::FuncCode lyx::LFUN_BUFFER_EXTERNAL_MODIFICATION_CLEAR + * \li Action: Clear the external modification flag on the current buffer. + * \li Syntax: buffer-external-modification-clear + * \li Origin: gm, 2 March 2017 + * \endvar + */ + { LFUN_BUFFER_EXTERNAL_MODIFICATION_CLEAR, + "buffer-external-modification-clear", ReadOnly, Buffer }, + +/*! +* \var lyx::FuncCode lyx::LFUN_BUFFER_ZOOM +* \li Action: Sets the zoom of the screen fonts. +* \li Syntax: buffer-zoom [] +* \li Params: : The zoom in % points (neg. or pos.), the default is to reset to zoom savd in preferences. +* \li Origin: daniel, 28 Oct 2016 +* \endvar +*/ + { LFUN_BUFFER_ZOOM, "buffer-zoom", ReadOnly, Buffer }, + /*! * \var lyx::FuncCode lyx::LFUN_BUFFER_ZOOM_IN * \li Action: Increases the zoom of the screen fonts. @@ -1081,7 +1103,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_CHAR_DELETE_BACKWARD * \li Action: Deletes one character in the backward direction (usually the "BackSpace" key). * \li Syntax: char-delete-backward [force] - * \li Params: force: Delete big insets, do no only select them. + * \li Params: force: Delete big insets, do not only select them. * \endvar */ { LFUN_CHAR_DELETE_BACKWARD, "char-delete-backward", SingleParUpdate, Edit }, @@ -1090,7 +1112,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_CHAR_DELETE_FORWARD * \li Action: Deletes one character in the backward direction (usually the "Delete" key). * \li Syntax: char-delete-forward [force] - * \li Params: force: Delete big insets, do no only select them. + * \li Params: force: Delete big insets, do not only select them. * \endvar */ { LFUN_CHAR_DELETE_FORWARD, "char-delete-forward", SingleParUpdate, Edit }, @@ -1737,6 +1759,15 @@ void LyXAction::init() */ { LFUN_FONT_STRIKEOUT, "font-strikeout", Noop, Layout }, +/*! + * \var lyx::FuncCode lyx::LFUN_FONT_CROSSOUT + * \li Action: Toggles xout (cross-through) in the font (selection-wise). + * \li Syntax: font-crossout + * \li Origin: uwestoehr, 4 April 2017 + * \endvar + */ + { LFUN_FONT_CROSSOUT, "font-crossout", Noop, Layout }, + /*! * \var lyx::FuncCode lyx::LFUN_FONT_TYPEWRITER * \li Action: Toggles the typewriter family font (selection-wise). @@ -2010,7 +2041,7 @@ 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 \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 Transform all yellow notes to comments \n @@ -3250,6 +3281,7 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_REPEAT * \li Action: Repeat the given command. + * \li Notion: fails when the repeat count is greater than 10000. * \li Syntax: repeat * \li Origin: Andre, 27 Oct 2003 * \endvar @@ -3510,8 +3542,9 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPECIALCHAR_INSERT * \li Action: Inserts various characters into the document. * \li Syntax: specialchar-insert - * \li Params: : hyphenation, ligature-break, slash, nobreakdash, dots, - end-of-sentence, menu-separator, lyx, tex, latex, latex2e. + * \li Params: : hyphenation, allowbreak, ligature-break, slash, + nobreakdash, dots, end-of-sentence, menu-separator, + lyx, tex, latex, latex2e. * \li Origin: JSpitzm, 6 Dec 2007 * \endvar */ @@ -3714,6 +3747,18 @@ void LyXAction::init() */ { LFUN_THESAURUS_ENTRY, "thesaurus-entry", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_TOOLBAR_MOVABLE + * \li Action: Toggles movability of a given toolbar between true/false. + * \li Syntax: toolbar-movable + * \li Params: : *|standard|extra|table|math|mathmacrotemplate|\n + minibuffer|review|view/update|math_panels|vcs| + view-others|update-others +* \li Origin: daniel, 12 July 2016 +* \endvar +*/ + { LFUN_TOOLBAR_MOVABLE, "toolbar-movable", NoBuffer, Buffer }, + /*! * \var lyx::FuncCode lyx::LFUN_TOOLBAR_TOGGLE * \li Action: Toggles visibility of a given toolbar between on/off/auto. @@ -4010,7 +4055,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_WORD_DELETE_BACKWARD * \li Action: Deletes characters to the beginning of the word (usually the "C+BackSpace" key). * \li Syntax: word-delete-backward [force] - * \li Params: force: Delete big insets, do no only select them. + * \li Params: force: Delete big insets, do not only select them. * \endvar */ { LFUN_WORD_DELETE_BACKWARD, "word-delete-backward", Noop, Edit }, @@ -4019,7 +4064,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_WORD_DELETE_FORWARD * \li Action: Deletes characters to the end of the word (usually the "C+Delete" key). * \li Syntax: word-delete-forward [force] - * \li Params: force: Delete big insets, do no only select them. + * \li Params: force: Delete big insets, do not only select them. * \endvar */ { LFUN_WORD_DELETE_FORWARD, "word-delete-forward", Noop, Edit },