when cursor is between the end of text and ending quote without any space ,it will select the ending quote.