From 844435db969701bb914094c523e93d775e597df1 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Sun, 8 Jan 2012 15:25:06 +0000 Subject: =?UTF-8?q?=E2=80=A2=20removed=20for=20syntax=20hiliting=20"ensure?= =?UTF-8?q?LayoutForCharacterRange"=20since=20it=20can=20cause=20for=20som?= =?UTF-8?q?e=20unknown=20reasons=20an=20exception?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTextView.m | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Source/SPTextView.m') 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])); -- cgit v1.2.3