From: Stephan Witt Date: Sat, 28 Mar 2015 08:24:08 +0000 (+0100) Subject: #9477 add documentation for optional language argument of LFUN_SPELLING_{ADD,REMOVE... X-Git-Tag: 2.2.0alpha1~1098 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7789f3eb37619cc5239d4826b19e76fbcdb61612;p=features.git #9477 add documentation for optional language argument of LFUN_SPELLING_{ADD,REMOVE,IGNORE} --- diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 2a6c598174..85059406db 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1025,6 +1025,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPELLING_ADD * \li Action: Add the word under the cursor to the respective * spell checker dictionary. + * The default for the language is retrieved from the cursor position. * \li Syntax: spelling-add [] [] * \li Params: : word to add : language name (see file languages) @@ -1036,6 +1037,7 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPELLING_IGNORE * \li Action: Let the spell checker ignore the word under the cursor * in the current session for the given language. + * The default for the language is retrieved from the cursor position. * \li Syntax: spelling-ignore [] [] * \li Params: : word to ignore : language name (see file languages) @@ -1047,9 +1049,10 @@ void LyXAction::init() * \var lyx::FuncCode lyx::LFUN_SPELLING_REMOVE * \li Action: Remove the word under the cursor from the respective * spell checker dictionary. + * The default for the language is retrieved from the cursor position. * \li Syntax: spelling-remove [] [] * \li Params: : word to remove - : language name (see file languages) + * : language name (see file languages) * \li Origin: SWitt, 28 July 2010 * \endvar */