colhountech / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

warning on line disables other formatting on line #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a file containing a line that will generate a warning. For example:

        Dom.replaceClass(xyz, "MANUAL")

What is the expected output? What do you see instead?

The line is underline to flag a warning, and other formatting is disabled.

I expected to see "MANUAL" highlighted as a string.

What version of the product are you using? On what operating system?

20040419 on emacs 22.2.1.

Please provide any additional information below.

This seems a little arguable to me, I'm opening this as an issue because
it's a convenient way to raise it.

Original issue reported on code.google.com by mpsteven...@gmail.com on 22 Apr 2008 at 2:06

GoogleCodeExporter commented 8 years ago
Yeah, that's true.  Hmmmm... could be a little tricky, since Emacs doesn't 
really
have the notion of composable style runs a la CSS.  Maybe it does.  I'll look 
into it.

Original comment by steve.ye...@gmail.com on 16 Jun 2008 at 3:33

GoogleCodeExporter commented 8 years ago
I was mistaken; how silly of me to doubt Emacs.  I was just doing it wrong.  
I'll try
to get in a fix in the next release.

Original comment by steve.ye...@gmail.com on 16 Jun 2008 at 3:47

GoogleCodeExporter commented 8 years ago
Fixed for next release.  I now use overlays to highlight errors and warnings.

Original comment by steve.ye...@gmail.com on 16 Jun 2008 at 4:17

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 16 Jun 2008 at 8:03