pvorona / atom-bracket-highlight Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
In atom-bracket-highlight\styles\index.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:
atom-text-editor::shadow .bracket-matcher .region
=> atom-text-editor.editor .bracket-matcher .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.
[Enter steps to reproduce below:]
Atom Version: 1.7.0
System: Microsoft Windows 10 Home
Thrown From: atom-bracket-highlight package, v0.3.1
Uncaught TypeError: Cannot read property 'getElementsByClassName' of undefined
At /C:/Users/Pip/AppData/Local/atom/packages/sublime-panes/lib/sublime-panes.coffee:79
TypeError: Cannot read property 'getElementsByClassName' of undefined
at Object.module.exports.SublimePanes.catchItem (file:///C:/Users/Pip/AppData/Local/atom/packages/sublime-panes/lib/sublime-panes.coffee:58:5)
at file:///C:/Users/Pip/AppData/Local/atom/packages/sublime-panes/lib/sublime-panes.coffee:52:68
at Function.module.exports.Emitter.simpleDispatch (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
at Pane.module.exports.Pane.setActiveItem (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:282:22)
at Pane.module.exports.Pane.removeItem (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:560:16)
at Pane.module.exports.Pane.destroyItem (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:637:16)
at atom-tabs.TabBarView.onClick (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:658:17)
2x -7:18.6.0 core:move-left (atom-text-editor.editor.is-focused)
-7:17.2.0 core:backspace (atom-text-editor.editor.is-focused)
-7:13.1.0 core:select-up (atom-text-editor.editor.is-focused)
2x -7:12.2.0 core:delete (atom-text-editor.editor.is-focused)
-7:11 core:save (atom-text-editor.editor.is-focused)
-6:36.1.0 core:backspace (atom-text-editor.editor.is-focused)
-6:35.4.0 core:save (atom-text-editor.editor.is-focused)
-6:03.1.0 core:backspace (atom-text-editor.editor.is-focused)
-6:01.8.0 core:save (atom-text-editor.editor.is-focused)
-5:48.7.0 core:backspace (atom-text-editor.editor.is-focused)
-5:48.2.0 core:move-left (atom-text-editor.editor.is-focused)
7x -5:46.6.0 core:backspace (atom-text-editor.editor.is-focused)
-5:44.1.0 core:move-right (atom-text-editor.editor.is-focused)
2x -5:41.5.0 core:save (atom-text-editor.editor.is-focused)
-3:01.9.0 preview:toggle-options (atom-text-editor.editor.is-focused)
-2:57.1.0 browser-plus:open (atom-text-editor.editor.is-focused)
{
"core": {}
}
# User
atom-bracket-highlight, v0.3.1
atom-grails, v0.1.0
autocomplete-xml, v0.8.2
browser-plus, v0.0.60
color-picker, v2.1.1
compare-files, v0.6.2
file-icons, v1.7.1
file-types, v0.5.1
imdone-atom, v1.3.29
language-awk, v0.1.11
language-batch, v0.3.3
language-generic-config, v1.0.0
language-groovy, v0.6.0
language-groovy-cloned-from-java, v0.3.0
language-tcl, v0.1.2
language-vb, v0.1.0-pre1
language-vue, v0.11.0
language-vue-component, v0.4.5
linter, v1.11.4
minimap, v4.21.0
minimap-bookmarks, v0.3.0
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-selection, v4.4.0
open-recent, v5.0.0
pigments, v0.26.0
preview-plus, v1.2.6
quick-highlight, v0.3.10
SquirrelTemp, vundefined
sublime-panes, v0.2.5
symbols-tree-view, v0.12.0
tree-ignore, v0.6.1
tree-view-breadcrumb, v0.8.1
tree-view-filter, v0.4.1
tree-view-git-status, v0.2.3
tree-view-open-files, v0.3.0
# Dev
No dev packages
All is in the title :)
(it sounds more like feature request).
When you are on the bracket, and the pair bracket is out of screen, user usually scrolls to find where it is. It's hard to spot it, because the animation is already over at this moment. It would be nice to have a hotkey (like Ctrl
key) to enable this animation again. So you can scroll, and keep pressing hotkey to find where it is.
In atom-bracket-highlight/styles/index.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:
atom-text-editor::shadow .bracket-matcher .region
=> atom-text-editor.editor .bracket-matcher .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.
[Enter steps to reproduce below:]
Atom Version: 1.7.0
System: Microsoft Windows 10 Home
Thrown From: atom-bracket-highlight package, v0.3.1
Uncaught TypeError: Cannot read property 'getElementsByClassName' of undefined
At /C:/Users/Pip/AppData/Local/atom/packages/sublime-panes/lib/sublime-panes.coffee:79
TypeError: Cannot read property 'getElementsByClassName' of undefined
at Object.module.exports.SublimePanes.catchItem (file:///C:/Users/Pip/AppData/Local/atom/packages/sublime-panes/lib/sublime-panes.coffee:58:5)
at file:///C:/Users/Pip/AppData/Local/atom/packages/sublime-panes/lib/sublime-panes.coffee:52:68
at Function.module.exports.Emitter.simpleDispatch (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
at Pane.module.exports.Pane.setActiveItem (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:282:22)
at Pane.module.exports.Pane.removeItem (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:560:16)
at Pane.module.exports.Pane.destroyItem (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:637:16)
at atom-tabs.TabBarView.onClick (C:\Users\Pip\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:658:17)
2x -7:18.6.0 core:move-left (atom-text-editor.editor.is-focused)
-7:17.2.0 core:backspace (atom-text-editor.editor.is-focused)
-7:13.1.0 core:select-up (atom-text-editor.editor.is-focused)
2x -7:12.2.0 core:delete (atom-text-editor.editor.is-focused)
-7:11 core:save (atom-text-editor.editor.is-focused)
-6:36.1.0 core:backspace (atom-text-editor.editor.is-focused)
-6:35.4.0 core:save (atom-text-editor.editor.is-focused)
-6:03.1.0 core:backspace (atom-text-editor.editor.is-focused)
-6:01.8.0 core:save (atom-text-editor.editor.is-focused)
-5:48.7.0 core:backspace (atom-text-editor.editor.is-focused)
-5:48.2.0 core:move-left (atom-text-editor.editor.is-focused)
7x -5:46.6.0 core:backspace (atom-text-editor.editor.is-focused)
-5:44.1.0 core:move-right (atom-text-editor.editor.is-focused)
2x -5:41.5.0 core:save (atom-text-editor.editor.is-focused)
-3:01.9.0 preview:toggle-options (atom-text-editor.editor.is-focused)
-2:57.1.0 browser-plus:open (atom-text-editor.editor.is-focused)
{
"core": {}
}
# User
atom-bracket-highlight, v0.3.1
atom-grails, v0.1.0
autocomplete-xml, v0.8.2
browser-plus, v0.0.60
color-picker, v2.1.1
compare-files, v0.6.2
file-icons, v1.7.1
file-types, v0.5.1
imdone-atom, v1.3.29
language-awk, v0.1.11
language-batch, v0.3.3
language-generic-config, v1.0.0
language-groovy, v0.6.0
language-groovy-cloned-from-java, v0.3.0
language-tcl, v0.1.2
language-vb, v0.1.0-pre1
language-vue, v0.11.0
language-vue-component, v0.4.5
linter, v1.11.4
minimap, v4.21.0
minimap-bookmarks, v0.3.0
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-selection, v4.4.0
open-recent, v5.0.0
pigments, v0.26.0
preview-plus, v1.2.6
quick-highlight, v0.3.10
SquirrelTemp, vundefined
sublime-panes, v0.2.5
symbols-tree-view, v0.12.0
tree-ignore, v0.6.1
tree-view-breadcrumb, v0.8.1
tree-view-filter, v0.4.1
tree-view-git-status, v0.2.3
tree-view-open-files, v0.3.0
# Dev
No dev packages
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.