mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Bug 296881 - remote C/C++ search results not displaying properly
This commit is contained in:
parent
43de6972ad
commit
2bb959feda
1 changed files with 5 additions and 1 deletions
|
@ -359,7 +359,11 @@ public class EditorUtility {
|
|||
// crecoskie test
|
||||
// TODO FIXME
|
||||
// include entries don't handle URIs yet, so fake it out for now
|
||||
if (includeReferences[j].isOnIncludeEntry(URIUtil.toPath(locationURI))) {
|
||||
IPath path = URIUtil.toPath(locationURI);
|
||||
if(path == null)
|
||||
path = new Path(locationURI.getPath());
|
||||
|
||||
if (includeReferences[j].isOnIncludeEntry(path)) {
|
||||
context = projects[i];
|
||||
break outerFor;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue