Improve documentation of inset-(begin|end)(|-select)

Make it clear that it can go at the beginning/end of the document.

(cherry picked from commit f4693ef8ab)
This commit is contained in:
Jean-Marc Lasgouttes 2018-02-22 17:00:54 +01:00
parent 797babd462
commit 2e67181036

View File

@ -1950,8 +1950,10 @@ void LyXAction::init()
/*! /*!
* \var lyx::FuncCode lyx::LFUN_INSET_BEGIN * \var lyx::FuncCode lyx::LFUN_INSET_BEGIN
* \li Action: Move the cursor to the beginning of the current inset * \li Action: Move the cursor to the beginning of the current inset
if it is not already there, or at the beginning of the if it is not already there. If the cursor is already at
enclosing inset otherwise the beginning of the current inset, move it to the
beginning of the enclosing inset or the main work area,
respectively, if there is no enclosing inset.
* \li Syntax: inset-begin * \li Syntax: inset-begin
* \li Origin: lasgouttes, 16 Mar 2009 * \li Origin: lasgouttes, 16 Mar 2009
* \endvar * \endvar
@ -1961,8 +1963,10 @@ void LyXAction::init()
/*! /*!
* \var lyx::FuncCode lyx::LFUN_INSET_BEGIN_SELECT * \var lyx::FuncCode lyx::LFUN_INSET_BEGIN_SELECT
* \li Action: Move the cursor to the beginning of the current inset * \li Action: Move the cursor to the beginning of the current inset
if it is not already there, or at the beginning of the if it is not already there. If the cursor is already at
enclosing inset otherwise (adding the the beginning of the current inset, move it to the
beginning of the enclosing inset or the main work area,
respectively, if there is no enclosing inset (adding the
traversed text to the selection). traversed text to the selection).
* \li Syntax: inset-begin-select * \li Syntax: inset-begin-select
* \li Origin: lasgouttes, 16 Mar 2009 * \li Origin: lasgouttes, 16 Mar 2009
@ -2021,9 +2025,11 @@ void LyXAction::init()
/*! /*!
* \var lyx::FuncCode lyx::LFUN_INSET_END * \var lyx::FuncCode lyx::LFUN_INSET_END
* \li Action: Move the cursor to the end of the current inset * \li Action: Move the cursor to the end of the current inset if it
if it is not already there, or at the end of the is not already there. If the cursor is already at the
enclosing inset otherwise end of the current inset, move it to the end of the
enclosing inset or the main work area, respectively, if
there is no enclosing inset.
* \li Syntax: inset-end * \li Syntax: inset-end
* \li Origin: lasgouttes, 16 Mar 2009 * \li Origin: lasgouttes, 16 Mar 2009
* \endvar * \endvar
@ -2032,9 +2038,11 @@ void LyXAction::init()
/*! /*!
* \var lyx::FuncCode lyx::LFUN_INSET_END_SELECT * \var lyx::FuncCode lyx::LFUN_INSET_END_SELECT
* \li Action: Move the cursor to the end of the current inset * \li Action: Move the cursor to the end of the current inset if it
if it is not already there, or at the end of the is not already there. If the cursor is already at the
enclosing inset otherwise (adding the end of the current inset, move it to the end of the
enclosing inset or the main work area, respectively, if
there is no enclosing inset (adding the
traversed text to the selection). traversed text to the selection).
* \li Syntax: inset-end-select * \li Syntax: inset-end-select
* \li Origin: lasgouttes, 16 Mar 2009 * \li Origin: lasgouttes, 16 Mar 2009