Skip to content

Strange Editor Response... #23

@jacobsamlarose

Description

@jacobsamlarose

Every now and then, FT does something in the UI that feels buggy. Sometimes quitting and restarting fixes the issue, sometimes it doesn't. A specific case, most recently, came up when I tried to copy text from a Pages document into a FoldingText document. I copied the text over, then tried to apply some markdown— in the first instance, add a # heading to an existing line. The # appeared, but the line wasn't recognised as a heading. And from then on, editing the document became impossible— the cursor wouldn't respond, double clicking at different points in the text would delete/hide chunks of text and more.

Other open windws are unaffected by this behaviour

I quit out of FT, removed all plugins and emptied my user.less of any modifications, and tried again. Same error.

I opened up an SDK window, copied the text in and tried the same operation. Got the following errors:

[Error] TypeError: null is not an object (evaluating 'match')
detectAndHighlightAtxHeading - markdowntaxonomy.js:368
classify - markdowntaxonomy.js:763
classifyWorker - classifier.js:440
ensureClassified - classifer.js: 61
ensureClassified - tree.js:1095
(anonymous function) - editor.js:1420
signal - codemorror.js:8420
endOperation - codemirror.js:3150
runInOp - codemirror.js:3294
poll - codemirror.js:1521
(anonymous function) - codemirror.js:1319
[Error] TypeError: null is not an object (evaluating 'match')
detectAndHighlightAtxHeading - markdowntaxonomy.js:368
classify - markdowntaxonomy.js:763
classifyWorker - classifier.js:440
classifyWorker

My best guess is that there's a character that's being misinterpreted, but I can't see anything that should be a problem. I've also tried to copy and paste via different applications that I assumed would strip out any invisible characters (NVAlt, Sublime Text) before pasting the text into an FT document, to no effect.

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