Am Donnerstag, dem 17.12.2020 um 15:15 +0100 schrieb Kornel Benko: > Sorry for being dumb, I saw these already, alas I could not find > where the actual decision is made.
Like this: diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index f0df1d90fd..2f7bb40bb8 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -2099,6 +2099,11 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd, status.setEnabled(type_ != hullSimple); return true; + case LFUN_SPECIALCHAR_INSERT: + if (type_ == hullRegexp) + return true; + return InsetMathGrid::getStatus(cur, cmd, status); + case LFUN_LABEL_COPY_AS_REFERENCE: { bool enabled = false; if (cmd.argument().empty() && &cur.inset() == this) { But you also need to write a routine for LFUN_SPECIALCHAR_INSERT in dispatch() which handles how these insets are inserted. Jürgen
signature.asc
Description: This is a digitally signed message part
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel