Git commit 83a6f7c40c8fafe219f1972064b38951b66dd1ea by Dominik Haumann. Committed on 02/07/2012 at 15:38. Pushed by dhaumann into branch 'KDE/4.9'. fix " matching, it simply will never work FIXED-IN: 4.9 BUG: 301298 M +2 -3 part/document/katedocument.cpp http://commits.kde.org/kate/83a6f7c40c8fafe219f1972064b38951b66dd1ea diff --git a/part/document/katedocument.cpp b/part/document/katedocument.cpp index 5d2189c..cfa3df1 100644 --- a/part/document/katedocument.cpp +++ b/part/document/katedocument.cpp @@ -92,8 +92,8 @@ static int dummy =3D 0; = class KateTemplateScript; = -inline bool isStartBracket( const QChar& c ) { return c =3D=3D '{' || c = =3D=3D '[' || c =3D=3D '(' || c =3D=3D '"'; } -inline bool isEndBracket ( const QChar& c ) { return c =3D=3D '}' || c = =3D=3D ']' || c =3D=3D ')' || c =3D=3D '"'; } +inline bool isStartBracket( const QChar& c ) { return c =3D=3D '{' || c = =3D=3D '[' || c =3D=3D '('; } +inline bool isEndBracket ( const QChar& c ) { return c =3D=3D '}' || c = =3D=3D ']' || c =3D=3D ')'; } inline bool isBracket ( const QChar& c ) { return isStartBracket( c ) = || isEndBracket( c ); } = class KateDocument::LoadSaveFilterCheckPlugins @@ -3712,7 +3712,6 @@ bool KateDocument::findMatchingBracket( KTextEditor::= Range& range, int maxLines case ']': opposite =3D '['; break; case '(': opposite =3D ')'; break; case ')': opposite =3D '('; break; - case '"': opposite =3D '"'; break; default: return false; } =20