From 88023813a4745bfac530fcfd8902aa33c0b51451 Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Wed, 18 Oct 2017 16:49:53 -0700 Subject: [PATCH] backingStore should be an NSTextStorage instance --- src/MacVim/MMTextStorage.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacVim/MMTextStorage.m b/src/MacVim/MMTextStorage.m index 862c55dc65..f09b1ba57a 100644 --- a/src/MacVim/MMTextStorage.m +++ b/src/MacVim/MMTextStorage.m @@ -991,7 +991,7 @@ static NSString *MMWideCharacterAttributeName = @"MMWideChar"; attributes:dict]; [backingStore release]; - backingStore = [[NSMutableAttributedString alloc] init]; + backingStore = [[NSTextStorage alloc] init]; for (i=0; i