• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

soft-wrap-indicator

Adds an indicator to the status bar that lights up if the active editor has soft wrap enabled
  • #soft-wrap
  • #indicator
  • #status-bar
lee-dohm
2,930
20
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by