evanw/skew-atom

Uncaught TypeError: this.editor.displayBuffer.getScrollLeft is not a function

Closed this issue · 1 comments

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0
System: Mac OS X 10.10.5
Thrown From: skew package, v0.1.1

Stack Trace

Uncaught TypeError: this.editor.displayBuffer.getScrollLeft is not a function

At /Users/otaviogood/.atom/packages/skew/lib/main.coffee:259

TypeError: this.editor.displayBuffer.getScrollLeft is not a function
  at EditorAttachment.pixelPositionOffset (/Users/otaviogood/.atom/packages/skew/lib/main.coffee:259:61)
  at EditorAttachment.onMouseMove (/Users/otaviogood/.atom/packages/skew/lib/main.coffee:225:15)
  at atom-text-editor.<anonymous> (/Users/otaviogood/.atom/packages/skew/lib/main.coffee:196:52)

Commands

     -3:24.5.0 core:close (div.pane-item.native-key-bindings.about)
     -3:18.3.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:38.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
skew, v0.1.1

# Dev
No dev packages
evanw commented

This was fixed by commit 757dd73. I'm not sure what happened, but my best guess is that maybe I was working with an older version of Atom?