             textDisplay.editable = true;
             textDisplay.lineBreak = getStyle("lineBreak");
             textDisplay.useTightTextBounds = false;
-			textDisplay.scrollToRangeDelegate = scrollToRange;
+            textDisplay.scrollToRangeDelegate = scrollToRange;
             
             // on iOS, resize the TextField and let the native control handle scrolling
             _isIOS = (Capabilities.version.indexOf("IOS") == 0);

        // set the height to oldTextHeight.  If the height's actually wrong, 
        // we'll invalidateSize() and go through this layout pass again anyways
        setElementSize(textDisplay, textWidth, textHeight);
		
		// Set minWidth/Height on the text so the textDisplayGroup sizes accordingly
		textDisplay.minWidth = textWidth;
		textDisplay.minHeight = textHeight;
		textDisplayGroup.invalidateDisplayList();
        
        // grab new measured textDisplay height after the textDisplay has taken its final width
        var newPreferredTextHeight:Number = getElementPreferredHeight(textDisplay);

            scroller.minViewportInset = 0;
            scroller.measuredSizeIncludesScrollBars = false;
            scroller.ensureElementIsVisibleForSoftKeyboard = false;
            
            addChild(scroller);
        }
        
