brogrammer-syntax icon indicating copy to clipboard operation
brogrammer-syntax copied to clipboard

Deprecated selector in `brogrammer-syntax\index.less`

Open RAYDENFilipp opened this issue 8 years ago • 1 comments

In brogrammer-syntax\index.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, :host => atom-text-editor,atom-text-editor

  • atom-text-editor .invisible-character, :host .invisible-character, atom-text-editor .indent-guide, :host .indent-guide => atom-text-editor .invisible-character,atom-text-editor .invisible-character, atom-text-editor .indent-guide,atom-text-editor .indent-guide

  • atom-text-editor .gutter, :host .gutter => atom-text-editor .gutter,atom-text-editor .gutter

  • atom-text-editor .gutter .line-number, :host .gutter .line-number => atom-text-editor .gutter .line-number,atom-text-editor .gutter .line-number

  • atom-text-editor .gutter .line-number.folded, :host .gutter .line-number.folded, atom-text-editor .gutter .line-number:after, :host .gutter .line-number:after, atom-text-editor .fold-marker:after, :host .fold-marker:after => atom-text-editor .gutter .line-number.folded,atom-text-editor .gutter .line-number.folded, atom-text-editor .gutter .line-number:after,atom-text-editor .gutter .line-number:after, atom-text-editor .fold-marker:after,atom-text-editor .fold-marker:after

  • atom-text-editor .cursor, :host .cursor => atom-text-editor .cursor,atom-text-editor .cursor

  • atom-text-editor .selection .region, :host .selection .region => atom-text-editor .selection .region,atom-text-editor .selection .region

  • atom-text-editor .line-number.cursor-line-no-selection, :host .line-number.cursor-line-no-selection => atom-text-editor .line-number.cursor-line-no-selection,atom-text-editor .line-number.cursor-line-no-selection

  • .comment => .syntax--comment

  • .entity => .syntax--entity

  • .keyword => .syntax--keyword

  • .any-method => .syntax--any-method

  • .storage.type => .syntax--storage.syntax--type

  • .storage.modifier => .syntax--storage.syntax--modifier

  • .constant => .syntax--constant

  • .constant.numeric, .constant.boolean => .syntax--constant.syntax--numeric, .syntax--constant.syntax--boolean

  • .variable => .syntax--variable

  • .delimiter, .brace => .syntax--delimiter, .syntax--brace

  • .delimiter.period => .syntax--delimiter.syntax--period

  • .invalid.deprecated => .syntax--invalid.syntax--deprecated

  • .invalid.illegal => .syntax--invalid.syntax--illegal

  • .string => .syntax--string

  • .string .constant.character.escape => .syntax--string .syntax--constant.syntax--character.syntax--escape

  • .string.regexp => .syntax--string.syntax--regexp

  • .string.regexp .source.ruby.embedded, .string.regexp .string.regexp.arbitrary-repitition => .syntax--string.syntax--regexp .syntax--source.syntax--ruby.syntax--embedded, .syntax--string.syntax--regexp .syntax--string.syntax--regexp.syntax--arbitrary-repitition

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.

RAYDENFilipp avatar Jul 11 '17 18:07 RAYDENFilipp

Up

ErickXavier avatar Oct 21 '17 17:10 ErickXavier