content = new WrappedContent(this, logicalContent);
content = new WrappedContent(renderer, logicalContent);
public void setWordWrap(boolean wrap) {	checkWidget();		if (wrap != wordWrap) {		ScrollBar horizontalBar = getHorizontalBar();				wordWrap = wrap;		if (wordWrap) {		    logicalContent = content;		    content = new WrappedContent(this, logicalContent);		}		else {		    content = logicalContent;		}		calculateContentWidth();		caretLine = content.getLineAtOffset(caretOffset);	    horizontalScrollOffset = 0;	    if (horizontalBar != null) {			horizontalBar.setVisible(!wordWrap);			    }		setScrollBars();		setCaretLocation();		super.redraw();			}}