diff options
author | Felipe Heidrich <fheidric> | 2004-05-28 16:27:30 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2004-05-28 16:27:30 +0000 |
commit | 5ff7ac2fddf79437e7380da2c61f177a9d2b7b57 (patch) | |
tree | 58b971441625f9ea3554a4e5924342c1abcb5553 | |
parent | 9fb80a18781961ccb53562c109f6c56290127a0c (diff) | |
download | eclipse.platform.swt-5ff7ac2fddf79437e7380da2c61f177a9d2b7b57.tar.gz eclipse.platform.swt-5ff7ac2fddf79437e7380da2c61f177a9d2b7b57.tar.xz eclipse.platform.swt-5ff7ac2fddf79437e7380da2c61f177a9d2b7b57.zip |
*** empty log message ***
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/textlayout/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/textlayout/org/eclipse/swt/graphics/TextLayout.java index bf847d4183..60d4abf34d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/textlayout/org/eclipse/swt/graphics/TextLayout.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/textlayout/org/eclipse/swt/graphics/TextLayout.java @@ -134,7 +134,7 @@ void computeRuns (GC gc) { break; } } - if (wrapWidth != -1 && lineWidth + run.width > wrapWidth) { + if (wrapWidth != -1 && lineWidth + run.width > wrapWidth && !run.tab) { int start = 0; gc.setFont(getItemFont(run)); char[] chars = new char[run.length]; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/TextLayout.java index a7c38ff849..e71580d083 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/TextLayout.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/TextLayout.java @@ -147,7 +147,7 @@ void computeRuns () { break; } } - if (wrapWidth != -1 && lineWidth + run.width > wrapWidth) { + if (wrapWidth != -1 && lineWidth + run.width > wrapWidth && !run.tab) { int start = 0; char[] chars = new char[run.length]; text.getChars(run.start, run.start + run.length, chars, 0); |