linter-gcc icon indicating copy to clipboard operation
linter-gcc copied to clipboard

Deprecated selector in `linter-gcc\styles\linter-gcc.less`

Open tonesto7 opened this issue 8 years ago • 3 comments

In linter-gcc\styles\linter-gcc.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:

  • atom-text-editor::shadow .linter-highlight.fatal-error, .linter-highlight.fatal-error => atom-text-editor.editor .linter-highlight.fatal-error, .linter-highlight.fatal-error

  • atom-text-editor::shadow .linter-highlight.fatal-error:not(.line-number), .linter-highlight.fatal-error:not(.line-number) => atom-text-editor.editor .linter-highlight.fatal-error:not(.line-number), .linter-highlight.fatal-error:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.fatal-error .icon-right::before, .linter-highlight.fatal-error .icon-right::before => atom-text-editor.editor .linter-highlight.fatal-error .icon-right::before, .linter-highlight.fatal-error .icon-right::before

  • atom-text-editor::shadow .linter-highlight.fatal-error .region, .linter-highlight.fatal-error .region => atom-text-editor.editor .linter-highlight.fatal-error .region, .linter-highlight.fatal-error .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.

tonesto7 avatar Jan 10 '17 20:01 tonesto7

https://github.com/hebaishi/linter-gcc/pull/99/commits/43e6beec7de9a095f01c2e132b507ba7a0627a43

JonRoosevelt avatar Jan 10 '17 20:01 JonRoosevelt

Here same issue

carrodher avatar Jan 15 '17 22:01 carrodher

Fix for issue #93 #100 solved it for me: https://github.com/hebaishi/linter-gcc/pull/100/files

cyboff avatar Jan 18 '17 06:01 cyboff