Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lee-dohm/soft-wrap-indicator
Atom package that adds an indicator to the status bar that lights up if the active editor has soft wrap enabled
https://github.com/lee-dohm/soft-wrap-indicator
atom atom-package soft-wrap status-bar status-bar-indicator status-bar-selector
Last synced: 16 days ago
JSON representation
Atom package that adds an indicator to the status bar that lights up if the active editor has soft wrap enabled
- Host: GitHub
- URL: https://github.com/lee-dohm/soft-wrap-indicator
- Owner: lee-dohm
- License: mit
- Created: 2014-06-28T04:07:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T20:03:03.000Z (over 7 years ago)
- Last Synced: 2024-11-29T19:03:29.299Z (24 days ago)
- Topics: atom, atom-package, soft-wrap, status-bar, status-bar-indicator, status-bar-selector
- Language: JavaScript
- Homepage: https://atom.io/packages/soft-wrap-indicator
- Size: 86.9 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Soft Wrap Indicator [![Build Status](https://travis-ci.org/lee-dohm/soft-wrap-indicator.svg?branch=master)](https://travis-ci.org/lee-dohm/soft-wrap-indicator) [![Dependency Status](https://david-dm.org/lee-dohm/soft-wrap-indicator.svg)](https://david-dm.org/lee-dohm/soft-wrap-indicator)
Adds an indicator to the status bar that lights up if the active editor has soft wrap enabled.
## Usage
The indicator is present when the active pane is an editor and removed when the active pane is anything else. The indicator is lit when soft wrap is enabled on the active editor and dark if not.
Indicator Lit:
![Indicator Lit](https://raw.githubusercontent.com/lee-dohm/soft-wrap-indicator/master/indicator-lit.png)
Indicator Dark:
![Indicator Dark](https://raw.githubusercontent.com/lee-dohm/soft-wrap-indicator/master/indicator-dark.png)
### Styles
The soft wrap indicator can be styled using the following classes:
* `.soft-wrap-indicator` - For styling all instances of the indicator
* `.soft-wrap-indicator.lit` - For styling the indicator when litIt uses the following values from `ui-variables` as defaults in order to blend in to your theme:
* `@text-color` - Text color when not lit
* `@text-color-highlight` - Text color when litBy default it also includes a blurred text shadow to give it a kind of glow when lit.
## License
[MIT](https://github.com/lee-dohm/soft-wrap-indicator/blob/master/LICENSE.md)