]> git.lyx.org Git - features.git/commitdiff
Fix bug #1996
authorGuillaume Munch <gm@lyx.org>
Sat, 29 Aug 2015 02:38:54 +0000 (03:38 +0100)
committerGuillaume Munch <gm@lyx.org>
Sat, 12 Sep 2015 23:46:02 +0000 (00:46 +0100)
\overrightarrow and related macros have a standard behaviour with respect to
sub/superscripts.

src/mathed/InsetMathDecoration.cpp

index 9b4a5ded13691a736ff86574263a8963c9b2a243..b515d56e9fb7a4a45ff9283adaca1db9fa8e59db 100644 (file)
@@ -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";
 }