From 9c638a78ed0e06f6f1fa9bc91a1258bfbf7aeaa0 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 14 Jul 2008 21:00:11 +0000 Subject: [PATCH] pasting is more tricky git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25623 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXAction.cpp | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index ce5235d26b..22d40aa24f 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1015,17 +1015,27 @@ void LyXAction::init() { LFUN_CUT, "cut", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_PASTE - * \li Action: Pastes from the active clipboard. + * \li Action: Pastes material from the active clipboard. * \li Syntax: paste [] - * \li Params: : pdf|png|jpeg|linkback \n + * \li Params: : pdf|png|jpeg|linkback * \endvar */ { LFUN_PASTE, "paste", Noop, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_CLIPBOARD_PASTE + * \li Action: Pastes text from the active clipboard. + * \li Syntax: clipboard-paste [] + * \li Params: : "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 }, /*! * \var lyx::FuncCode lyx::LFUN_PRIMARY_SELECTION_PASTE - * \li Action: Pastes the material currently selected. - * \li Syntax: primary-selection-paste + * \li Action: Pastes the currently text selected text. + * \li Notion: Primary selection mechanism is linux-only thing. + * \li Syntax: primary-selection-paste [] + * \li Params: : "paragraph" will cause pasting as one paragraph, i.e. "Join lines". * \endvar */ { LFUN_PRIMARY_SELECTION_PASTE, "primary-selection-paste", Noop, Edit }, -- 2.39.2