void (boolean onNewLine, boolean space, TextRange dependence) { if (onNewLine) { int spaces = space ? 1 : 0; myResult = Spacing.createDependentLFSpacing(spaces, spaces, dependence, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } else { createSpaceInCode(space); } }