Skip to content

include resource #6

@HiddenMuSa

Description

@HiddenMuSa

Prerequisites

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions