aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleCommandTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-08 12:45:56 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-08 12:45:56 +0000
commitc491ba8abfa470dac9b552cbad885bba81b02785 (patch)
tree355b200ca33f048740314710b41237ce4371ccf1 /Source/SPBundleCommandTextView.m
parent8b4ae2928e82097e1957ef1873988d8677ac5426 (diff)
downloadsequelpro-c491ba8abfa470dac9b552cbad885bba81b02785.tar.gz
sequelpro-c491ba8abfa470dac9b552cbad885bba81b02785.tar.bz2
sequelpro-c491ba8abfa470dac9b552cbad885bba81b02785.zip
• Bundle Editor: fix and improvements for wrapping selection into matching chars
Diffstat (limited to 'Source/SPBundleCommandTextView.m')
-rw-r--r--Source/SPBundleCommandTextView.m10
1 files changed, 10 insertions, 0 deletions
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;
}