]> git.lyx.org Git - features.git/commitdiff
Fix bugs 3458:
authorUwe Stöhr <uwestoehr@web.de>
Sat, 14 Apr 2007 16:19:05 +0000 (16:19 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 14 Apr 2007 16:19:05 +0000 (16:19 +0000)
http://bugzilla.lyx.org/show_bug.cgi?id=3458

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17809 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ControlMath.C
src/frontends/qt4/QDelimiterDialog.C

index f80d41214c7d0200fb510d6ab0e9408cc21c7e6c..5535eb434a3f53e24f59a3f8c71554d7c0913127 100644 (file)
@@ -46,8 +46,8 @@ ControlMath::ControlMath(Dialog & dialog)
        math_symbols_["["] = MathSymbol('[');
        math_symbols_["]"] = MathSymbol(']');
        math_symbols_["|"] = MathSymbol('|');
-       math_symbols_["/"] = MathSymbol('/');
-       math_symbols_["\\"] = MathSymbol('\\', 110, LyXFont::CMSY_FAMILY);
+       math_symbols_["/"] = MathSymbol('/', 54, LyXFont::CMSY_FAMILY);
+       math_symbols_["backslash"] = MathSymbol('\\', 110, LyXFont::CMSY_FAMILY);
        math_symbols_["lceil"] = MathSymbol(0x2308, 100, LyXFont::CMSY_FAMILY);
        math_symbols_["rceil"] = MathSymbol(0x2309, 101, LyXFont::CMSY_FAMILY);
        math_symbols_["lfloor"] = MathSymbol(0x230A, 98, LyXFont::CMSY_FAMILY);
@@ -407,7 +407,7 @@ char const *  latex_delimiters[] = {
        "(", ")", "{", "}", "[", "]",
        "lceil", "rceil", "lfloor", "rfloor", "langle", "rangle",
        "uparrow", "Uparrow", "downarrow", "Downarrow",
-       "|", "Vert", "/", "\\", ""
+       "|", "Vert", "/", "backslash", ""
 };
 
 
index 809c5d4f535e3b8752e4d8cad1997fff386b14f2..5ad8150692dedda6631fc8bc56d1b06ea44f6083 100644 (file)
@@ -77,8 +77,8 @@ char_type QDelimiterDialog::doMatch(char_type const symbol) const
        else if (str == "lfloor") match = "rfloor";
        else if (str == "rangle") match = "langle";
        else if (str == "langle") match = "rangle";
-       else if (str == "\\") match = "/";
-       else if (str == "/") match = "\\";
+       else if (str == "backslash") match = "/";
+       else if (str == "/") match = "backslash";
        else return symbol;
 
        return form_->controller().mathSymbol(match).unicode;