commit 7789f3eb37619cc5239d4826b19e76fbcdb61612
Author: Stephan Witt <[email protected]>
Date:   Sat Mar 28 09:24:08 2015 +0100

    #9477 add documentation for optional language argument of 
LFUN_SPELLING_{ADD,REMOVE,IGNORE}

diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 2a6c598..8505940 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 [<STRING>] [<LANG>]
  * \li Params: <WORD>: word to add
                <LANG>: 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 [<WORD>] [<LANG>]
  * \li Params: <WORD>: word to ignore
                <LANG>: 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 [<STRING>] [<LANG>]
  * \li Params: <WORD>: word to remove
-               <LANG>: language name (see file languages)
+ *             <LANG>: language name (see file languages)
  * \li Origin: SWitt, 28 July 2010
  * \endvar
  */

Reply via email to