Merge pull request #563 from macvim-dev/fix/547

backingStore should be an NSTextStorage instance
This commit is contained in:
Kazuki Sakamoto
2017-10-18 16:53:33 -07:00
committed by GitHub
+1 -1
View File
@@ -991,7 +991,7 @@ static NSString *MMWideCharacterAttributeName = @"MMWideChar";
attributes:dict];
[backingStore release];
backingStore = [[NSMutableAttributedString alloc] init];
backingStore = [[NSTextStorage alloc] init];
for (i=0; i<maxRows; ++i) {
#if MM_USE_ROW_CACHE
rowCache[i].length = actualColumns + 1;