-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Enterprise
Thrown From: html-include-resource package 1.3.0
Stack Trace
Uncaught TypeError: editor.getLastSelection is not a function
At C:\Users\Rayyan Tech\.atom\packages\html-include-resource\lib\html-include-resource.coffee:13
TypeError: editor.getLastSelection is not a function
at Object.include (/packages/html-include-resource/lib/html-include-resource.coffee:13:24)
at /packages/html-include-resource/lib/html-include-resource.coffee:8:78)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:352694)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:351169)
at AtomEnvironment.dispatchContextMenuCommand (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:833477)
at EventEmitter.t (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:841531)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
Commands
-9:03.4.0 find-and-replace:find-next (input.hidden-input)
2x -8:56.5.0 window:toggle-full-screen (input.hidden-input)
-8:36.3.0 core:backspace (input.hidden-input)
-8:28.3.0 editor:newline (input.hidden-input)
-8:16.6.0 core:backspace (input.hidden-input)
2x -8:13.6.0 editor:newline (input.hidden-input)
-7:46.7.0 core:backspace (input.hidden-input)
2x -7:03.6.0 HTML-escaper:Escape (input.hidden-input)
-6:54.2.0 core:backspace (input.hidden-input)
4x -6:49 HTML-escaper:Escape (div.tool-panel.tree-view)
-6:02.1.0 core:confirm (input.hidden-input)
14x -5:41.8.0 HTML-escaper:Escape (input.hidden-input)
-5:13.4.0 core:copy (input.hidden-input)
3x -1:28.6.0 html-include-resource:include (span.name.icon.icon-file-text)
-0:11.1.0 tree-view:duplicate (li.file.entry.list-item.selected)
-0:07.1.0 html-include-resource:include (li.file.entry.list-item.selected)
Non-Core Packages
html-include-resource 1.3.0
Additional Information
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels