Function EditWidgetBase.wrapsUpTo

Returns number of visible wraps up to a line (not including the first wrapLines themselves)

int wrapsUpTo(
  int line
);