diff options
author | Bibiko <bibiko@eva.mpg.de> | 2012-01-08 15:25:06 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2012-01-08 15:25:06 +0000 |
commit | 844435db969701bb914094c523e93d775e597df1 (patch) | |
tree | 9c4889f71b05bd78deeb2d01b0f4b1eb991a7b1a | |
parent | f50a951609470af0cfb080b3932da899a3880502 (diff) | |
download | sequelpro-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
-rw-r--r-- | Source/SPTextView.m | 4 |
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])); |