A rhodamine-based fluorescent probe containing a Se-N bond for detecting thiols and its application in living cells.