void copySelection(Cursor & cur, docstring const & plaintext)
{
// In tablemode, because copy and paste actually use special table stack
- // we do not attemp to get selected paragraphs under cursor. Instead, a
+ // we do not attempt to get selected paragraphs under cursor. Instead, a
// paragraph with the plain text version is generated so that table cells
// can be pasted as pure text somewhere else.
if (cur.selBegin().idx() != cur.selEnd().idx()) {
}
catch (std::exception const & e) {
docstring s = _("LyX has caught an exception, it will now "
- "attemp to save all unsaved documents and exit."
+ "attempt to save all unsaved documents and exit."
"\n\nException: ");
s += from_ascii(e.what());
Alert::error(_("Software exception Detected"), s);
}
catch (...) {
docstring s = _("LyX has caught some really weird exception, it will "
- "now attemp to save all unsaved documents and exit.");
+ "now attempt to save all unsaved documents and exit.");
Alert::error(_("Software exception Detected"), s);
LyX::cref().emergencyCleanup();
QApplication::exit(1);