commit d186d708ea0bb80f6f62942732d503dda4455dc2
Author: Guillaume Munch <[email protected]>
Date:   Sat Aug 29 03:38:54 2015 +0100

    Fix bug #1996
    
    \overrightarrow and related macros have a standard behaviour with respect to
    sub/superscripts.

diff --git a/src/mathed/InsetMathDecoration.cpp 
b/src/mathed/InsetMathDecoration.cpp
index d3c23f6..b0ea739 100644
--- a/src/mathed/InsetMathDecoration.cpp
+++ b/src/mathed/InsetMathDecoration.cpp
@@ -59,13 +59,7 @@ bool InsetMathDecoration::isScriptable() const
 {
        return
                        key_->name == "overbrace" ||
-                       key_->name == "underbrace" ||
-                       key_->name == "overleftarrow" ||
-                       key_->name == "overrightarrow" ||
-                       key_->name == "overleftrightarrow" ||
-                       key_->name == "underleftarrow" ||
-                       key_->name == "underrightarrow" ||
-                       key_->name == "underleftrightarrow";
+                       key_->name == "underbrace";
 }
 
 
diff --git a/status.21x b/status.21x
index f80b149..7fae2ab 100644
--- a/status.21x
+++ b/status.21x
@@ -76,6 +76,9 @@ What's new
 - Reset cursor font when navigating with find or spellcheck (bug 9500).
 
 - Correctly update previews when cursor leaves inset (bug 6173).
+
+- Fix subscripts and superscripts of \overrightarrow and related macros
+  (bug 1996).
  
 
 * INTERNALS

Reply via email to