Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarsten Thoms2017-10-13 15:12:33 -0400
committerLakshmi Shanmugam2017-12-19 23:46:26 -0500
commit28768d0b1cc69abfdab02792b0c35db97f056b65 (patch)
treec7653ea781b5a719019b312d3c9f010625e58eb6 /tests
parent2017b24cda76ff73069db41157336099d046164f (diff)
downloadeclipse.platform.swt-28768d0b1cc69abfdab02792b0c35db97f056b65.tar.gz
eclipse.platform.swt-28768d0b1cc69abfdab02792b0c35db97f056b65.tar.xz
eclipse.platform.swt-28768d0b1cc69abfdab02792b0c35db97f056b65.zip
Bug 528746 - [performance] Added getOffsetAtPoint(Point)
The IAE thrown in getOffsetAtLocation(Point) can degrade performance when occurring too often. The new method will return -1 when no character is at the specified location, which performs better. Deprecated getOffsetAtLocation(Point) in favor to getOffsetAtPoint(Point). Change-Id: Ia6bc87d4fb5d2c00330b5efa1ed523169da360a8 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions

Back to the top