From 1846e91782da1016f958c80788411f7431151962 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 5 Mar 2002 16:18:02 +0000 Subject: [PATCH] fix crash when doing nothing (from John) and upgrade Martin in CREDITS git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3669 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/CREDITS | 1 + lib/ChangeLog | 5 +++++ po/POTFILES.in | 1 - src/BufferView_pimpl.C | 10 ++++++---- src/ChangeLog | 4 ++++ 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/lib/CREDITS b/lib/CREDITS index e8e15cd065..b3ed52b65e 100644 --- a/lib/CREDITS +++ b/lib/CREDITS @@ -247,6 +247,7 @@ @bMartin Vermeer @iE-mail: martin.vermeer@hut.fi svjour/svjog, egs and llncs document classes + Lot of bug hunting (and fixing!) @bJuergen Vigna @iE-mail: jug@sad.it complete rewrite of the tabular, text inset diff --git a/lib/ChangeLog b/lib/ChangeLog index 228fda7c70..f35dc3ca07 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2002-03-05 Jean-Marc Lasgouttes + + * CREDITS: document that Martin Vermeer is also a very good bug + hunter + 2002-03-05 Jose Abilio Oliveira Matos * layouts/db_stdclass.inc: diff --git a/po/POTFILES.in b/po/POTFILES.in index 368b9b8b89..3d6e5261aa 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -9,7 +9,6 @@ src/converter.C src/CutAndPaste.C src/debug.C src/exporter.C -src/ext_l10n.h src/FontLoader.C src/frontends/controllers/biblio.C src/frontends/controllers/ButtonController.h diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 74dd4ca648..4a11df383f 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -756,10 +756,12 @@ void BufferView::Pimpl::selectionRequested() void BufferView::Pimpl::selectionLost() { - hideCursor(); - toggleSelection(); - bv_->getLyXText()->clearSelection(); - showCursor(); + if (active() && available()) { + hideCursor(); + toggleSelection(); + bv_->getLyXText()->clearSelection(); + showCursor(); + } } diff --git a/src/ChangeLog b/src/ChangeLog index d4e4965343..f75c9ed9d1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-03-01 John Levon + + * BufferView_pimpl.C: protect selectionLost against text == 0 + 2002-03-05 Lars Gullik Bjønnes * text.C (breakParagraph): fix a setting layout to '0' problem. -- 2.39.5