Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: newText.indexOf is not a function #134

Open
rjboer opened this issue Sep 11, 2017 · 0 comments
Open

Uncaught TypeError: newText.indexOf is not a function #134

rjboer opened this issue Sep 11, 2017 · 0 comments

Comments

@rjboer
Copy link

rjboer commented Sep 11, 2017

[Enter steps to reproduce:]

  1. installed dropbox, while browsing with chrome, then come back to atom
  2. ...

Atom: 1.19.7 ia32
Electron: 1.6.9
OS: Microsoft Windows 10 Home
Thrown From: atom-pair package 2.0.13

Stack Trace

Uncaught TypeError: newText.indexOf is not a function

At C:\Users\Roelof Jan\AppData\Local\atom\app-1.19.7\resources\app\node_modules\text-buffer\lib\text-buffer.js:899

TypeError: newText.indexOf is not a function
    at ~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/line-ending-selector/lib/main.js:131:31
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at TextBuffer.module.exports.TextBuffer.emitDidChangeEvent (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:755:26)
    at TextBuffer.module.exports.TextBuffer.applyChange (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:739:18)
    at TextBuffer.module.exports.TextBuffer.setTextInRange (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:673:25)
    at ~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:653:32
    at TextBuffer.module.exports.TextBuffer.transact (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:894:24)
    at TextBuffer.module.exports.TextBuffer.setTextInRange (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:651:27)
    at TextBuffer.module.exports.TextBuffer.setText (~/AppData/Local/atom/app-1.19.7/resources/app/node_modules/text-buffer/lib/text-buffer.js:596:25)
    at /packages/atom-pair/lib/modules/share_pane.coffee:61:34
    at SharePane.module.exports.SharePane.withoutTrigger (/packages/atom-pair/lib/modules/share_pane.coffee:104:5)
    at /packages/atom-pair/lib/modules/share_pane.coffee:61:8
    at PresenceChannel.prototype.emit (/packages/atom-pair/lib/pusher/pusher.js:864:25)
    at PresenceChannel.prototype.handleEvent (/packages/atom-pair/lib/pusher/pusher.js:3822:12)
    at PresenceChannel.prototype.handleEvent (/packages/atom-pair/lib/pusher/pusher.js:3942:53)
    at /packages/atom-pair/lib/pusher/pusher.js:75:17
    at ConnectionManager.prototype.emit (/packages/atom-pair/lib/pusher/pusher.js:864:25)
    at message (/packages/atom-pair/lib/pusher/pusher.js:3512:14)
    at Connection.prototype.emit (/packages/atom-pair/lib/pusher/pusher.js:864:25)
    at message (/packages/atom-pair/lib/pusher/pusher.js:3112:16)
    at TransportConnection.prototype.emit (/packages/atom-pair/lib/pusher/pusher.js:864:25)
    at TransportConnection.prototype.onMessage (/packages/atom-pair/lib/pusher/pusher.js:2249:10)
    at WebSocket.self.socket.onmessage (/packages/atom-pair/lib/pusher/pusher.js:2271:12)

Commands

Non-Core Packages

atom-beautify 0.30.5 
atom-language-velocity 1.1.0 
atom-pair 2.0.13 
busy-signal 1.4.3 
formatter-gofmt 1.0.1 
formatter-tidy 1.0.1 
go-debug 1.5.0 
go-plus 5.5.5 
go-signature-statusbar 1.2.1 
hyperclick 0.1.3 
intentions 1.1.5 
language-javascript-jsx 0.3.7 
language-velocity 0.1.2 
linter 2.2.0 
linter-golint 0.3.0 
linter-gotype 0.1.0 
linter-tidy 2.3.1 
linter-ui-default 1.6.7 
linter-write-good 0.9.0 
split-diff 1.5.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant