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: Cannot set property 'findPrevious' of undefined #43

Open
thunderrabbit opened this issue May 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@thunderrabbit
Copy link

commented May 4, 2019

  1. C-x ( <-- start a new macro
  2. C-e <-- go to end of line
  3. ⌘-F <-- open search dialog
  4. / <-- search for slash character
  5. ⌘-⇧-G <-- I actually want to find the previous slash (last slash on line)

The above steps 2-5 work if I am not defining a macro.

Atom: 1.36.1 x64
Electron: 2.0.18
OS: Mac OS X 10.12.6
Thrown From: atom-keyboard-macros package 0.12.1

Stack Trace

Uncaught TypeError: Cannot set property 'findPrevious' of undefined

At /Users/thunderrabbit/.atom/packages/atom-keyboard-macros/lib/find-and-replace.coffee:198

TypeError: Cannot set property 'findPrevious' of undefined
    at /packages/atom-keyboard-macros/lib/find-and-replace.coffee:198:7)
    at HTMLElement.find-and-replace:find-previous (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:741198)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350065)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1212791)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1208925)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285300)

Commands

  3x -0:27.4.0 find-and-replace:find-previous (input.hidden-input)
     -0:24.5.0 editor:consolidate-selections (input.hidden-input)
     -0:24.5.0 core:cancel (input.hidden-input)
     -0:24.3.0 editor:consolidate-selections (input.hidden-input)
     -0:24.3.0 core:cancel (input.hidden-input)
     -0:24.1.0 editor:consolidate-selections (input.hidden-input)
     -0:24.1.0 core:cancel (input.hidden-input)
     -0:23.9.0 editor:consolidate-selections (input.hidden-input)
     -0:23.9.0 core:cancel (input.hidden-input)
     -0:23.8.0 editor:consolidate-selections (input.hidden-input)
     -0:23.8.0 core:cancel (input.hidden-input)
     -0:17.1.0 atom-keyboard-macros:start_kbd_macro (input.hidden-input)
  2x -0:12.1.0 core:move-down (input.hidden-input)
     -0:11.4.0 core:move-left (input.hidden-input)
     -0:08.7.0 find-and-replace:show (input.hidden-input)
     -0:03.0 find-and-replace:find-previous (input.hidden-input)

Non-Core Packages

atom-keyboard-macros 0.12.1 
remote-sync 4.1.8 
SFTP-deployment 1.0.2 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.