This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 101866 - "smart" quotation marks do not work
Summary: "smart" quotation marks do not work
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 23:17 UTC by Pavel Buzek
Modified: 2009-02-27 14:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2007-04-19 23:17:32 UTC
I think you should either make the quotation marks ('"') work at least as well
as in Java or make the editor just do what I type. Making them _somewhat_ clever
is pretty annoying.

Type "aaa" then delete the last ", type it again you get "aaa"".

More complex: I am trying to write a String that contains:
  I say: "Hi!", you say "Bye!".  
I have to escape the " so it will look like:
  "I say: \"Hi!\", you say \"Bye!\"."
I start typing "I say|" - so far so good. When I have "I say: \|" and I press "
it does not add anything. I type on to "I say: \"Hi\| now I type " and it will
add "". In short, typing every odd " at the end of string literal will be
ignored, every even " will be added twice.
Comment 1 Jan Jancura 2007-04-20 10:20:19 UTC
Reproducible. I will look at it.
Comment 2 Petr Jiricka 2008-02-25 17:34:13 UTC
Fixed in build 682.
Comment 3 polan 2008-06-18 12:53:23 UTC
Verified.