diff options
author | Dani Megert | 2012-09-18 12:17:09 +0000 |
---|---|---|
committer | Dani Megert | 2012-10-03 09:43:57 +0000 |
commit | 65d0355c6752ef05db3c570823b5ea00d3b0b574 (patch) | |
tree | 2e83a81f8c3c39dcd41034dd287aef417c4fb52e /org.eclipse.ui.console | |
parent | 23bc93d6667d76769a86c221a4ec973cf45c35f6 (diff) | |
download | eclipse.platform.debug-65d0355c6752ef05db3c570823b5ea00d3b0b574.tar.gz eclipse.platform.debug-65d0355c6752ef05db3c570823b5ea00d3b0b574.tar.xz eclipse.platform.debug-65d0355c6752ef05db3c570823b5ea00d3b0b574.zip |
Fixed bug 278529: [console] Background color not set when Console opensv20121003-094357
the first time
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r-- | org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java index 50c1a8e2d..68d61651a 100644 --- a/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java +++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2012 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 @@ -160,6 +160,7 @@ public class TextConsoleViewer extends SourceViewer implements LineStyleListener styledText.addLineStyleListener(this); styledText.addLineBackgroundListener(this); styledText.setEditable(true); + styledText.setBackground(console.getBackground()); setFont(console.getFont()); styledText.addMouseTrackListener(this); styledText.addListener(SWT.MouseUp, mouseUpListener); |