Emacs-D-Mode-Maintainers / Emacs-D-Mode

An Emacs mode for D code.
GNU General Public License v3.0
84 stars 21 forks source link

Exponential fontification time of backslashes in WYSIWYG-literals #64

Closed CyberShadow closed 8 years ago

CyberShadow commented 8 years ago

This line takes a second or two to fontify:

  `\\aaa\\aaa\\aaa\\aaa\\aaa\\aaa

Curiously, this is true even when it's inside a comment.

russel commented 8 years ago

I believe the merged pull request solves this issue. Thanks @CyberShadow for posting it.