#include "BufferView.h"
#include "paragraph.h"
#include "lyxfont.h"
-#include "lyx_gui_misc.h"
+#include "frontends/Alert.h"
#include "lyxtext.h"
#include "buffer.h"
#include "support/lstrings.h"
font.setLanguage(lang);
toggleAndShow(bv, font);
} else
- WriteAlert(_("Error! unknown language"),l);
+ Alert::alert(_("Error! unknown language"),l);
}
bv->update(text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
if (font.language() != ignore_language ||
- font.number() != LyXFont::IGNORE)
- {
+ font.number() != LyXFont::IGNORE) {
LyXCursor & cursor = text->cursor;
text->computeBidiTables(bv->buffer(), cursor.row());
if (cursor.boundary() !=