diff options
author | Grant Gayed <ggayed> | 2007-05-25 15:47:53 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2007-05-25 15:47:53 +0000 |
commit | 6b82a5031b4ed40cdabe80cfe93c01a3349ec7e8 (patch) | |
tree | ac39075aa10c7858ee1c5e7665c1ef40df25d20d | |
parent | 31a2d55ec6dc8a8de32567fdce478b55bddf1625 (diff) | |
download | eclipse.platform.swt-6b82a5031b4ed40cdabe80cfe93c01a3349ec7e8.tar.gz eclipse.platform.swt-6b82a5031b4ed40cdabe80cfe93c01a3349ec7e8.tar.xz eclipse.platform.swt-6b82a5031b4ed40cdabe80cfe93c01a3349ec7e8.zip |
javadoc
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java | 10 |
1 files changed, 8 insertions, 2 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 a12f28ef89..d1e042910a 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 @@ -504,7 +504,12 @@ public void draw (GC gc, int x, int y, int selectionStart, int selectionEnd, Col /** * Draws the receiver's text using the specified GC at the specified * point. - * + * <p> + * The parameter <code>flags</code> can include one of <code>SWT.DELIMITER_SELECTION</code> + * or <code>SWT.FULL_SELECTION</code> to specify the selection behavior on all lines except + * for the last line, and can also include <code>SWT.LAST_LINE_SELECTION</code> to extend + * the specified selection behavior to the last line. + * </p> * @param gc the GC to draw * @param x the x coordinate of the top left corner of the rectangular area where the text is to be drawn * @param y the y coordinate of the top left corner of the rectangular area where the text is to be drawn @@ -1617,7 +1622,8 @@ public int getOrientation () { /** * Returns the previous offset for the specified offset and movement * type. The movement is one of <code>SWT.MOVEMENT_CHAR</code>, - * <code>SWT.MOVEMENT_CLUSTER</code> or <code>SWT.MOVEMENT_WORD</code>. + * <code>SWT.MOVEMENT_CLUSTER</code> or <code>SWT.MOVEMENT_WORD</code>, + * <code>SWT.MOVEMENT_WORD_END</code> or <code>SWT.MOVEMENT_WORD_START</code>. * * @param offset the start offset * @param movement the movement type |