Added code to fetch the current line on right click.