document tab completion