]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
tex2lyx: add strike-outs etc. to the TeX testfile
[lyx.git] / src / Text3.cpp
index 20f3b6bd1ac13372d3284c874b46ec754c133a8f..1aee50488ac1b4bf40cbdca9711ca6ab7d937700 100644 (file)
@@ -45,7 +45,6 @@
 #include "SpellChecker.h"
 #include "TextClass.h"
 #include "TextMetrics.h"
-#include "VSpace.h"
 #include "WordLangTuple.h"
 
 #include "frontends/Application.h"
@@ -68,6 +67,7 @@
 #include "support/convert.h"
 #include "support/debug.h"
 #include "support/gettext.h"
+#include "support/lassert.h"
 #include "support/lstrings.h"
 #include "support/lyxtime.h"
 #include "support/os.h"
@@ -1893,7 +1893,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                        break;
                selectWordWhenUnderCursor(cur, WHOLE_WORD_STRICT);
                Font font(ignore_font, lang);
-               toggleAndShow(cur, this, font);
+               toggleAndShow(cur, this, font, false);
                break;
        }