[SourceEditor] Fixed some quotation auto insertion bugs.