private int getAdjustedRightMargin() {
    int result = getRightMargin();
    return result > 0 ? result : CodeStyle.getSettings(ProjectUtil.guessCurrentProject(getPanel())).getRightMargin(getDefaultLanguage());
  }
private int getAdjustedRightMargin()