mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-10-26 19:10:11 +03:00
Display full encoding name in status bar
This commit is contained in:
parent
baf6dd2df7
commit
dd72df2d84
@ -18,6 +18,7 @@ develop
|
||||
- Add clear button to input fields in the find panel.
|
||||
- Scroll console view after getting a new message to make it visible.
|
||||
- Swap position of “Edit” and “Format” menu to conform to Apple's HIG.
|
||||
- Display full encoding name in the status bar instead of the IANA charset name.
|
||||
- Add tooltips to Unicode normalization forms in Text menu.
|
||||
- Append “Option-Command-T” shortcut to “Show/Hide Toolbar” menu item.
|
||||
- Restore the last viewed preference pane.
|
||||
|
@ -196,7 +196,7 @@ final class StatusBarController: NSViewController {
|
||||
let status = NSMutableAttributedString()
|
||||
|
||||
if defaults[.showStatusBarEncoding] {
|
||||
status.appendFormattedState(value: info.charsetName, label: nil)
|
||||
status.appendFormattedState(value: info.encoding, label: nil)
|
||||
}
|
||||
if defaults[.showStatusBarLineEndings] {
|
||||
status.appendFormattedState(value: info.lineEndings, label: nil)
|
||||
|
Loading…
Reference in New Issue
Block a user