Practicals of R Programming

The instructor while teaching practicals in R programming , after he types the commands and gets the answer in the console window, he highlights the answer in a text box and with an arrow.Could you please let me know how to highlight the answer with a text box and an arrow