mark whole buffer