From: Juergen Spitzmueller Date: Sun, 28 Jul 2024 08:37:30 +0000 (+0200) Subject: re-implement LFUN_REFERENCE_INSERT X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=181c8ce7c1c4b5e443775bec72f899040f6a43a5;p=lyx.git re-implement LFUN_REFERENCE_INSERT this is in preparation of another feature --- diff --git a/src/FuncCode.h b/src/FuncCode.h index a5f638d6d7..7f35ca391d 100644 --- a/src/FuncCode.h +++ b/src/FuncCode.h @@ -509,6 +509,8 @@ enum FuncCode LFUN_TAB_GROUP_PREVIOUS, // daniel 20220130 LFUN_BIBTEX_DATABASE_LIST, // bpiwowar, 20221218 LFUN_STATISTICS_REFERENCE_CLAMP,// sanda, 20240324 + LFUN_REFERENCE_INSERT, // spitz, 20240728 + // 400 LFUN_LASTACTION // end of the table }; diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 95f705cc1f..41df737332 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -3512,6 +3512,16 @@ void LyXAction::init() */ { LFUN_REDO, "redo", ReadOnly, Edit }, +/*! + * \var lyx::FuncCode lyx::LFUN_REFERENCE_INSERT + * \li Action: Inserts a cross-reference into the document. + * \li Notion: Optional can be used to set the type of reference + * \li Syntax: reference-insert