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 229960 - "#" (hash) comment lines that contain "?" (question mark) don't "extend" as expected
Summary: "#" (hash) comment lines that contain "?" (question mark) don't "extend" as ...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-19 14:47 UTC by erusev
Modified: 2013-05-21 02:35 UTC (History)
0 users

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 erusev 2013-05-19 14:47:31 UTC
How to reproduce:
- write the comment at http://d.pr/i/QFCJ;
- move the cursor at the end of the first line;
- hit enter;

Instead of "#" (hash), the newly create line would be commented with "//" (double slash), and this is not expected.

The issue doesn't seem to affect comment lines that do not contain "?" (question mark).
Comment 1 Ondrej Brejla 2013-05-19 15:01:00 UTC
Reproducible.

Product Version: NetBeans IDE Dev (Build 20130517-af7e8c89d64e)
Java: 1.7.0_13; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20
Comment 2 Ondrej Brejla 2013-05-20 08:51:00 UTC
Fixed in web-main #b0200c538ee1
Comment 3 Quality Engineering 2013-05-21 02:35:56 UTC
Integrated into 'main-golden', will be available in build *201305202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b0200c538ee1
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #229960 - "#" (hash) comment lines that contain "?" (question mark) don't "extend" as expected