frantic / copy-with-syntax

Copy buffer content with syntax highlighting
http://frantic.im/copy-with-syntax
MIT License
21 stars 2 forks source link

Uncaught TypeError: Cannot read property 'shadowRoot' of undefined #10

Open ketop opened 7 years ago

ketop commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.21.2 x64 Electron: 1.6.15 OS: Microsoft Windows 7 Ultimate Thrown From: copy-with-syntax package 0.0.3

Stack Trace

Uncaught TypeError: Cannot read property 'shadowRoot' of undefined

At C:\Users\Patrick\.atom\packages\copy-with-syntax\lib\copy-with-syntax.js:9

TypeError: Cannot read property 'shadowRoot' of undefined
    at HTMLElement.copyWithSyntax (/packages/copy-with-syntax/lib/copy-with-syntax.js:9:31)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.21.2/resources/app/src/command-registry.js:381:36)
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.21.2/resources/app/node_modules/command-palette/lib/command-palette-view.js:144:35)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.21.2/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:327:26)
    at SelectListView.didClickItem (~/AppData/Local/atom/app-1.21.2/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:242:16)
    at ListItemView.onclick (~/AppData/Local/atom/app-1.21.2/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:181:39)
    at ListItemView.didClick (~/AppData/Local/atom/app-1.21.2/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:375:16)

Commands

  3x -6:55.6.0 core:save (input.hidden-input)
     -5:02.7.0 core:copy (span.syntax--storage.syntax--modifier.syntax--c)
  2x -0:50.6.0 command-palette:toggle (div.alert.alert-danger.alert-dismissable.native-key-bindings)
     -0:27.5.0 copy-with-syntax:copy (div.panels-item)

Non-Core Packages

copy-as-rtf 0.9.3 
copy-with-syntax 0.0.3