code: function findNextNonSpacePoint(editor, pos) {
  	const stream = new BufferStreamReader(editor.getBuffer(), pos);
  	stream.eatWhile(isSpace);
  	return stream.pos;
  }
docs: Finds position of first non-space character next to given `pos`
  @param  {TextEditor} editor
  @param  {Point} pos
  @return {Point}