From: Pavel Sanda Date: Sun, 17 Nov 2013 19:11:03 +0000 (-0800) Subject: Add Georg's comments from #8749. X-Git-Tag: 2.1.0rc1~410 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a3d685c16c562aa150c3549eb1b5accd1f5f3ad4;p=features.git Add Georg's comments from #8749. --- 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