diff options
author | Karsten Thoms | 2017-10-13 19:16:55 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-01-03 12:41:01 +0000 |
commit | 3df8f29f3617867ae37ef815827c463878f4f218 (patch) | |
tree | dfd085dcbf5be22aed9ee52bb583b3d317c71386 /org.eclipse.jface.text/META-INF/MANIFEST.MF | |
parent | e76fdc71f32c1c24eb4a7541357fc4ec9309ec75 (diff) | |
download | eclipse.platform.text-3df8f29f3617867ae37ef815827c463878f4f218.tar.gz eclipse.platform.text-3df8f29f3617867ae37ef815827c463878f4f218.tar.xz eclipse.platform.text-3df8f29f3617867ae37ef815827c463878f4f218.zip |
Bug 522103 - Refactor usage of StyledText#getOffsetAtLocation(Point)I20180104-2000I20180104-0030I20180103-2000
Refactored usages of StyledText#getOffsetAtLocation(), which throws an
IAE when no character is at the given point. The new method returns -1
as return code, which is evaluated and try-catch blocks are avoided.
Adjusted lower bound for org.eclipse.swt
Change-Id: I1980f14b95926ca0e13044670101caa73ff1dcbd
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'org.eclipse.jface.text/META-INF/MANIFEST.MF')
-rw-r--r-- | org.eclipse.jface.text/META-INF/MANIFEST.MF | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/META-INF/MANIFEST.MF b/org.eclipse.jface.text/META-INF/MANIFEST.MF index a93103f3ce4..be9cac0084c 100644 --- a/org.eclipse.jface.text/META-INF/MANIFEST.MF +++ b/org.eclipse.jface.text/META-INF/MANIFEST.MF @@ -35,7 +35,7 @@ Export-Package: Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)", org.eclipse.text;bundle-version="[3.5.0,4.0.0)";visibility:=reexport, - org.eclipse.swt;bundle-version="[3.103.0,4.0.0)", + org.eclipse.swt;bundle-version="[3.107.0,4.0.0)", org.eclipse.jface;bundle-version="[3.5.0,4.0.0)" Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Import-Package: com.ibm.icu.text |