1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 11:25:35 +02:00

Patch for Devin Steffler.

Fixed Bug 104128 - Selection Search from CView doesn't work
This commit is contained in:
John Camelon 2005-07-21 23:23:26 +00:00
parent 96f8f74ff8
commit 3464d93dee

View file

@ -333,7 +333,7 @@ public abstract class FindAction extends SelectionParseAction {
//or Working Copy (both represented by C_UNIT) or hit a null //or Working Copy (both represented by C_UNIT) or hit a null
if (element.getElementType() == ICElement.C_UNIT || if (element.getElementType() == ICElement.C_UNIT ||
element == null){ element == null){
fullName.insert(0,"::"); //$NON-NLS-1$ // fullName.insert(0,"::"); //$NON-NLS-1$ // fix for PR 104128
break; break;
} }
else if (element.getElementType() != ICElement.C_ENUMERATION){ else if (element.getElementType() != ICElement.C_ENUMERATION){