You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compute fg and bg colors for setEditable for StyledText
This commit adds the foreground and background color computation for
setEditable. Earlier this was handled only for setEnabled. This commit
also adds a different foreground and background color for StyledText
when background is not editable.
Fixes :#3132
Copy file name to clipboardExpand all lines: tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@
66
66
importorg.eclipse.swt.graphics.GC;
67
67
importorg.eclipse.swt.graphics.GlyphMetrics;
68
68
importorg.eclipse.swt.graphics.Point;
69
+
importorg.eclipse.swt.graphics.RGB;
69
70
importorg.eclipse.swt.graphics.Rectangle;
70
71
importorg.eclipse.swt.internal.BidiUtil;
71
72
importorg.eclipse.swt.layout.FillLayout;
@@ -101,6 +102,7 @@ public class Test_org_eclipse_swt_custom_StyledText extends Test_org_eclipse_swt
0 commit comments