From dc93d6a6c17e019b7624725b9d6ae06cebfd3ab4 Mon Sep 17 00:00:00 2001 From: scorphus Date: Mon, 7 Apr 2008 16:38:48 +0000 Subject: [PATCH] PHP Manual View now keeps the last reference page (closes #691) --- .../phpmanual/PHPManualUiMessages.properties | 1 - .../phpeclipse/phpmanual/views/PHPManualView.java | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/PHPManualUiMessages.properties b/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/PHPManualUiMessages.properties index 4cd1c0d..ee40d04 100644 --- a/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/PHPManualUiMessages.properties +++ b/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/PHPManualUiMessages.properties @@ -4,4 +4,3 @@ ######################################### LookupException=Sorry, an exception occurred while looking up the manual page for the selected term. -LookupMiss=Sorry, the manual page for the selected term was not found. diff --git a/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java b/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java index f86e1ca..a280ac3 100644 --- a/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java +++ b/net.sourceforge.phpeclipse.phpmanual/src/net/sourceforge/phpeclipse/phpmanual/views/PHPManualView.java @@ -338,7 +338,7 @@ public class PHPManualView extends ViewPart implements INullSelectionListener, I } catch (Exception e) { return null; } - return "" + PHPManualUIPlugin.getString("LookupMiss") + ""; + return null; // Keeps the last reference } /** -- 1.7.1