autoclose-html icon indicating copy to clipboard operation
autoclose-html copied to clipboard

Uncaught RangeError: Invalid string length

Open smartoarif opened this issue 8 years ago • 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 ia32 Electron: 1.6.15 OS: Microsoft Windows 10 Pro Thrown From: autoclose-html package 0.23.0

Stack Trace

Uncaught RangeError: Invalid string length

At C:\Users\mamun\.atom\packages\autoclose-html\lib\autoclose-html.coffee:98

RangeError: Invalid string length
    at Object.execAutoclose (/packages/autoclose-html/lib/autoclose-html.coffee:98:23)
    at /packages/autoclose-html/lib/autoclose-html.coffee:27:26)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.22.0/resources/app/src/command-registry.js:381:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.22.0/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.22.0/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.22.0/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (~/AppData/Local/atom/app-1.22.0/resources/app/src/window-event-handler.js:3:65)

Commands

     -7:30.2.0 core:move-down (input.hidden-input)
  3x -7:29.6.0 core:move-left (input.hidden-input)
  2x -7:26.8.0 core:select-left (input.hidden-input)
  2x -2:33.7.0 core:delete (input.hidden-input)
  4x -1:13.5.0 core:select-left (input.hidden-input)
     -1:11.9.0 intentions:highlight (input.hidden-input)
     -1:11.5.0 core:copy (input.hidden-input)
     -1:10.4.0 core:move-right (input.hidden-input)
 36x -1:09.8.0 intentions:highlight (input.hidden-input)
     -1:08.2.0 core:paste (input.hidden-input)
  4x -1:02.7.0 core:move-left (input.hidden-input)
     -0:45.5.0 intentions:highlight (input.hidden-input)
     -0:45 core:copy (input.hidden-input)
     -0:42.6.0 intentions:highlight (input.hidden-input)
     -0:42.2.0 core:paste (input.hidden-input)
     -0:19.7.0 autoclose-html:close-and-complete (input.hidden-input)

Non-Core Packages

atom-beautify undefined 
atom-html-preview 0.1.22 
atom-knockout 1.0.1 
atom-ternjs 0.18.3 
autoclose-html 0.23.0 
autocomplete-bash-builtins 0.3.5 
busy-signal 1.4.3 
gaia-dark-syntax 2.1.0 
github-atom-light-syntax 0.5.0 
intentions 1.1.5 
linter 2.2.0 
linter-php 1.3.2 
linter-ui-default 1.6.4 
php-cs-fixer 4.1.0 
php-debug 0.2.5 
php-integrator-autocomplete-plus 1.6.0 
php-integrator-autocomplete-plus-legacy-php56 1.0.1 
pretty-json 1.6.4 
windows-context-menu 0.3.1 

smartoarif avatar Nov 10 '17 20:11 smartoarif