X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=92da4d7293a1f2a26964278692498f6deba1daaf;hb=04c0cce43e255eaf1350ceddee2b03585310bfdc;hp=8b13630d8688552b990ad00f5d158f1dc8b2b2c8;hpb=d38eddb397de982a379d8c0644c6ca2190c67fe9;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 8b13630d86..92da4d7293 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1048,7 +1048,7 @@ void LyXAction::init() * \li Origin: Levon, 16 Oct 2002 * \endvar */ - { LFUN_CHANGES_MERGE, "changes-merge", Noop, Edit }, + { LFUN_CHANGES_MERGE, "changes-merge", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CHANGES_OUTPUT @@ -2225,6 +2225,20 @@ void LyXAction::init() */ { LFUN_INSET_SETTINGS, "inset-settings", ReadOnly | AtPoint, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_INSET_SPLIT + * \li Action: Splits the current inset into two at current position. + * \li Syntax: inset-split [] + * \li Params: : this can be used to make sure the right kind of inset + is dissolved. For example "split" entry in the charstyles + sub-menu should only dissolve the charstyle inset, even if the + cursor is inside several nested insets of different type.\n + For values see #lyx::InsetLayout::lyxtype_ . + * \li Origin: spitz, 22 Dec 2020 + * \endvar + */ + { LFUN_INSET_SPLIT, "inset-split", AtPoint, Edit }, + /*! * \var lyx::FuncCode lyx::LFUN_INSET_TOGGLE * \li Action: Toggles the collapsible inset at cursor position, @@ -3459,7 +3473,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SEARCH_IGNORE * \li Action: Enables/disables searching for features in findadv * \li Syntax: search-ignore - * \li Params: : language|color|sectioning|font|series|shape|family|markup|underline|strike + * \li Params: : language|color|sectioning|font|series|shape|family|markup|underline|strike|deleted * \li Params: : true|false * \endvar */ @@ -3680,10 +3694,11 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_SET_COLOR - * \li Action: Set the given LyX color to the color defined by the X11 name given. + * \li Action: Set the given LyX color to the color defined by the X11 name given, + * and optionally a specific color for dark mode. * \li Notion: A new color entry is created if the color is unknown. Color names can be stored as a part of user settings. - * \li Syntax: set-color + * \li Syntax: set-color [] * \li Origin: SLior, 11 Jun 2000 * \endvar */ @@ -3974,6 +3989,19 @@ void LyXAction::init() */ { LFUN_TOOLBAR_MOVABLE, "toolbar-movable", NoBuffer, Buffer }, +/*! + * \var lyx::FuncCode lyx::LFUN_TOOLBAR_SET + * \li Action: Sets visibility of a given toolbar to on, off, or auto. + * \li Notion: Skipping "auto" when allowauto is false. + * \li Syntax: toolbar-set [on|off|auto] + * \li Params: : standard|extra|table|math|mathmacrotemplate|\n + minibuffer|review|view/update|math_panels|vcs| + view-others|update-others + * \li Origin: spitz, 17 Dec 2020 + * \endvar + */ + { LFUN_TOOLBAR_SET, "toolbar-set", NoBuffer, Buffer }, + /*! * \var lyx::FuncCode lyx::LFUN_TOOLBAR_TOGGLE * \li Action: Toggles visibility of a given toolbar between on/off/auto. @@ -4536,13 +4564,13 @@ bool LyXAction::funcHasFlag(FuncCode action, } -LyXAction::const_iterator LyXAction::func_begin() const +LyXAction::const_iterator LyXAction::begin() const { return lyx_func_map.begin(); } -LyXAction::const_iterator LyXAction::func_end() const +LyXAction::const_iterator LyXAction::end() const { return lyx_func_map.end(); }