atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

Deprecated selector in `haskell-ghc-mod/styles/linter.atom-text-editor.less` #191

Closed clojj closed 7 years ago

clojj commented 7 years ago

In haskell-ghc-mod/styles/linter.atom-text-editor.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

lierdakil commented 7 years ago

Will try to release a new version soon. Relevant patches are already in atom-1.13 branch.

чт, 12 янв. 2017 г., 2:12 clojj notifications@github.com:

In haskell-ghc-mod/styles/linter.atom-text-editor.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

-

:host[data-grammar~='haskell'] .linter-highlight.lint, .linter-highlight.lint => atom-text-editor[data-grammar~='haskell'] .linter-highlight.lint, .linter-highlight.lint

:host[data-grammar~='haskell'] .linter-highlight.lint:not(.line-number), .linter-highlight.lint:not(.line-number) => atom-text-editor[data-grammar~='haskell'] .linter-highlight.lint:not(.line-number), .linter-highlight.lint:not(.line-number)

:host[data-grammar~='haskell'] .linter-highlight.lint .icon-right::before, .linter-highlight.lint .icon-right::before, :host[data-grammar~='haskell'] .linter-highlight.lint .linter-gutter, .linter-highlight.lint .linter-gutter => atom-text-editor[data-grammar~='haskell'] .linter-highlight.lint .icon-right::before, .linter-highlight.lint .icon-right::before,atom-text-editor[data-grammar~='haskell'] .linter-highlight.lint .linter-gutter, .linter-highlight.lint .linter-gutter

:host[data-grammar~='haskell'] .linter-highlight.lint .region, .linter-highlight.lint .region => atom-text-editor[data-grammar~='haskell'] .linter-highlight.lint .region, .linter-highlight.lint .region

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/191, or mute the thread https://github.com/notifications/unsubscribe-auth/AG8EZuPqI0g78EqPWytRgwt5tyfiBzMeks5rRVO_gaJpZM4LhIi0 .

lierdakil commented 7 years ago

All should be good now.