X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=3702810ba0cfd7e2d533253fef6661308bfcdeab;hb=57b69a5efddf9f3c148007322f00dad6c253a2ed;hp=de0e0e8081e08ca5bbfebcc971bcf2294ff941f1;hpb=3c2b3e6907cd2098ba7118bce029f20a43c676ba;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index de0e0e8081..3702810ba0 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -199,6 +199,14 @@ void LyXAction::init() * \endvar */ { LFUN_ACCENT_OGONEK, "accent-ogonek", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_ACCENT_PERISPOMENI + * \li Action: Adds a perispomeni (Greek circumflex) + over the next character typed. + * \li Syntax: accent-perispomeni + * \endvar + */ + { LFUN_ACCENT_PERISPOMENI, "accent-perispomeni", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_ACCENT_TIE * \li Action: Adds a tie \htmlonly (a͡)\endhtmlonly @@ -627,9 +635,9 @@ void LyXAction::init() { LFUN_NEWLINE_INSERT, "newline-insert", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_SEPARATOR_INSERT - * \li Action: Inserts an environment separator or paragraph break. + * \li Action: Inserts an environment separator or latex paragraph break. * \li Syntax: separator-insert [] - * \li Params: : default: plain + * \li Params: : default: plain * \li Origin: ef, 2 May 2014 * \endvar */ @@ -1000,24 +1008,33 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_WORD_CAPITALIZE * \li Action: Capitalizes the words in the selection (i.e. the first letters) - or the letter on the cursor position. - * \li Syntax: word-capitalize + or the first letter of word at cursor position. + * \li Syntax: word-capitalize [] + * \li Params: : if this is equal to "partial", then the + * default word starts at cursor position (emacs-style). + * Otherwise, the whole word is considered. * \endvar */ { LFUN_WORD_CAPITALIZE, "word-capitalize", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WORD_UPCASE - * \li Action: Change the words in the selection or from the cursor position - to the end of word to the upper case. - * \li Syntax: word-upcase + * \li Action: Change the words in the selection or word at cursor position + to upper case. + * \li Syntax: word-upcase [] + * \li Params: : if this is equal to "partial", then the + * default word starts at cursor position (emacs-style). + * Otherwise, the whole word is considered. * \endvar */ { LFUN_WORD_UPCASE, "word-upcase", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_WORD_LOWCASE - * \li Action: Change the words in the selection or from the cursor position - to the end of word to the lower case. - * \li Syntax: word-lowcase + * \li Action: Change the words in the selection or word at cursor position + to lower case. + * \li Syntax: word-lowcase [] + * \li Params: : if this is equal to "partial", then the + * default word starts at cursor position (emacs-style). + * Otherwise, the whole word is considered. * \endvar */ { LFUN_WORD_LOWCASE, "word-lowcase", Noop, Edit }, @@ -2150,7 +2167,7 @@ void LyXAction::init() /*! * \var lyx::FuncCode lyx::LFUN_TABULAR_INSERT * \li Action: Inserts table into the document. - * \li Notion: See #LFUN_INSET_MODIFY for some more details + * \li Notion: See #LFUN_TABULAR_FEATURE for some more details about tabular modifications. * \li Syntax: tabular-insert [ ] * \li Params: In case no arguments are given show insert dialog. @@ -2443,34 +2460,41 @@ void LyXAction::init() floats, graphics, include, index, info, label, listings, newline, newpage, nomencl, note, phantom, ref, space, tabular, vspace, wrap insets. - * \li Syntax: inset-modify - * \li Syntax: inset-modify changetype - * \li Syntax: inset-modify tabular [] + * \li Syntax: inset-modify \n + inset-modify changetype + * \li Sample: inset-modify note Note Comment \n + inset-modify changetype Ovalbox + * \endvar + */ + { LFUN_INSET_MODIFY, "inset-modify", AtPoint, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_TABULAR_FEATURE + * \li Action: Modify properties of tabulars and table-like math environments. + * \li Syntax: tabular-feature [] * \li Params: Generally see #LFUN_INSET_INSERT for further details.\n - In case that is "tabular" various math-environment features - are handled as well, e.g. add-vline-left/right for the Grid/Array environment.\n - : append-row|append-column|delete-row|delete-column|copy-row|\n + * : append-row|append-column|delete-row|delete-column|copy-row|\n copy-column|move-column-right|move-column-left|move-row-down|move-row-up|\n toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right|\n align-left|align-right|align-center|align-block|align-decimal|set-decimal-point|\n valign-top|valign-bottom|valign-middle|longtabular-align-left|\n longtabular-align-center|longtabular-align-right|m-align-left|m-align-right|\n m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn|\n - set-all-lines|unset-all-lines|set-longtabular|unset-longtabular|set-pwidth|\n + set-all-lines|unset-all-lines|toggle-longtabular|set-longtabular|unset-longtabular|set-pwidth|\n set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular|\n set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead|\n unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot|\n set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption|\n set-special-column|set-special-multicolumn|set-special-multirow|\n - set-booktabs|unset-booktabs|set-top-space|set-bottom-space|\n + toggle-booktabs|set-booktabs|unset-booktabs|set-top-space|set-bottom-space|\n set-interline-space|set-border-lines|tabular-valign-top|\n - tabular-valign-middle|tabular-valign-bottom|set-tabular-width + tabular-valign-middle|tabular-valign-bottom|set-tabular-width\n + Various math-environment features are handled as well, e.g. add-vline-left/right for\n + the Grid/Array environment.\n : additional argument for some commands, use debug mode to explore its values. - * \li Sample: inset-modify note Note Comment \n - inset-modify changetype Ovalbox + * \li Origin: gm, 10 Dec 2015 * \endvar */ - { LFUN_INSET_MODIFY, "inset-modify", AtPoint, Edit }, + { LFUN_TABULAR_FEATURE, "tabular-feature", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_INSET_DIALOG_UPDATE * \li Action: Updates the values inside the dialog from the inset.