LaTEX $ highlighted wrap entry

If you highlight characters and enter brackets, parenthesis, asterisks, or other editor flags, the editor will place them outside the highlighted portion. Can dollar signs be included in that mechanic?