Skip to content

Atom package that adds an indicator to the status bar that lights up if the active editor has soft wrap enabled

License

Notifications You must be signed in to change notification settings

lee-dohm/soft-wrap-indicator

Repository files navigation

Soft Wrap Indicator Build Status Dependency Status

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

Indicator Dark:

Indicator Dark

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 lit

It 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 lit

By default it also includes a blurred text shadow to give it a kind of glow when lit.

License

MIT

About

Atom package that adds an indicator to the status bar that lights up if the active editor has soft wrap enabled

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published