| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/SourceRangeUtils.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/SourceRangeUtils.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/SourceRangeUtils.java
|
| index edf55568c657e501e91919d44867e1d695ddce0d..15bfa60202e12973f106202754f39d71bb11a323 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/SourceRangeUtils.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/util/SourceRangeUtils.java
|
| @@ -57,6 +57,13 @@ public class SourceRangeUtils {
|
| }
|
|
|
| /**
|
| + * @return the instance of {@link SourceRange} with end moved on "delta".
|
| + */
|
| + public static SourceRange getMoveEnd(SourceRange s, int delta) {
|
| + return new SourceRangeImpl(s.getOffset(), s.getLength() + delta);
|
| + }
|
| +
|
| + /**
|
| * @return <code>true</code> if two given {@link SourceRange}s are intersecting.
|
| */
|
| public static boolean intersects(SourceRange a, SourceRange b) {
|
|
|