My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 86: js2-mode breaks font lock in default-generic-mode
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by p.d.oliver, Jul 23, 2008
What steps will reproduce the problem?
1. Edit a javascript file with js2-mode.
2. Edit some other file with default-generic-mode.

What is the expected output? What do you see instead?
I expect to see comments in the default-generic buffer start at a # and end
at the end of the line.  Instead, they start at a # but continue all the
way to the end of the buffer.

What version of the product are you using? On what operating system?
js2-20080616.el with emacs-22.2.

Please provide any additional information below.
Default-generic-mode works as expected until js2-mode is used.
 
Comment 1 by p.d.oliver, Jul 31, 2008
The attached patch seems to fix this.
js2-comment-overspill.diff
440 bytes   Download
Sign in to add a comment

Hosted by Google Code