Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 335413
Collapse All | Expand All

(-)src/org/eclipse/tm/internal/terminal/control/CommandInputFieldWithHistory.java (-1 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2007, 2008 Wind River Systems, Inc. and others.
2
 * Copyright (c) 2007, 2011 Wind River Systems, Inc. and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 11-16 Link Here
11
 * Michael Scharf (Wing River) - [196447] The optional terminal input line should be resizeable
11
 * Michael Scharf (Wing River) - [196447] The optional terminal input line should be resizeable
12
 * Martin Oberhuber (Wind River) - [168197] Fix Terminal for CDC-1.1/Foundation-1.1
12
 * Martin Oberhuber (Wind River) - [168197] Fix Terminal for CDC-1.1/Foundation-1.1
13
 * Michael Scharf (Wing River) - [236458] Fix 168197 lost the last entry
13
 * Michael Scharf (Wing River) - [236458] Fix 168197 lost the last entry
14
 * Anton Leherbauer (Wind River) - [220971] The optional terminal input line has redraw problems when resizing
14
 *******************************************************************************/
15
 *******************************************************************************/
15
package org.eclipse.tm.internal.terminal.control;
16
package org.eclipse.tm.internal.terminal.control;
16
import java.util.ArrayList;
17
import java.util.ArrayList;
Lines 222-227 Link Here
222
		fSash.setLayoutData(gd_sash);
223
		fSash.setLayoutData(gd_sash);
223
		fSash.addListener (SWT.Selection, new Listener () {
224
		fSash.addListener (SWT.Selection, new Listener () {
224
			public void handleEvent (Event e) {
225
			public void handleEvent (Event e) {
226
				if (e.detail == SWT.DRAG) {
227
					// don't redraw during drag, it causes paint errors - bug 220971
228
					return;
229
				}
225
				// no idea why this is needed
230
				// no idea why this is needed
226
				GridData gdata = (GridData) fInputField.getLayoutData();
231
				GridData gdata = (GridData) fInputField.getLayoutData();
227
				Rectangle sashRect = fSash.getBounds ();
232
				Rectangle sashRect = fSash.getBounds ();

Return to bug 335413