diff --git a/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java b/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java index c203964af67..096ab67d9eb 100644 --- a/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java +++ b/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java @@ -1799,7 +1799,6 @@ public class TerminalText implements Runnable, ControlListener { Point textLocation = text.getLocation(); textLocation.y += verticalPixelsToShrink; - textLocation.x += horizontalPixelsToShrink; text.setLocation(textLocation); // Restore this class instance as the ControlListener on the StyledText @@ -1807,13 +1806,6 @@ public class TerminalText implements Runnable, ControlListener { text.addControlListener(this); - // Make sure the exposed portion of the Composite canvas behind the - // StyledText control matches the background color of the StyledText - // control. - - Color textBackground = text.getBackground(); - text.getParent().setBackground(textBackground); - // Scroll the StyledText widget to the bottommost position. text.setSelectionRange(text.getCharCount(), 0);