From 7789f3eb37619cc5239d4826b19e76fbcdb61612 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sat, 28 Mar 2015 09:24:08 +0100 Subject: [PATCH] #9477 add documentation for optional language argument of LFUN_SPELLING_{ADD,REMOVE,IGNORE} --- src/LyXAction.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.39.2