Text this: Induced subgraphs of graphs with large chromatic number. IV. Consecutive holes.