Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Editing is slow when parsing the wrong language #16590

Closed
@Ben3eeE

Description

Prerequisites

Description

cut crash

Steps to Reproduce

  1. Enable the Use Tree Sitter Parsers setting
  2. Copy https://raw.githubusercontent.com/atom/language-php/3e45569d8fb3af6747f6e4208b16d17deb577b97/spec/php-spec.coffee to an untitled buffer
  3. Change language mode to JavaScript
  4. Select all text and core:cut
  5. Atom crashes

Expected behavior: Atom to not crash when cutting text

Actual behavior: Atom crashes

Reproduces how often: 100%

Versions

Atom: 1.25.0-dev-3d8902d x64
Electron: 1.7.10
OS: Microsoft Windows 7 Professional

Additional Information

/cc: @maxbrunsfeld

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions