alternateCommentMargin property

num alternateCommentMargin

Gets or sets the alternate distance between a node and its comments.

The default value is 20.

This is used by #addComments and #layoutComments. This sets the #alternateDefaults' property of the same name.

Implementation

_i2.num get alternateCommentMargin => _i4.getProperty(
      this,
      'alternateCommentMargin',
    );
void alternateCommentMargin=(num value)

Implementation

set alternateCommentMargin(_i2.num value) {
  _i4.setProperty(
    this,
    'alternateCommentMargin',
    value,
  );
}