foldingtext-for-atom icon indicating copy to clipboard operation
foldingtext-for-atom copied to clipboard

Uncaught AssertionError: Item body text cannot contain newlines

Open MadKnickers opened this issue 8 years ago • 1 comments

[Enter steps to reproduce below:]

  1. Shift-Enter when editing an item

Atom Version: 1.0.7 System: Microsoft Windows 7 Professional Thrown From: foldingtext-for-atom package, v0.9.0

Stack Trace

Uncaught AssertionError: Item body text cannot contain newlines

At assert.js:87

AssertionError: Item body text cannot contain newlines
  at Item.module.exports.Item.replaceBodyTextInRange (C:\Users\markd\.atom\packages\foldingtext-for-atom\lib\core\item.coffee:380:12)
  at HTMLParagraphElement.EventRegistery.listen.input (C:\Users\markd\.atom\packages\foldingtext-for-atom\lib\editor\outline-editor-element.coffee:900:18)
  at EventRegistery.handleEvent (C:\Users\markd\.atom\packages\foldingtext-for-atom\lib\editor\event-registery.coffee:114:33)
  at HTMLBodyElement.<anonymous> (C:\Users\markd\.atom\packages\foldingtext-for-atom\lib\editor\event-registery.coffee:3:1)

Commands

  5x -1:13.9.0 core:move-down (span.ft-body-text)
     -1:12.8.0 core:move-up (span.ft-body-text)
     -1:12.5.0 editor:move-to-beginning-of-word (span.ft-body-text)
     -1:12.1.0 editor:move-to-end-of-screen-line (span.ft-body-text)
  2x -1:08.1.0 core:backspace (span.ft-body-text)
     -1:06.0 editor:move-to-first-character-of-line (span.ft-body-text)
  2x -1:05.5.0 editor:select-to-end-of-word (span.ft-body-text)
     -1:04.2.0 outline-editor:toggle-bold (span.ft-body-text)
  4x -1:03.5.0 core:move-down (span.ft-body-text)
     -0:59.9.0 outline-editor:toggle-status-complete (span.ft-body-text)
     -0:49.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:21.8.0 editor:newline (span.ft-body-text)
     -0:21.5.0 editor:indent (span.ft-body-text)
     -0:13.7.0 core:paste (span.ft-body-text)
     -0:02.2.0 core:undo (span.ft-body-text)
     -0:02.2.0 tree-view:toggle (span.ft-body-text)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.28.11
color-picker, v2.0.11
cursor-history, v0.4.18
encoding-selector, v0.21.0
foldingtext-for-atom, v0.9.0
foldingtext-markdown, v1.3.2
highlight-line, v0.11.0
jshint, v1.3.10
last-cursor-position, v0.9.0
linter-jsxhint, v0.1.2
minimap, v4.13.0
react, v0.12.6
Sublime-Style-Column-Selection, v1.3.0
tree-view-open-files, v0.2.4

# Dev
No dev packages

MadKnickers avatar Aug 21 '15 11:08 MadKnickers

I get this too.

reagle avatar May 30 '16 18:05 reagle