Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape sequences break font-locking in double quoted strings #45

Open
bbatsov opened this issue Apr 14, 2014 · 4 comments
Open

Escape sequences break font-locking in double quoted strings #45

bbatsov opened this issue Apr 14, 2014 · 4 comments

Comments

@bbatsov
Copy link
Contributor

bbatsov commented Apr 14, 2014

Here's a simple example:

"Hello.\n"
@swsnr
Copy link
Contributor

swsnr commented Apr 14, 2014

@bbatsov What exactly breaks here? Can you provide a screenshot?

@swsnr swsnr self-assigned this Apr 14, 2014
@bbatsov
Copy link
Contributor Author

bbatsov commented Apr 14, 2014

Sure:

image

@swsnr
Copy link
Contributor

swsnr commented Apr 14, 2014

@bbatsov Now I noticed this, too, but I don't know what's causing this. It's rather strange. Notably, when you delete dfdfdfdfdf and re-insert it, the fontification will be correct.

As far as Puppet Mode is concerned, everything seems fine: Our special text properties are deleted, so the subsequent text isn't part of the escape anymore.

However, the face property somehow persists. It looks like font lock mode doesn't re-fontify the subsequent text…

@swsnr swsnr removed their assignment Jan 13, 2016
@paran1
Copy link
Contributor

paran1 commented Nov 16, 2017

It seems this have been fixed. I cannot reproduce using latest puppet-mode.

Tested using emacs 24.5 and 25.2 (on CentOS 6 and Ubuntu 17.10 respectively).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants