Juan571 / js2-mode

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

Escaped quote in the string doesn't add quote in last part of a string. #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Type var x = "u";
2. After the u type \"

What is the expected output? What do you see instead?
Expected output is: var x = "u\"";
Instead I get: var x = "u\";

What version of the product are you using? On what operating system?
I'm using js2-0406 on emacs 22.0.91.1 and EmacsW32 1.10 on Windows XP

Please provide any additional information below.
This is also the case with single quotes as it's matching the string
characters. This only happens in the last character index of a string.

Original issue reported on code.google.com by nicholas...@gmail.com on 8 Apr 2008 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 16 Apr 2008 at 10:05

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 19 Apr 2008 at 10:54