commit 07df92108eb7b10f8da16003464ecc117b3c532f
Author: Pavel Sanda <sa...@lyx.org>
Date:   Sun Sep 22 16:48:29 2024 +0200

    * LFUNs.lyx
---
 lib/doc/LFUNs.lyx | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 66 insertions(+), 2 deletions(-)

diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx
index 5589ab58cd..4b201a728b 100644
--- a/lib/doc/LFUNs.lyx
+++ b/lib/doc/LFUNs.lyx
@@ -4433,6 +4433,27 @@ Action Redoes the last thing undone.
 Syntax redo
 \end_layout
 
+\begin_layout Subsection*
+reference-insert
+\end_layout
+
+\begin_layout Description
+Action Inserts a cross-reference into the document.
+\end_layout
+
+\begin_layout Description
+Notion Optional <TYPE> can be used to set the type of reference
+\end_layout
+
+\begin_layout Description
+Syntax reference-insert <LABEL> [<TYPE>]
+\end_layout
+
+\begin_layout Description
+Origin spitz,
+ 28 Jul 2024
+\end_layout
+
 \begin_layout Subsection*
 reference-next
 \end_layout
@@ -4450,6 +4471,45 @@ Origin Dekel,
  14 Jan 2001
 \end_layout
 
+\begin_layout Subsection*
+reference-to-paragraph
+\end_layout
+
+\begin_layout Description
+Action Inserts a cross-reference to the paragraph with a given ID
+\end_layout
+
+\begin_layout Description
+Notion The function checks of the paragraph already has a label.
+ If so,
+ it uses that.
+ Otherwise it inserts a label and uses this.
+\end_layout
+
+\begin_layout Description
+Syntax reference-to-paragraph <PAR_ID> [<TYPE>]
+\end_layout
+
+\begin_layout Description
+Params <PAR_IDs>:
+ paragraph ids,
+ might be a comma-separated list
+\begin_inset Newline newline
+\end_inset
+
+if it is in a nested inset
+\begin_inset Newline newline
+\end_inset
+
+<TYPE>:
+ cross-references type
+\end_layout
+
+\begin_layout Description
+Origin spitz,
+ 28 Jul 2024
+\end_layout
+
 \begin_layout Subsection*
 repeat
 \end_layout
@@ -4657,8 +4717,12 @@ Action Pastes the internal selection text in permanent 
selection.
 \end_layout
 
 \begin_layout Description
-Notion Created in order to have middle mouse button pasting correct (bound to 
command-alternatives selection-paste ;
- primary-selection-paste paragraph).
+Notion Created in order to have middle mouse button pasting correct.
+ The middle button is bound to "command-alternatives selection-paste ;
+ primary-selection-paste".
+ selection-paste makes sure that if something is highlighted in LyX window it 
gets into selection buffer and pasted.
+ If nothing is highlighted,
+ then primary-selection-paste covers the cases of pasting from selection 
buffer from another apps (or from LyX once the highlight is gone).
 \end_layout
 
 \begin_layout Description
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to