diff options
author | Veronika Irvine <veronika> | 2004-05-11 15:13:43 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2004-05-11 15:13:43 +0000 |
commit | c68f6dd001472fcd3304e7b89e837fe9b396a9bb (patch) | |
tree | c324ebe4cc181c0363864898adf51b122a7b6edc | |
parent | 73a2154ded31231903484376280471704a77d78d (diff) | |
download | eclipse.platform.swt-3051a.tar.gz eclipse.platform.swt-3051a.tar.xz eclipse.platform.swt-3051a.zip |
javadoc for getOffsetv3051a
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java index 490c209905..8c588bf6d4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java @@ -1127,10 +1127,13 @@ public int getNextOffset (int offset, int movement) { } /** - * Returns the character offset for the specified point. When - * the point is over a cluster composed by multiple characters, - * the trailing argument will determine for each character in the - * cluster whether it is under the point. + * Returns the character offset for the specified point. + * For a typical character, the trailing argument will be filled in to + * indicate whether the point is closer to the leading edge (0) or + * the trailing edge (1). When the point is over a cluster composed + * of multiple characters, the trailing argument will be filled with the + * position of the character in the cluster that is closest to + * the point. * * @param point the point * @param trailing the trailing buffer |