commit | 3df8f29f3617867ae37ef815827c463878f4f218 | [log] [tgz] |
---|---|---|
author | Karsten Thoms <karsten.thoms@itemis.de> | Fri Oct 13 21:16:55 2017 +0200 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Wed Jan 03 07:41:01 2018 -0500 |
tree | dfd085dcbf5be22aed9ee52bb583b3d317c71386 | |
parent | e76fdc71f32c1c24eb4a7541357fc4ec9309ec75 [diff] |
Bug 522103 - Refactor usage of StyledText#getOffsetAtLocation(Point) 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>