mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
- delete trace file, if generated file is deleted (https://bugs.eclipse.org/bugs/show_bug.cgi?id=376376)
- trace files start with a '.' to make them hidden by default (https://bugs.eclipse.org/bugs/show_bug.cgi?id=376377) - fixed generated source view, to work with multiple generated files.
This commit is contained in:
parent
e13a41363e
commit
86bbb847ab
1 changed files with 3 additions and 0 deletions
|
@ -307,6 +307,9 @@ public abstract class AbstractTraceRegion {
|
|||
@Nullable
|
||||
public ILocationData getMergedAssociatedLocation() {
|
||||
List<ILocationData> allData = getAssociatedLocations();
|
||||
if (allData.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
if (allData.size() == 1) {
|
||||
return allData.get(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue