From 4f728be46b39caa908a1000b6f903fc4c4cb5ef4 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 22 Oct 2009 16:52:34 -0400 Subject: Update for 10.5 --- LispREPLController.m | 8 +++++--- NSException+LiDebugging.m | 22 ---------------------- 2 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 NSException+LiDebugging.m diff --git a/LispREPLController.m b/LispREPLController.m index 889b9f1..d8a9f0e 100644 --- a/LispREPLController.m +++ b/LispREPLController.m @@ -575,12 +575,14 @@ enum repl_lock_condition { NO_DATA, HAS_DATA }; while ([theUpdates count] > 0) { NSAttributedString *replString; NSData *updateData; + NSString *updateStr; NSTextStorage *ts; updateData = [theUpdates objectAtIndex: 0]; - replString = [NSAttributedString attributedStringWithString: - [NSString stringWithCString: [updateData bytes] - length: [updateData length]] + updateStr = [[[NSString alloc] initWithBytes: [updateData bytes] + length: [updateData length] + encoding: NSUTF8StringEncoding] autorelease]; + replString = [NSAttributedString attributedStringWithString: updateStr attributes: [self REPLOutputAttributes]]; // Insert before values, and update marks. diff --git a/NSException+LiDebugging.m b/NSException+LiDebugging.m deleted file mode 100644 index a4addd4..0000000 --- a/NSException+LiDebugging.m +++ /dev/null @@ -1,22 +0,0 @@ -// -// NSException+LiDebugging.m -// Liaison -// -// Created by Brian Cully on Sun Sep 14 2003. -// Copyright (c) 2003 Brian Cully. All rights reserved. -// - -@interface LiException : NSException -@end - -@implementation LiException -+ (void)load -{ - [self poseAsClass: [NSException class]]; -} - -- (void)raise -{ - [super raise]; -} -@end -- cgit v1.2.3