From 5a4f7a89e23308b1f004c58411ee4de45b20f783 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 10 Jan 2010 16:50:34 +0000 Subject: [PATCH] Regenerate LFuns.lyx git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32947 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/LFUNs.lyx | 77 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 60 insertions(+), 17 deletions(-) diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx index 262bdc308c..be69cb41a7 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-01-03 +LFUNs documentation automatically generated 2010-01-10 \end_layout \begin_layout Standard @@ -1508,6 +1508,22 @@ Syntax inset-select-all Origin vfr, 22 Aug 2009 \end_layout +\begin_layout Subsection* +LFUN_SECTION_SELECT +\end_layout +\begin_layout Description +Action Selects the whole section. +\end_layout +\begin_layout Description +Notion The cursor should be in a section heading before calling this lfun. +\end_layout +\begin_layout Description +Syntax section-select +\end_layout +\begin_layout Description +Origin vfr, 05 May 2009 +\end_layout + \begin_layout Subsection* LFUN_LINE_BEGIN \end_layout @@ -3587,6 +3603,49 @@ Params : default: toggle Origin leeming, 30 Mar 2004 \end_layout +\begin_layout Subsection* +LFUN_INSET_FORALL +\end_layout +\begin_layout Description +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. +\end_layout +\begin_layout Description +Syntax inset-forall +\begin_inset Newline newline +\end_inset + +: Type of Inset. If is *, all insets are matched. The name is used like for InsetLayout in layout files: "Note" matches all note insets, while "Note:Note" only matches LyX yellow note insets. +\end_layout +\begin_layout Description +Sample Remove all index insets: +\begin_inset Newline newline +\end_inset + + inset-forall Index delete-char-forward +\begin_inset Newline newline +\end_inset + +Close all Notes (also works for a particular branch, for example): +\begin_inset Newline newline +\end_inset + + inset-forall Note inset-toggle close +\begin_inset Newline newline +\end_inset + +Try to put LyX in an infinite loop if there is at least a Note: +\begin_inset Newline newline +\end_inset + + inset-forall Note char-backward +\end_layout +\begin_layout Description +Origin lasgouttes, 27 Nov 2009 +\end_layout + \begin_layout Subsection* LFUN_GRAPHICS_RELOAD \end_layout @@ -5244,21 +5303,5 @@ Params : The zoom in %, the default is 20. Origin vfr, 30 Mar 2009 \end_layout -\begin_layout Subsection* -LFUN_SECTION_SELECT -\end_layout -\begin_layout Description -Action Selects the whole section. -\end_layout -\begin_layout Description -Notion The cursor should be in a section heading before calling this lfun. -\end_layout -\begin_layout Description -Syntax section-select -\end_layout -\begin_layout Description -Origin vfr, 05 May 2009 -\end_layout - \end_body \end_document -- 2.39.2