private static float getBaseMarginWidth(EditorView view) {
      Editor editor = view.getEditor();
      return editor.getSettings().getRightMargin(editor.getProject()) * view.getPlainSpaceWidth();
    }
private static float getBaseMarginWidth(EditorView view)