]> git.lyx.org Git - features.git/commitdiff
fix crash when doing nothing (from John) and upgrade Martin in CREDITS
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Mar 2002 16:18:02 +0000 (16:18 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Mar 2002 16:18:02 +0000 (16:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3669 a592a061-630c-0410-9148-cb99ea01b6c8

lib/CREDITS
lib/ChangeLog
po/POTFILES.in
src/BufferView_pimpl.C
src/ChangeLog

index e8e15cd06560bc2e7cb29ab98db90e1dd7379ecb..b3ed52b65e8a542e8e9a16ab85d9f5734500a559 100644 (file)
 @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
index 228fda7c7080e56e8171d0361c2fd7630b73c5a3..f35dc3ca07bdeb034a1863981a88d431f9283e57 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * CREDITS: document that Martin Vermeer is also a very good bug
+       hunter 
+
 2002-03-05  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
 
        * layouts/db_stdclass.inc:
index 368b9b8b8905ce284f3bf0c76af6e1c75d08d84c..3d6e5261aa6edb9530086f959a841c4a166becca 100644 (file)
@@ -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
index 74dd4ca64847bde7a345ca41b43d46cba09c5614..4a11df383f117c610d2cb09c279744fddcc2fbc5 100644 (file)
@@ -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(); 
+       }
 }
 
  
index d4e4965343f7754df5100d120e2cc4d0aed37fa5..f75c9ed9d1dda3390b7f3123aea8912e9eaf933b 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: protect selectionLost against text == 0
 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * text.C (breakParagraph): fix a setting layout to '0' problem.