| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java
|
| index afe53a1dc1d23a924f4c4cb3107f8c252cc22a2a..3d7d597770b0cb277363964068d330485c8fa132 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartVariableImpl.java
|
| @@ -76,6 +76,12 @@ public class DartVariableImpl extends SourceReferenceImpl implements DartVariabl
|
| }
|
|
|
| @Override
|
| + public SourceRange getVisibleRange() throws DartModelException {
|
| + DartVariableInfo info = (DartVariableInfo) getElementInfo();
|
| + return info.getVisibleRange();
|
| + }
|
| +
|
| + @Override
|
| public boolean isGlobal() {
|
| return getParent() instanceof CompilationUnit;
|
| }
|
|
|