textEdits property

List<TextEdit> get textEdits

Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click.

Note that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.

Note that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.

Implementation

_i2.List<_i3.TextEdit> get textEdits => (_i5.getProperty(
      this,
      'textEdits',
    ) as _i2.List)
        .cast();
set textEdits (List<TextEdit> value)

Implementation

set textEdits(_i2.List<_i3.TextEdit> value) {
  _i5.setProperty(
    this,
    'textEdits',
    value,
  );
}