klorenz / atom-table-editor

Easily edit and navigate markdown tables
MIT License
13 stars 3 forks source link

Uncaught ReferenceError: processSimpleTable is not defined #2

Open johannesjh opened 8 years ago

johannesjh commented 8 years ago

Error when trying to tab through a table

  1. Created a file test.txt
  2. Wrote a table as follows:

    | test | this | table | | testabc

  3. Pressed tab within the table

Atom Version: 1.3.2 System: Mac OS X 10.11.2 Thrown From: table-editor package, v0.1.1

Stack Trace

Uncaught ReferenceError: processSimpleTable is not defined

At /Users/johannes/.atom/packages/table-editor/lib/table-processors.coffee:124

ReferenceError: processSimpleTable is not defined
    at /Users/johannes/.atom/packages/table-editor/lib/table-processors.coffee:124:17
    at TableFormatter.module.exports.TableFormatter.getFormattedTableText (/Users/johannes/.atom/packages/table-editor/lib/table-formatter.coffee:71:21)
    at TableFormatter.module.exports.TableFormatter.getSelectionRanges (/Users/johannes/.atom/packages/table-editor/lib/table-formatter.coffee:109:17)
    at Object.module.exports.TableEditor.formatTable (/Users/johannes/.atom/packages/table-editor/lib/table-editor.coffee:132:7)
    at atom-text-editor.subscriptions.add.atom.commands.add.table-editor:next-cell (/Users/johannes/.atom/packages/table-editor/lib/table-editor.coffee:20:37)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -1:14.4.0 settings-view:open (atom-text-editor.editor.is-focused)
  2x -1:12.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  3x -1:00.7.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-light-syntax.theme-atom-light-ui)
  2x -0:54.1.0 tree-view:remove (span.name.icon.icon-file-text)
  2x -0:28.3.0 editor:newline (atom-text-editor.editor.is-focused)
  3x -0:27.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:26.4.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused.table-editor-active)
     -0:23.4.0 key-binding-resolver:toggle (atom-text-editor.editor.is-focused.table-editor-active)
     -0:18.1.0 core:move-down (atom-text-editor.editor.is-focused.table-editor-active)
     -0:15.4.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:13.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:09.5.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:09.3.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused.table-editor-active)
     -0:07.6.0 core:move-down (atom-text-editor.editor.is-focused.table-editor-active)
     -0:01.8.0 core:move-left (atom-text-editor.editor.is-focused.table-editor-active)
     -0:01.6.0 table-editor:next-cell (atom-text-editor.editor.is-focused.table-editor-active)

Config

{
  "core": {
    "themes": [
      "atom-light-ui",
      "one-light-syntax"
    ],
    "projectHome": "~/repos",
    "disabledPackages": [
      "spell-check"
    ]
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.3.0
auto-detect-indentation, v0.4.2
language-latex, v0.6.1
markdown-scroll-sync, v2.0.3
markdown-themeable-pdf, v0.10.1
open-unsupported-files, v1.0.14
pdf-view, v0.37.0
pigments, v0.19.3
project-manager, v2.6.5
table-editor, v0.1.1
text-manipulation, v0.6.0

# Dev
No dev packages