]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
Cosmetic change to the Language label in the character dialog
[lyx.git] / src / lyxfunc.C
index cd60c676d22b8ea2d3cd36ec7d804683b91a3679..a95050cc8befdcd394011bd0edb4f156fdb36f7a 100644 (file)
@@ -725,12 +725,6 @@ func_status::value_type LyXFunc::getStatus(int ac,
                if (font.series() == LyXFont::BOLD_SERIES)
                        box = func_status::ToggleOn;
                break;
-#ifndef NO_LATEX
-       case LFUN_TEX:
-               if (font.latex() == LyXFont::ON)
-                       box = func_status::ToggleOn;
-               break;
-#endif
        case LFUN_READ_ONLY_TOGGLE:
                if (buf->isReadonly())
                        box = func_status::ToggleOn;
@@ -1158,14 +1152,6 @@ string const LyXFunc::dispatch(int ac,
                owner->getDialogs()->setUserFreeFont();
                break;
 
-#ifndef NO_LATEX
-       case LFUN_TEX:
-               Tex(owner->view());
-               owner->view()->setState();
-               owner->showState();
-               break;
-#endif
-               
        case LFUN_RECONFIGURE:
                Reconfigure(owner->view());
                break;
@@ -1407,10 +1393,13 @@ string const LyXFunc::dispatch(int ac,
                        lyxerr[Debug::INFO] << "No matching paragraph found! ["
                                            << id << "]" << std::endl;
                        break;
+               } else {
+                       lyxerr << "Paragraph " << par->id()
+                              << " found." << endl;
                }
 
                // Set the cursor
-               TEXT()->setCursor(owner->view(), par, 0);
+               owner->view()->text->setCursor(owner->view(), par, 0);
                owner->view()->setState();
                owner->showState();