Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

add a tooltip to the status bar item #42

Merged
merged 2 commits into from
Apr 20, 2017
Merged

Conversation

bronson
Copy link
Contributor

@bronson bronson commented Apr 7, 2017

Requirements

Description of the Change

This PR adds a tooltip to the status bar item:

image

Alternate Designs

No alternate designs were considered.

Benefits

Now even inexpert users should be able to understand what "LF" in the status bar means.

Possible Drawbacks

More code.

Applicable Issues

Should fix #14

Inspired by atom/encoding-selector#28 and atom/encoding-selector#45

Mixed: 'mixed',
LF: 'LF (Unix)',
CRLF: 'CRLF (Windows)',
CR: 'CR (old Macintosh)'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we changed "old Macintosh" to "Classic MacOS" ? That seems to be the most accurate way of describing Mac OS 1-9 given articles like https://en.wikipedia.org/wiki/Classic_Mac_OS

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, thanks! That's more pleasant.

@maxbrunsfeld
Copy link
Contributor

maxbrunsfeld commented Jun 15, 2017

We probably shouldn't have merged this one without adding tests. I can see how it seemed trivial, but the tooltip's text didn't update when the user switched the line endings.

See #48

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

More friendly EOL description
3 participants