Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Keimel2015-03-10 13:31:55 +0000
committerThomas Schindl2015-03-26 08:12:04 +0000
commitae583283b191f961f42ae78cbabc0038b4b4c46a (patch)
treec121f3d6c89790fb66000e7ba8d233213f2d9581 /experimental
parent57d8550e1d3908fa9550534552f1aea6991e584e (diff)
downloadorg.eclipse.efxclipse-ae583283b191f961f42ae78cbabc0038b4b4c46a.tar.gz
org.eclipse.efxclipse-ae583283b191f961f42ae78cbabc0038b4b4c46a.tar.xz
org.eclipse.efxclipse-ae583283b191f961f42ae78cbabc0038b4b4c46a.zip
Bug 462849 - Fix StyledText.toFXRange because of API Change in TextStyle
Signed-off-by: Christoph Keimel <c.keimel@emsw.de>
Diffstat (limited to 'experimental')
-rw-r--r--experimental/swt/org.eclipse.fx.runtime.swt/src-styledtext-fx/org/eclipse/swt/custom/StyledText.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/swt/org.eclipse.fx.runtime.swt/src-styledtext-fx/org/eclipse/swt/custom/StyledText.java b/experimental/swt/org.eclipse.fx.runtime.swt/src-styledtext-fx/org/eclipse/swt/custom/StyledText.java
index 46b56d864..f044f8edb 100644
--- a/experimental/swt/org.eclipse.fx.runtime.swt/src-styledtext-fx/org/eclipse/swt/custom/StyledText.java
+++ b/experimental/swt/org.eclipse.fx.runtime.swt/src-styledtext-fx/org/eclipse/swt/custom/StyledText.java
@@ -70,7 +70,7 @@ public class StyledText extends Canvas {
}
private static org.eclipse.fx.ui.controls.styledtext.StyleRange toFXRange(StyleRange swtRange) {
- TextStyle fxTextStyle = new TextStyle();
+ TextStyle fxTextStyle = new TextStyle("swtRange");
fxTextStyle.background = swtRange.background != null ? swtRange.background.internal_getNativeObject() : null;
fxTextStyle.borderColor = swtRange.borderColor != null ? swtRange.borderColor.internal_getNativeObject() : null;
fxTextStyle.borderStyle = swtRange.borderStyle;

Back to the top