From e7a1cce5513b93c5c53077e6571da4a978a6a9d1 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 11 Feb 2014 11:00:20 +0100 Subject: [PATCH] Rename some LFUN names to match their text name Also, rename copy-label-as-reference to label-copy-as-reference and update LFUNs.lyx accordingly. --- RELEASE-NOTES | 3 +++ lib/doc/LFUNs.lyx | 32 ++++++++++++++++---------------- lib/scripts/prefs2prefs_lfuns.py | 6 +++++- src/FuncCode.h | 14 +++++++------- src/LyXAction.cpp | 26 +++++++++++++------------- src/Text3.cpp | 16 ++++++++-------- src/frontends/qt4/GuiView.cpp | 4 ++-- src/frontends/qt4/TocWidget.cpp | 10 +++++----- src/insets/InsetLabel.cpp | 8 ++++---- src/insets/InsetTabular.cpp | 4 ++-- src/mathed/InsetMathGrid.cpp | 2 +- src/mathed/InsetMathHull.cpp | 4 ++-- 12 files changed, 68 insertions(+), 61 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 087285ec65..48c3f97aa8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -170,6 +170,9 @@ The following LyX functions have been changed: - LFUN_BREAK_PARAGRAPH ("break-paragraph") was renamed to LFUN_PARAGRAPH_BREAK ("paragraph-break"). +- LFUN_COPY_LABEL_AS_REF ("copy-label-as-reference") has been renamed to + LFUN_LABEL_COPY_AS_REF ("label-copy-as-reference"). + The following LyX key bindings have been changed: diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx index fd361ab0b8..dfccd1f97b 100644 --- a/lib/doc/LFUNs.lyx +++ b/lib/doc/LFUNs.lyx @@ -1337,22 +1337,6 @@ Action Copies the current selection to the clipboard. Syntax copy \end_layout -\begin_layout Subsection* -copy-label-as-reference -\end_layout -\begin_layout Description -Action Copies the label at the cursor as a cross-reference to be pasted elsewhere. -\end_layout -\begin_layout Description -Syntax copy-label-as-reference