]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
Adding the capability to paste as simple unformatted text.
[lyx.git] / src / LyXAction.cpp
index fc19b7064eb0ee9b682aa2f4a2721cf11796e3b0..6b78bf0ca8007a414ccae4e8f9fdc26818274ffc 100644 (file)
@@ -478,6 +478,7 @@ void LyXAction::init()
  * \li Params: <NAME>: normal, protected, visible, thin, quad, qquad, enspace,
                        enskip, negthinspace, negmedspace, negthickspace, hfill,
                        hfill*, dotfill, hrulefill, hspace, hspace* \n
+                       Only in math mode: med and thick.\n
                <LEN>: length for custom spaces (hspace, hspace* for protected)
  * \li Origin: JSpitzm, 20 May 2003, Mar 17 2008
  * \endvar
@@ -1208,6 +1209,14 @@ void LyXAction::init()
  * \endvar
  */
                { 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 Syntax: clipboard-paste-simple [<ARG>]
+ * \li Params: <ARG>: "paragraph" will cause pasting as one paragraph, i.e. "Join lines".
+ * \endvar
+ */
+               { LFUN_CLIPBOARD_PASTE_SIMPLE, "clipboard-paste-simple", Noop, Edit },
 /*!
  * \var lyx::FuncCode lyx::LFUN_UNDO
  * \li Action: Undoes the last edit.