]> git.lyx.org Git - lyx.git/commitdiff
#9477 add documentation for optional language argument of LFUN_SPELLING_{ADD,REMOVE...
authorStephan Witt <switt@lyx.org>
Sat, 28 Mar 2015 08:24:08 +0000 (09:24 +0100)
committerStephan Witt <switt@lyx.org>
Sat, 28 Mar 2015 08:24:08 +0000 (09:24 +0100)
src/LyXAction.cpp

index 2a6c5981740b3b2831202fd19d8adcadd16a7c8d..85059406dbc75e04fd75cbc09184180fa0f6d859 100644 (file)
@@ -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
  */