doError method

void doError(
  1. String oldstring,
  2. String newstring
)

Call the #textBlock's TextBlock#errorFunction, if there is one, and then show the text editor again. This is called only when the #isValidText method returned false. The value of #state will be StateInvalid. This method may be overridden. You may wish to override this method in order to not continue showing the editor. @expose @param oldstring @param newstring @since 2.1

Implementation

void doError(
  _i2.String oldstring,
  _i2.String newstring,
) {
  _i4.callMethod(
    this,
    'doError',
    [
      oldstring,
      newstring,
    ],
  );
}