void (boolean use) { PropertiesComponent.getInstance().setValue(SOFT_WRAPS_KEY, use); Editor editor = getEditor(); if (editor != null) { AbstractToggleUseSoftWrapsAction.toggleSoftWraps(editor, null, use); } }