From 885376bd93079395350eeb13f1bff5babdfae0b0 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 11 May 2010 12:01:04 +0000 Subject: [PATCH] Update LFUNs.lyx git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34402 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/LFUNs.lyx | 95 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 68 insertions(+), 27 deletions(-) diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx index c013ef9547..0c5f668f24 100644 --- a/lib/doc/LFUNs.lyx +++ b/lib/doc/LFUNs.lyx @@ -57,7 +57,7 @@ \begin_body \begin_layout Section* -LFUNs documentation automatically generated 2010-02-28 +LFUNs documentation automatically generated 2010-05-11 \end_layout \begin_layout Standard @@ -451,6 +451,19 @@ Syntax listing-insert Origin Herbert, 10 Nov 2001; bpeng, 2 May 2007 \end_layout +\begin_layout Subsection* +LFUN_PREVIEW_INSERT +\end_layout +\begin_layout Description +Action Inserts a new preview inset. +\end_layout +\begin_layout Description +Syntax preview-insert +\end_layout +\begin_layout Description +Origin vfr, 28 Mar 2010 +\end_layout + \begin_layout Subsection* LFUN_TAB_INSERT \end_layout @@ -520,7 +533,7 @@ Notion Apart from lfun arguments you can use the following method: Syntax info-insert \end_layout \begin_layout Description -Params : shortcut[s]|lyxrc|package|textclass|menu|buffer +Params : shortcut[s]|lyxrc|lyxinfo|package|textclass|menu|buffer \begin_inset Newline newline \end_inset @@ -536,6 +549,10 @@ alpha) lyxrc: name of rc_entry (e.g. bind_file) \begin_inset Newline newline +\end_inset + + lyxinfo: "version" - used version of LyX +\begin_inset Newline newline \end_inset package: name of latex package (e.g. listings) @@ -845,7 +862,7 @@ Origin JSpitzm, 25 Mar 2008 LFUN_ESCAPE \end_layout \begin_layout Description -Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. +Action Clears the selection. If no text is selected call LFUN_FINISHED_FORWARD. Inside math mode jumps out of the math inset. \end_layout \begin_layout Description Syntax escape @@ -3595,29 +3612,6 @@ assign synchronize the branch-inset with activation status of the branch. Used f Origin lasgouttes, 19 Jul 2001 \end_layout -\begin_layout Subsection* -LFUN_ALL_INSETS_TOGGLE -\end_layout -\begin_layout Description -Action Toggles (open/closes) all collapsable insets (of a given type) in the document. -\end_layout -\begin_layout Description -Notion Used for box, branch, ert, float, listings, note, tabular, wrap insets. -\end_layout -\begin_layout Description -Syntax all-insets-toggle [] [] -\end_layout -\begin_layout Description -Params : default: toggle -\begin_inset Newline newline -\end_inset - -: default: all insets -\end_layout -\begin_layout Description -Origin leeming, 30 Mar 2004 -\end_layout - \begin_layout Subsection* LFUN_INSET_FORALL \end_layout @@ -3625,7 +3619,7 @@ LFUN_INSET_FORALL Action Apply the given commands on insets of a given name. \end_layout \begin_layout Description -Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 10000. +Notion WARNING: use at your own risks; this function gives you too many ways of shooting yourself in the foot. A typical example is inset-forall Note note-insert which starts an infinite loop. This is mitigated by the fact that the number of actions is arbitrarily limited to 10000. Note also that inset-forall does not update metrics between iterations, which can lead to bugs. This has to be eventually fixed. \end_layout \begin_layout Description Syntax inset-forall @@ -4315,6 +4309,34 @@ If the file is located inside LyX temporary directory it will be mapped back int Origin Edmar, 23 Dec 1998 \end_layout +\begin_layout Subsection* +LFUN_FORWARD_SEARCH +\end_layout +\begin_layout Description +Action Sets the cursor position in the previewed (e.g. dvi) file based on the row number in LyX window. +\end_layout +\begin_layout Description +Notion The external program used for forward search call can be specified in +\backslash +\forward_search_dvi and +\backslash +\forward_search_pdf RC settings. By default, the value for pdf is empty, while for dvi it is +\begin_inset Newline newline +\end_inset + + "xdvi -sourceposition $$n:$$t $$o" +\begin_inset Newline newline +\end_inset + + The values replaced in the call: $$n for row number, $$t for exported temporary .tex file, $$o exported output file, either dvi or pdf, depending on which one exists in the temp dir (preferred is dvi). +\end_layout +\begin_layout Description +Syntax forward-search +\end_layout +\begin_layout Description +Origin sanda, 14 Apr 2010 +\end_layout + \begin_layout Subsection* LFUN_SERVER_NOTIFY \end_layout @@ -5323,5 +5345,24 @@ Params : The zoom in %, the default is 20. Origin vfr, 30 Mar 2009 \end_layout +\begin_layout Subsection* +LFUN_INSET_COPY_AS +\end_layout +\begin_layout Description +Action Copies the inset to the clipboard as a certain type +\end_layout +\begin_layout Description +Syntax inset-copy-as [] +\end_layout +\begin_layout Description +Params : The type as which the inset is copied. This can vary from inset to inset. +\end_layout +\begin_layout Description +Sample InsetInfo is copied as text +\end_layout +\begin_layout Description +Origin vfr, 18 Apr 2010 +\end_layout + \end_body \end_document -- 2.39.5