void () { String text = " 1111111111111111111111111111111"; init(10, text); getEditor().getSettings().setCustomSoftWrapIndent(0); getEditor().getSettings().setUseCustomSoftWrapIndent(true); //Trigger soft wraps recalculation. ((SoftWrapModelImpl)getEditor().getSoftWrapModel()).prepareToMapping(); verifySoftWrapPositions(3, 11, 19, 27); }