mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 10:47:57 +00:00
Fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21933 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4cd6123095
commit
be0895b664
@ -646,7 +646,7 @@ void copySelectionToStack()
|
|||||||
void copySelection(Cursor & cur, docstring const & plaintext)
|
void copySelection(Cursor & cur, docstring const & plaintext)
|
||||||
{
|
{
|
||||||
// In tablemode, because copy and paste actually use special table stack
|
// 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
|
// paragraph with the plain text version is generated so that table cells
|
||||||
// can be pasted as pure text somewhere else.
|
// can be pasted as pure text somewhere else.
|
||||||
if (cur.selBegin().idx() != cur.selEnd().idx()) {
|
if (cur.selBegin().idx() != cur.selEnd().idx()) {
|
||||||
|
@ -450,7 +450,7 @@ bool GuiApplication::notify(QObject * receiver, QEvent * event)
|
|||||||
}
|
}
|
||||||
catch (std::exception const & e) {
|
catch (std::exception const & e) {
|
||||||
docstring s = _("LyX has caught an exception, it will now "
|
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: ");
|
"\n\nException: ");
|
||||||
s += from_ascii(e.what());
|
s += from_ascii(e.what());
|
||||||
Alert::error(_("Software exception Detected"), s);
|
Alert::error(_("Software exception Detected"), s);
|
||||||
@ -459,7 +459,7 @@ bool GuiApplication::notify(QObject * receiver, QEvent * event)
|
|||||||
}
|
}
|
||||||
catch (...) {
|
catch (...) {
|
||||||
docstring s = _("LyX has caught some really weird exception, it will "
|
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);
|
Alert::error(_("Software exception Detected"), s);
|
||||||
LyX::cref().emergencyCleanup();
|
LyX::cref().emergencyCleanup();
|
||||||
QApplication::exit(1);
|
QApplication::exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user