[LyX/2.3.x] * LFUNs.lyx

Pavel Sanda sanda at lyx.org
Sun Dec 11 19:12:16 UTC 2022


commit 94c858676406f69b2d6d645efd91727ae3e379ef
Author: Pavel Sanda <sanda at lyx.org>
Date:   Sun Dec 11 21:07:03 2022 +0100

    * LFUNs.lyx
---
 lib/doc/LFUNs.lyx |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx
index db42379..2a8bcf5 100644
--- a/lib/doc/LFUNs.lyx
+++ b/lib/doc/LFUNs.lyx
@@ -2404,7 +2404,7 @@ inset-edit
 \end_layout
 
 \begin_layout Description
-Action Edit the inset at cursor with an external application, if one is attributed.
+Action Edit the inset at cursor with an external application, if one is attributed. If the inset is file based, the referenced file is edited. Otherwise, the inset contents is written to a temporary file, the inset is locked, and the temporary file is edited. In this case, LFUN_INSET_END_EDIT must be called to overtake the changes and unlock the inset after editing is finished.
 \end_layout
 
 \begin_layout Description
@@ -2440,6 +2440,22 @@ Origin lasgouttes, 16 Mar 2009
 \end_layout
 
 \begin_layout Subsection*
+inset-end-edit
+\end_layout
+
+\begin_layout Description
+Action End editing the inset at cursor with an external application. This replaces the inset contents with the contents of the temporary file, deletes the file and unlocks the inset.
+\end_layout
+
+\begin_layout Description
+Syntax inset-end-edit
+\end_layout
+
+\begin_layout Description
+Origin gb, 11 Oct 2015
+\end_layout
+
+\begin_layout Subsection*
 inset-end-select
 \end_layout
 


More information about the lyx-cvs mailing list