commit 49fee942cf359abc5f512891ff7dfa3a260afae5
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Sat Oct 8 14:21:06 2022 +0200

    Fix inline completion prefix for macro insets
    
    As it was, the prefix was empty when completion popups were disabled.
    
    Related to bug #12581.
---
 src/mathed/InsetMathMacro.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mathed/InsetMathMacro.cpp b/src/mathed/InsetMathMacro.cpp
index 3f4da74..7c9efa4 100644
--- a/src/mathed/InsetMathMacro.cpp
+++ b/src/mathed/InsetMathMacro.cpp
@@ -1369,9 +1369,6 @@ docstring InsetMathMacro::completionPrefix(Cursor const & 
cur) const
        if (displayMode() != DISPLAY_UNFOLDED)
                return InsetMathNest::completionPrefix(cur);
 
-       if (!completionSupported(cur))
-               return docstring();
-
        return "\\" + name();
 }
 
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to