bruce / atom-csscomb

Atom Editor Plugin for CSSComb [NOT MAINTAINED, SEE ISSUES]
MIT License
22 stars 4 forks source link

Uncaught TypeError: Cannot read property 'findWrapColumn' of undefined #33

Open filipvanreeth opened 9 years ago

filipvanreeth commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.2 System: Mac OS X 10.10.4 Thrown From: csscomb package, v0.3.1

Stack Trace

Uncaught TypeError: Cannot read property 'findWrapColumn' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1596

TypeError: Cannot read property 'findWrapColumn' of undefined
  at DisplayBuffer.module.exports.DisplayBuffer.buildScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1596:52)
  at DisplayBuffer.module.exports.DisplayBuffer.updateScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1548:20)
  at Fold.module.exports.Fold.updateDisplayBuffer (/Applications/Atom.app/Contents/Resources/app.asar/src/fold.js:90:35)
  at Fold.module.exports.Fold.destroyed (/Applications/Atom.app/Contents/Resources/app.asar/src/fold.js:98:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/fold.js:20:24
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Marker.module.exports.Marker.destroy (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:256:20)
  at Fold.module.exports.Fold.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/fold.js:43:26)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/fold.js:28:26
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Marker.module.exports.Marker.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:400:20)
  at MarkerStore.module.exports.MarkerStore.createSnapshot (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-store.js:229:20)
  at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:751:72)
  at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:516:21)
  at TextEditor.module.exports.TextEditor.setTextInBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:715:31)
  at /Users/filip/.atom/packages/csscomb/lib/csscomb.coffee:49:12
  at Array.forEach (native)
  at csscomb (/Users/filip/.atom/packages/csscomb/lib/csscomb.coffee:46:10)
  at atom-text-editor.<anonymous> (/Users/filip/.atom/packages/csscomb/lib/csscomb.coffee:9:3)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:156:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands

     -0:25.9.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -0:24.5.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
     -0:24.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:23.5.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:23.5.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:23.5.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -0:22.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
     -0:22.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:20.5.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:20.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:20.3.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:20.2.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -0:19.4.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:19.4.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:08.4.0 core:select-all (atom-text-editor.editor.is-focused)
     -0:05.0 csscomb:run (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "livereload",
      "atom-terminal",
      "terminal-status",
      "atom-beautify",
      "aligner-php",
      "aligner",
      "autocomplete-php",
      "grunt-runner",
      "wordpress-api",
      "atom-wordpress"
    ]
  }
}

Installed Packages

# User
autoclose-html, v0.18.0
csscomb, v0.3.1
emmet, v2.3.12
file-icons, v1.5.8
linter, v1.2.4
linter-htmlhint, v0.0.17
linter-php, v0.0.15
linter-scss-lint, v1.0.5
linter-tidy, v1.0.1
minimap, v4.11.2
project-manager, v1.15.11
remote-sync, v3.1.2
terminal-panel, v1.14.1

# Dev
No dev packages