Change the treatment for ended delimiters.
Stop going off the mechanism to expand selection area.
Improve the behavior of selection area expansion.