pasting is more tricky

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25623 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-07-14 21:00:11 +00:00
parent 7c1e56508e
commit 9c638a78ed

View File

@ -1015,17 +1015,27 @@ void LyXAction::init()
{ LFUN_CUT, "cut", Noop, Edit }, { LFUN_CUT, "cut", Noop, Edit },
/*! /*!
* \var lyx::FuncCode lyx::LFUN_PASTE * \var lyx::FuncCode lyx::LFUN_PASTE
* \li Action: Pastes from the active clipboard. * \li Action: Pastes material from the active clipboard.
* \li Syntax: paste [<TYPE>] * \li Syntax: paste [<TYPE>]
* \li Params: <TYPE>: pdf|png|jpeg|linkback \n * \li Params: <TYPE>: pdf|png|jpeg|linkback
* \endvar * \endvar
*/ */
{ LFUN_PASTE, "paste", Noop, Edit }, { LFUN_PASTE, "paste", Noop, Edit },
/*!
* \var lyx::FuncCode lyx::LFUN_CLIPBOARD_PASTE
* \li Action: Pastes text from the active clipboard.
* \li Syntax: clipboard-paste [<ARG>]
* \li Params: <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
* \li Origin: baum, 10 Jul 2006
* \endvar
*/
{ LFUN_CLIPBOARD_PASTE, "clipboard-paste", Noop, Edit }, { LFUN_CLIPBOARD_PASTE, "clipboard-paste", Noop, Edit },
/*! /*!
* \var lyx::FuncCode lyx::LFUN_PRIMARY_SELECTION_PASTE * \var lyx::FuncCode lyx::LFUN_PRIMARY_SELECTION_PASTE
* \li Action: Pastes the material currently selected. * \li Action: Pastes the currently text selected text.
* \li Syntax: primary-selection-paste * \li Notion: Primary selection mechanism is linux-only thing.
* \li Syntax: primary-selection-paste [<ARG>]
* \li Params: <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
* \endvar * \endvar
*/ */
{ LFUN_PRIMARY_SELECTION_PASTE, "primary-selection-paste", Noop, Edit }, { LFUN_PRIMARY_SELECTION_PASTE, "primary-selection-paste", Noop, Edit },