From a3d685c16c562aa150c3549eb1b5accd1f5f3ad4 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 17 Nov 2013 11:11:03 -0800 Subject: [PATCH] Add Georg's comments from #8749. --- src/LyXAction.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 3a8de5fa2e..f1f99dce7b 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -1222,7 +1222,13 @@ void LyXAction::init() { LFUN_PASTE, "paste", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CLIPBOARD_PASTE - * \li Action: Pastes text from the active clipboard. + * \li Action: Pastes text from the active clipboard. Pastes plain text if plain text is + on the clipboard, but tries to interpret it in special ways for certain + insets, e.g. converting csv data to rows and colums if tha paste happens + in a tabular inset. + * \li Notion: Historically, LFUN_CLIPBOARD_PASTE was introduced as a counterpart of + LFUN_PRIMARY_SELECTION_PASTE: It behaved exactly the same, but the source + is the clipboard, not the selection. * \li Syntax: clipboard-paste [] * \li Params: : "paragraph" will cause pasting as one paragraph, i.e. "Join lines". * \li Origin: Georg, 10 Jul 2006 @@ -1250,7 +1256,8 @@ void LyXAction::init() { LFUN_SELECTION_PASTE, "selection-paste", Noop, Edit }, /*! * \var lyx::FuncCode lyx::LFUN_CLIPBOARD_PASTE_SIMPLE - * \li Action: Pastes simple unformatted text from the active clipboard. + * \li Action: Pastes simple unformatted text from the active clipboard even + if formatted LyX content is in the clipboard. * \li Syntax: clipboard-paste-simple [] * \li Params: : "paragraph" will cause pasting as one paragraph, i.e. "Join lines". * \endvar -- 2.39.2