mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +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
|
// crecoskie test
|
||||||
// TODO FIXME
|
// TODO FIXME
|
||||||
// include entries don't handle URIs yet, so fake it out for now
|
// 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];
|
context = projects[i];
|
||||||
break outerFor;
|
break outerFor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue