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 382886
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.editor/web/orion/textview/textView.js (-2 / +2 lines)
Lines 2919-2927 Link Here
2919
			var rect2 = div2.getBoundingClientRect();
2919
			var rect2 = div2.getBoundingClientRect();
2920
			div1.style.overflow = 'hidden'; //$NON-NLS-0$
2920
			div1.style.overflow = 'hidden'; //$NON-NLS-0$
2921
			div2.style.height = "200px"; //$NON-NLS-0$
2921
			div2.style.height = "200px"; //$NON-NLS-0$
2922
			var w1 = div2.offsetWidth;
2922
			var w1 = div1.clientWidth;
2923
			div1.style.overflow = 'scroll'; //$NON-NLS-0$
2923
			div1.style.overflow = 'scroll'; //$NON-NLS-0$
2924
			var w2 = div2.offsetWidth;
2924
			var w2 = div1.clientWidth;
2925
			parent.removeChild(div1);
2925
			parent.removeChild(div1);
2926
			var scrollWidth = w1 - w2;
2926
			var scrollWidth = w1 - w2;
2927
			pad = {
2927
			pad = {

Return to bug 382886