mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Update underline style of outline menu items
This commit is contained in:
parent
91b403a6bd
commit
a6dcfd37bc
@ -7,6 +7,7 @@ develop
|
||||
|
||||
### Improvements
|
||||
|
||||
- Change underline style of outline items.
|
||||
- Update “JavaScript” syntax style:
|
||||
- Improve outline definitions to support the class syntax sugar introduced in ECMAScript 6.
|
||||
- Better coloring for “get” and “set”.
|
||||
|
@ -173,7 +173,7 @@ static const NSTimeInterval kDuration = 0.12;
|
||||
attrs[NSFontAttributeName] = font;
|
||||
|
||||
if ([outlineItem[CEOutlineItemStyleUnderlineKey] boolValue]) {
|
||||
attrs[NSUnderlineStyleAttributeName] = @(NSUnderlineByWordMask | NSUnderlinePatternSolid | NSUnderlineStyleThick);
|
||||
attrs[NSUnderlineStyleAttributeName] = @(NSUnderlineStyleSingle);
|
||||
}
|
||||
|
||||
NSAttributedString *title = [[NSAttributedString alloc] initWithString:outlineItem[CEOutlineItemTitleKey]
|
||||
|
Loading…
Reference in New Issue
Block a user