JoshCheek / atom-seeing-is-believing

Seeing is Believing integration for the Atom text editor.
Do What The F*ck You Want To Public License
62 stars 4 forks source link

Atom 1.1 Uncaught TypeError: editor.displayBuffer.getScrollTop is not a function #19

Closed JoshCheek closed 8 years ago

JoshCheek commented 8 years ago

Atom Version: 1.1.0 System: Mac OS X 10.9.3 Thrown From: seeing-is-believing package, v1.6.0

Code causing the exception

1+1

Stack Trace

Uncaught TypeError: editor.displayBuffer.getScrollTop is not a function

At /Users/josh/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:169

TypeError: editor.displayBuffer.getScrollTop is not a function
  at Object.module.exports.SeeingIsBelieving.withoutMovingScreenOrCursor (/Users/josh/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:169:42)
  at ChildProcess.<anonymous> (/Users/josh/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:79:10)
  at emitTwo (events.js:87:13)
  at ChildProcess.emit (events.js:172:7)
  at maybeClose (internal/child_process.js:764:16)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Commands

     -0:07.1.0 application:new-file (div.panels-item)
     -0:04.1.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -0:03.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.8.0 seeing-is-believing:annotate-document (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "copy-config-info"
    ],
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "seeing-is-believing": {
    "ruby-command": "/Users/josh/code/dotfiles/bin/sib_ruby",
    "add-to-env": {
      "SHELL": "/bin/bash"
    }
  }
}

Installed Packages

# User
inline-autocomplete, v1.1.0
language-gherkin, v1.0.1
seeing-is-believing, v1.6.0

# Dev
No dev packages