Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2017-11-29 01:46:52 -0500
committerSravan Kumar Lakkimsetti2018-02-12 10:59:59 -0500
commita641c5ea7f382696523d5a123772fa0bb92533de (patch)
tree3424db7a6a46024378d11b58a8433f66fc5ea6da /bundles/org.eclipse.swt/Eclipse SWT/win32
parenteaea5fcdc5979e1329a86da5469c8ec6047e970f (diff)
downloadeclipse.platform.swt-a641c5ea7f382696523d5a123772fa0bb92533de.tar.gz
eclipse.platform.swt-a641c5ea7f382696523d5a123772fa0bb92533de.tar.xz
eclipse.platform.swt-a641c5ea7f382696523d5a123772fa0bb92533de.zip
Bug 519015 - Tab after 4 spaces is not visible
Change-Id: Ibe69a8fd115d6691550f8657d79dd8e4757d8b23 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java23
1 files changed, 22 insertions, 1 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 4293a2cda7..5ca282f7ff 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -3692,4 +3692,25 @@ int untranslateOffset(int offset) {
}
return offset;
}
+
+/**
+ * Sets Default Tab Width in terms if number of space characters.
+ *
+ * @param tabLength in number of characters
+ *
+ * @exception IllegalArgumentException <ul>
+ * <li>ERROR_INVALID_ARGUMENT - if the tabLength is less than <code>0</code></li>
+ * </ul>
+ * @exception SWTException <ul>
+ * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
+ * </ul>
+ *
+ * @noreference This method is not intended to be referenced by clients.
+ *
+ * DO NOT USE This might be removed in 4.8
+ * @since 3.107
+ */
+public void setDefaultTabWidth(int tabLength) {
+ // unused in win32
+}
}

Back to the top