commit 82551f45e42b89b0a04ec28647120a48079b6579
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Sun May 10 19:30:35 2026 +0200

    Use proper LFUN_FINISHED_xxx in mathed
    
    Only use the LEFT/RIGHT version with visible cursor movement.
---
 src/mathed/InsetMathNest.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index 604919a6d1..1d8a5982d9 100644
--- a/src/mathed/InsetMathNest.cpp
+++ b/src/mathed/InsetMathNest.cpp
@@ -967,10 +967,10 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest 
& cmd)
                        else
                                forward = !right;
 
-                       if (right)
-                               finish_lfun = LFUN_FINISHED_RIGHT;
+                       if (forward)
+                               finish_lfun = LFUN_FINISHED_FORWARD;
                        else
-                               finish_lfun = LFUN_FINISHED_LEFT;
+                               finish_lfun = LFUN_FINISHED_BACKWARD;
                }
                // Now that we know exactly what we want to do, let's do it!
                cur.selHandle(select);
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to