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 137586 - Inserting matching quotes for multiline strings adds 2 or 4 of the,m
Summary: Inserting matching quotes for multiline strings adds 2 or 4 of the,m
Status: CLOSED WORKSFORME
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 15:52 UTC by martin_adamek
Modified: 2012-08-20 07:59 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 martin_adamek 2008-06-18 15:52:47 UTC
.. but should somehow add 3 or six...
def foo = ""|
Comment 1 Martin Janicek 2012-02-21 14:31:10 UTC
Not sure what is the original problem. Please provide some concrete example describing what's wrong with def foo = ""|
Comment 2 driscoll 2012-08-16 18:14:17 UTC
I just tested this on 7.2 - it works.

There's another issue, with indenting, but I'll file that as a separate bug.  I think you can close this bug.  (Actually, I'll just do it.)

BTW:  The original bug referrs to multiline GStrings in Groovy, so not 

foo = "test"

but rather

foo =
"""
test multiline text
second line

fourth line
"""

So, having a fouth quote would be bad in that case.
Comment 3 Martin Janicek 2012-08-20 07:59:56 UTC
Thanks for the clarification driscoll!