mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Gracefully handle missing gutter view delegate
This commit is contained in:
@@ -205,6 +205,8 @@ struct data_source_t
|
||||
- (CGFloat)widthForColumnWithIdentifier:(std::string const&)identifier
|
||||
{
|
||||
CGFloat width = 0;
|
||||
if(!delegate)
|
||||
return 5;
|
||||
|
||||
if(identifier == [GVLineNumbersColumnIdentifier UTF8String])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user