From: scorphus Date: Mon, 7 Apr 2008 16:38:48 +0000 (+0000) Subject: PHP Manual View now keeps the last reference page (closes #691) X-Git-Url: http://git.phpeclipse.com PHP Manual View now keeps the last reference page (closes #691) --- 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 } /**