aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2012-01-08 15:25:06 +0000
committerBibiko <bibiko@eva.mpg.de>2012-01-08 15:25:06 +0000
commit844435db969701bb914094c523e93d775e597df1 (patch)
tree9c4889f71b05bd78deeb2d01b0f4b1eb991a7b1a /Source/SPTextView.m
parentf50a951609470af0cfb080b3932da899a3880502 (diff)
downloadsequelpro-844435db969701bb914094c523e93d775e597df1.tar.gz
sequelpro-844435db969701bb914094c523e93d775e597df1.tar.bz2
sequelpro-844435db969701bb914094c523e93d775e597df1.zip
• removed for syntax hiliting "ensureLayoutForCharacterRange" since it can cause for some unknown reasons an exception
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r--Source/SPTextView.m4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 9f662f0b..500e4892 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -2760,10 +2760,6 @@ NSInteger _alphabeticSort(id string1, id string2, void *reverse)
textRange = NSMakeRange(start, end-start);
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
- [[self layoutManager] ensureLayoutForCharacterRange:textRange];
-#endif
-
// only to be sure that nothing went wrongly
textRange = NSIntersectionRange(textRange, NSMakeRange(0, [textStore length]));