sourceview: Fix overriding closing '
When a matching character is the same as the opening one, then comparing the counts in the line isn't useful, as they are the same by definition.
The current code recognizes that by special-casing "
. Do the
same for '
to get the correct behavior for chars/single-quote
strings as well.