Bug 104128 - Selection Search from CView doesn't work
Summary: Selection Search from CView doesn't work
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC3   Edit
Assignee: John Camelon CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2005-07-15 23:01 EDT by Bogdan Gheorghe CLA
Modified: 2008-06-19 13:15 EDT (History)
1 user (show)

See Also:


Attachments
fix for this PR (914 bytes, patch)
2005-07-18 09:34 EDT, Devin Steffler CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan Gheorghe CLA 2005-07-15 23:01:30 EDT
In FindAction, we call getFullyQualifiedName(ICElement)when the user selects
something from the CView. This appends '::' as it climbs up the CModel. So, if
we selected MyClass in the CView, we would actually search for ::MyClass. This
always leads to no results. Note that search from the Editor and Outline view
work well.

Can you take a look at this? Thanks!
Comment 1 Devin Steffler CLA 2005-07-18 09:34:58 EDT
Created attachment 24903 [details]
fix for this PR
Comment 2 Devin Steffler CLA 2005-07-18 09:36:08 EDT
Take a look at the attached patch.
Comment 3 John Camelon CLA 2005-07-21 19:24:48 EDT
Patch applied!