anchor.diff:  
     CharEnd:= EditorBracket_GetPairForOpeningBracketOrQuote(CharBegin);
     if CharEnd=#0 then exit;
  +
  +  case CharBegin of
  +    '"', '''', '`':
  +      bQuoteChar:= true;
  +    else
  +      bQuoteChar:= false;
  +  end;
   
     //make additional loop, to detect that ALL carets need pairing.
     //if at least one caret doesn't need, stop.
  
positive.code:     bBackwardSel:= not Caret.IsForwardSelection;
  
      if not bSel then
        if not EditorAutoCloseBracket_NeedPair(Ed, Caret) then Continue;
  
      if not bSel then
      begin
  
negative.code:     Caret:= Ed.Carets[NCaret];
      if not Ed.Strings.IsIndexValid(Caret.PosY) then Continue;
      if Caret.EndY<0 then
        if not EditorAutoCloseBracket_NeedPair(Ed, Caret, bQuoteChar) then
          exit;
    end;
  
  