highlight selected location in edtitor