Skip to content

Slow editing inside large string #484

Open
@mallt

Description

@mallt

In this example I made a string of 1000 lines This is a $test, and then typing on line 1000 becomes very slow:

php-mode-slow-edit-of-large-string

The cpu profiler shows 65% goes to font-lock-fontify-region:
image

Does anybody know if there is a way to speed up the font locking?

Thanks a lot!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions