mwarrenus / js2-mode

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

fill-paragraph broken for comments #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Open a javascript file, and start typing a comment as follows:

// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent dictum, 
ante nec dictum

When I press M-q while the point is on the cursor, this is what I get:

// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent
dictum, ante nec dictum

This is what is expected:

// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent
// dictum, ante nec dictum

Tested this on Emacs 23.2.50.1 on Linux (64-bit). I have checked out the latest 
rev (#80) of js2-mode.

Original issue reported on code.google.com by mail%cha...@gtempaccount.com on 29 Dec 2010 at 7:34