if (oldHeight == 0) topIndexY = 0;
void handleResize(Event event) {	int oldHeight = clientAreaHeight;	int oldWidth = clientAreaWidth;	Rectangle clientArea = getClientArea();	clientAreaHeight = clientArea.height;	clientAreaWidth = clientArea.width;	/* Redraw the old or new right/bottom margin if needed */	if (oldWidth != clientAreaWidth) {		if (rightMargin > 0) {			int x = (oldWidth < clientAreaWidth ? oldWidth : clientAreaWidth) - rightMargin; 			super.redraw(x, 0, rightMargin, oldHeight, false);		}	}	if (oldHeight != clientAreaHeight) {		if (bottomMargin > 0) {			int y = (oldHeight < clientAreaHeight ? oldHeight : clientAreaHeight) - bottomMargin; 			super.redraw(0, y, oldWidth, bottomMargin, false);		}	}	if (wordWrap) {		if (oldWidth != clientAreaWidth) {			renderer.reset(0, content.getLineCount());			verticalScrollOffset = -1;			renderer.calculateIdle();			super.redraw();		}		if (oldHeight != clientAreaHeight) {			setScrollBars(true);		}		setCaretLocation();	} else  {		renderer.calculateClientArea();		setScrollBars(true);		claimRightFreeSpace();	}	claimBottomFreeSpace();	//TODO FIX TOP INDEX DURING RESIZE//	if (oldHeight != clientAreaHeight || wordWrap) {//		calculateTopIndex(0);//	}}