diff options
author | Michael Valenta | 2006-11-16 16:35:26 +0000 |
---|---|---|
committer | Michael Valenta | 2006-11-16 16:35:26 +0000 |
commit | 4fc355d58df9c63593894d5bd67a11c0a3cbbef1 (patch) | |
tree | 8f6e2c4d13fe7153fcd453f47a76cb75b0dec0c4 /bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java | |
parent | 82ec861e4521ab7695b22efee434fc86133cc041 (diff) | |
download | eclipse.platform.team-4fc355d58df9c63593894d5bd67a11c0a3cbbef1.tar.gz eclipse.platform.team-4fc355d58df9c63593894d5bd67a11c0a3cbbef1.tar.xz eclipse.platform.team-4fc355d58df9c63593894d5bd67a11c0a3cbbef1.zip |
Bug 161255 [Patch] Make Hunk description API
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java')
-rw-r--r-- | bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java index 273dad406..1c05e6b40 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/HunkTypedElement.java @@ -96,4 +96,8 @@ public class HunkTypedElement implements ITypedElement, IEncodedStreamContentAcc return fHunkResult; } + public int getStartPosition() { + return fHunkResult.getAdjustedStartPosition(); + } + } |