|
From: <caw...@us...> - 2007-08-17 16:09:45
|
Revision: 3001
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3001&view=rev
Author: cawilliams
Date: 2007-08-17 09:09:33 -0700 (Fri, 17 Aug 2007)
Log Message:
-----------
fix #5582 - Right-click search menu options are broken
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MatchLocator.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MatchLocator.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MatchLocator.java 2007-08-17 16:09:27 UTC (rev 3000)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/MatchLocator.java 2007-08-17 16:09:33 UTC (rev 3001)
@@ -107,7 +107,7 @@
}
public static IRubyElement getProjectOrJar(IRubyElement element) {
- while (!(element instanceof IRubyProject) && !(element instanceof ExternalSourceFolderRoot)) {
+ while (!(element instanceof IRubyProject)) {
element = element.getParent();
}
return element;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|