tab method

void tab()

Implementation

void tab() {
  while (buffer.cursorX < viewWidth) {
    buffer.write(' ');

    if (tabs.isSetAt(buffer.cursorX)) {
      break;
    }
  }
}