Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2005-01-26 19:14:50 +0000
committerFelipe Heidrich2005-01-26 19:14:50 +0000
commit839e7aae626325bcc120e28136132e007b50784e (patch)
treec402cb730a98277be84ed946eac65b8568596e79
parentb58cdf1ea7c665df95c22509fb3fe8f876d0cbf4 (diff)
downloadeclipse.platform.swt-839e7aae626325bcc120e28136132e007b50784e.tar.gz
eclipse.platform.swt-839e7aae626325bcc120e28136132e007b50784e.tar.xz
eclipse.platform.swt-839e7aae626325bcc120e28136132e007b50784e.zip
83683
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
index 2991065638..4593293fee 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
@@ -19,7 +19,7 @@ public class StyleRange implements CloneableCompatibility {
public int length; // style length.
public Color foreground;
public Color background;
- public int fontStyle = SWT.NORMAL; // may be SWT.NORMAL or SWT.BOLD
+ public int fontStyle = SWT.NORMAL; // may be SWT.NORMAL, SWT.ITALIC or SWT.BOLD
public StyleRange() {
}
@@ -47,7 +47,7 @@ public StyleRange(int start, int length, Color foreground, Color background) {
* @param length length of the style
* @param foreground foreground color of the style, null if none
* @param background background color of the style, null if none
- * @param fontStyle font style of the style, may be SWT.NORMAL or SWT.BOLD
+ * @param fontStyle font style of the style, may be SWT.NORMAL, SWT.ITALIC or SWT.BOLD
*/
public StyleRange(int start, int length, Color foreground, Color background, int fontStyle) {
this.start = start;

Back to the top