edit abstract method

void edit(
  1. TextEditingValue newValue
)

Set the current editor value.

Setting this will notify all the listeners of this CodeLineEditingController that they need to update (it calls notifyListeners). For this reason, this value should only be set between frames, e.g. in response to user actions, not during the build, layout, or paint phases.

Implementation

void edit(TextEditingValue newValue);