Arthur Hamlin - 2012-11-28

Sometimes the automatic insertion of closing brackets doesn't work. I tracked it down to when it is done within a literal string ( which I have been doing a lot of work with lately ). I looked at the code, and isClosingBracket treats all opening brackets as quotes when the selection is in the middle of a literal string. I don't seem any justification for this. Does anyone know why it might do this? I am going to try adding
        else if (c == '{' || c == '[' || c == '<' || c == '(') return false; // easy
as the second line and see if that gives the desired results.