mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Fix setting guifontwide to redraw texts and clear the cache
Previously setting `guifontwide` doesn't do anything for drawn text, and you have to set a new `guifont` in order for it to clear.
This commit is contained in:
@@ -409,6 +409,12 @@ static void grid_free(Grid *grid) {
|
||||
[fontWide release];
|
||||
fontWide = [newFont retain];
|
||||
}
|
||||
|
||||
[self clearAll];
|
||||
[fontVariants removeAllObjects];
|
||||
[characterStrings removeAllObjects];
|
||||
[characterLines removeAllObjects];
|
||||
|
||||
}
|
||||
|
||||
- (NSFont *)font
|
||||
|
||||
Reference in New Issue
Block a user