X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXAction.cpp;h=963cfd2b1adfbe45b295783694ea622a6d3fda57;hb=604a3341d9bd6b6bee6f042292f28b89027ca2b5;hp=a0d72bb0265277bbba76a0eba558a96b03c89959;hpb=c64fb28046e8cd23d2f8a0a18b44e20ddaf79463;p=lyx.git diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index a0d72bb026..963cfd2b1a 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1015,6 +1015,17 @@ void LyXAction::init() * \endvar */ { LFUN_SPELLING_IGNORE, "spelling-ignore", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_SPELLING_REMOVE + * \li Action: Remove the word under the cursor from the respective + * spell checker dictionary. + * \li Syntax: spelling-remove [] [] + * \li Params: : word to remove + : language name (see file languages) + * \li Origin: SWitt, 28 July 2010 + * \endvar + */ + { LFUN_SPELLING_REMOVE, "spelling-remove", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_THESAURUS_ENTRY * \li Action: Look up thesaurus entries with respect to the word under the cursor. @@ -1211,14 +1222,14 @@ void LyXAction::init() * \li Syntax: undo * \endvar */ - { LFUN_UNDO, "undo", Noop, Edit }, + { LFUN_UNDO, "undo", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_REDO * \li Action: Redoes the last thing undone. * \li Syntax: redo * \endvar */ - { LFUN_REDO, "redo", Noop, Edit }, + { LFUN_REDO, "redo", ReadOnly, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_REPEAT * \li Action: Repeat the given command. @@ -2335,11 +2346,11 @@ void LyXAction::init() : append-row|append-column|delete-row|delete-column|copy-row|copy-column| toggle-line-top|toggle-line-bottom|toggle-line-left|toggle-line-right| align-left|align-right|align-center|align-block|align-decimal|set-decimal-point| - valign-top|valign-bottom|valign-middle|longtabular-align-left| - longtabular-align-center|longtabular-align-right|m-align-left|m-align-right| - m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn| - set-all-lines|unset-all-lines|set-longtabular|unset-longtabular|set-pwidth| - set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular| + valign-top|valign-bottom|valign-middle|longtabular-align-left| + longtabular-align-center|longtabular-align-right|m-align-left|m-align-right| + m-align-center|m-valign-top|m-valign-bottom|m-valign-middle|multicolumn| + set-all-lines|unset-all-lines|set-longtabular|unset-longtabular|set-pwidth| + set-mpwidth|set-rotate-tabular|unset-rotate-tabular|toggle-rotate-tabular| set-rotate-cell|unset-rotate-cell|toggle-rotate-cell|set-usebox|set-lthead| unset-lthead|set-ltfirsthead|unset-ltfirsthead|set-ltfoot|unset-ltfoot| set-ltlastfoot|unset-ltlastfoot|set-ltnewpage|toggle-ltcaption| @@ -2367,12 +2378,12 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_INSET_SETTINGS * \li Action: Open the inset's properties dialog. * \li Notion: Used for bibitem, bibtex, box, branch, citation, ert, external, - float, graphics, href, include, index, index_print, label, listings, - note, phantom, ref, space, tabular, vspace, wrap insets. + float, graphics, href, include, index, index_print, label, line, + listings, note, phantom, ref, space, tabular, vspace, wrap insets. * \li Syntax: inset-settings * \li Params: : . + graphics|href|include|index|index_print|label|line| + listings|note|phantom|ref|space|tabular|vspace|wrap>. * \endvar */ { LFUN_INSET_SETTINGS, "inset-settings", ReadOnly | AtPoint, Edit }, @@ -2652,7 +2663,7 @@ void LyXAction::init() * \li Syntax: dialog-show [] * \li Params: : aboutlyx|bibitem|bibtex|box|branch|changes|character|citation|\n compare|document|errorlist|ert|external|file|findreplace|findreplaceadv|float|\n - graphics|href|include|index|index_print|info|label|listings|log|mathdelimiter|\n + graphics|href|include|index|index_print|info|label|line|listings|log|mathdelimiter|\n mathmatrix|mathspace|nomenclature|nomencl_print|note|paragraph|phantom|prefs|\n print|ref|sendto|space|spellchecker|symbols|tabular|tabularcreate|\n thesaurus|texinfo|toc|view-source|vspace|wrap| \n