From c491ba8abfa470dac9b552cbad885bba81b02785 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 8 Dec 2010 12:45:56 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20Editor:=20fix=20and=20improvements?= =?UTF-8?q?=20for=20wrapping=20selection=20into=20matching=20chars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPBundleCommandTextView.m | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/SPBundleCommandTextView.m b/Source/SPBundleCommandTextView.m index 2f9066b6..76020392 100644 --- a/Source/SPBundleCommandTextView.m +++ b/Source/SPBundleCommandTextView.m @@ -427,6 +427,16 @@ break; case '{': matchingCharacter = '}'; + break; + case '[': + matchingCharacter = ']'; + break; + case '“': + matchingCharacter = '”'; + break; + case '‘': + matchingCharacter = '’'; + break; default: return NO; } -- cgit v1.2.3