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.tests | |
parent | e76fdc71f32c1c24eb4a7541357fc4ec9309ec75 (diff) | |
download | eclipse.platform.text-I20180104-2000.tar.gz eclipse.platform.text-I20180104-2000.tar.xz eclipse.platform.text-I20180104-2000.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.tests')
0 files changed, 0 insertions, 0 deletions