mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Update WFColorCode to 2.8.0
This commit is contained in:
parent
b00a688d26
commit
90dd8cdac4
@ -5,6 +5,11 @@ Change Log
|
||||
4.2.3 (unreleased)
|
||||
--------------------------
|
||||
|
||||
### Improvements
|
||||
|
||||
- [trivial] Change the color names in the Stylesheet Keyword color palette in the color code panel to lower case.
|
||||
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue that letters in the editor were drawn in wrong glyphs when updating the font under very specific conditions.
|
||||
|
@ -15,8 +15,8 @@
|
||||
"repositoryURL": "https://github.com/1024jp/WFColorCode",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "1df976739b1ba254ef97da917e86b750a4805a47",
|
||||
"version": "2.7.1"
|
||||
"revision": "6a0710b8c05affc85cdc206eab6a5e135f49502a",
|
||||
"version": "2.8.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
//
|
||||
// ---------------------------------------------------------------------------
|
||||
//
|
||||
// © 2014-2020 1024jp
|
||||
// © 2014-2022 1024jp
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@ -46,8 +46,7 @@ final class ColorCodePanelController: NSViewController, NSWindowDelegate {
|
||||
|
||||
// MARK: Private Properties
|
||||
|
||||
private let stylesheetColorList: NSColorList = NSColor.stylesheetKeywordColors
|
||||
.reduce(into: NSColorList(name: "Stylesheet Keywords".localized)) { $0.setColor($1.value, forKey: $1.key) }
|
||||
private let stylesheetColorList: NSColorList = KeywordColor.stylesheetColors .reduce(into: NSColorList(name: "Stylesheet Keywords".localized)) { $0.setColor(NSColor(hex: $1.value)!, forKey: $1.keyword) }
|
||||
|
||||
private weak var panel: NSColorPanel?
|
||||
@objc private dynamic var color: NSColor?
|
||||
|
Loading…
Reference in New Issue
Block a user