Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Uncaught TypeError: cursor.isVisible is not a function #29

@timtylin

Description

@timtylin

This error appeared right after installing inline-autocomplete on the latest Atom beta and randomly typing/selecting some gibberish into an empty buffer

Atom: 1.19.0-beta2 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: inline-autocomplete package 2.0.0

Stack Trace

Uncaught TypeError: cursor.isVisible is not a function

At /Users/timlin/.atom/packages/inline-autocomplete/lib/inline-autocomplete.coffee:82

TypeError: cursor.isVisible is not a function
    at Object.toggleAutocomplete (/packages/inline-autocomplete/lib/inline-autocomplete.coffee:82:33)
    at /packages/inline-autocomplete/lib/inline-autocomplete.coffee:58:8)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:265:35)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:3:65)

Commands

  2x -0:18.8.0 core:select-up (input.hidden-input)
     -0:18.4.0 core:select-right (input.hidden-input)
     -0:18.3.0 core:select-down (input.hidden-input)
     -0:18.2.0 core:select-left (input.hidden-input)
     -0:17.9.0 core:select-down (input.hidden-input)
     -0:17.8.0 core:select-right (input.hidden-input)
  4x -0:17.7.0 core:select-down (input.hidden-input)
  8x -0:16.7.0 core:select-up (input.hidden-input)
     -0:15.3.0 core:select-right (input.hidden-input)
  2x -0:15.2.0 core:select-down (input.hidden-input)
     -0:14.6.0 intentions:highlight (input.hidden-input)
  4x -0:14.5.0 editor:move-to-end-of-word (input.hidden-input)
     -0:12.9.0 intentions:highlight (input.hidden-input)
  4x -0:12.2.0 core:select-up (input.hidden-input)
  3x -0:10.9.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:08.8.0 inline-autocomplete:cycle (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.3 
atom-monokai 0.10.9 
atom-ternjs 0.18.3 
auto-detect-indentation 1.3.0 
autocomplete-haskell 0.7.2 
autocomplete-modules 1.6.10 
build 0.68.0 
build-grunt 0.4.0 
build-gulp 0.11.0 
build-make 0.13.0 
busy 0.7.0 
busy-signal 1.4.3 
color-picker 2.2.5 
dimmed-monokai 0.1.0 
express-complete 0.2.0 
file-type-icons 1.3.4 
git-blame 1.1.1 
git-control 0.9.0 
git-diff-details 1.4.0 
git-log 0.4.1 
git-time-machine 1.5.9 
haskell-ghc-mod 1.19.9 
haskell-pointfree 0.2.0 
highlight-column 0.5.4 
highlight-line 0.12.0 
highlight-selected 0.13.1 
ide-haskell 1.9.6 
indent-guide-improved 1.4.13 
inline-autocomplete 2.0.0 
intentions 1.1.2 
jshint 1.8.6 
language-dotfiles 1.1.0 
language-fortran 2.1.0 
language-haskell 1.12.1 
language-javascript-jsx 0.3.7 
language-matlab 0.2.1 
language-restructuredtext 1.1.0 
linter 2.2.0 
linter-hlint 1.0.1 
linter-js-yaml 1.2.7 
linter-matlab 1.1.0 
linter-proselint 3.2.1 
linter-shellcheck 1.4.4 
linter-ui-default 1.6.2 
material-ui 1.0.10 
merge-conflicts 1.4.5 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
monokai 0.24.0 
monokai-faded 0.0.4 
monokai-light 0.4.1 
native-ui 0.21.0 
one-o-eight-syntax 0.28.2 
open-recent 5.0.0 
python-indent 1.0.3 
react 0.16.2 
react-snippets 0.8.0 
sass-autocompile 0.13.3 
script 3.15.0 
seti-monokai 0.3.1 
sub-monokai 1.4.0 
Sublime-Style-Column-Selection 1.7.4 
symbols-tree-view 0.14.0 
sync-settings 0.8.2 
synced-sidebar 0.4.3 
tab-control 0.6.10 
tab-switcher 1.5.4 
tabs-to-spaces 1.0.3 
Termrk 1.0.0 
text-manipulation 0.6.0 
the-closer 0.7.0 
travis-ci-status 1.3.1 
turbo-javascript 1.4.0 
unity-ui 2.1.11 
vim-mode 0.66.0 
Writer 0.1.0 
yosemate-ui 0.7.1 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions