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 177328 - end-tag CC should be closed when user continues to type
Summary: end-tag CC should be closed when user continues to type
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 177628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-20 12:00 UTC by Martin Schovanek
Modified: 2009-11-26 19:34 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 Schovanek 2009-11-20 12:00:49 UTC
[#200910200201, jdk1.6]

to reproduce:
-------------
1) type in a .html
  <p>|
NOTE: the CC automatically pop-ups and offers </p> end-tag
2) type some text and press Enter

ERROR1: when you continue to type the CC should be closed

ERROR2: when you press Enter the text behind the start-tag is replaced by: '</p>'

WORKAROUND: use Undo action
Comment 1 Marek Fukala 2009-11-20 12:03:11 UTC
Thanks for finding this issue. It is nasty, but not serious as the undo helps to fix the situation.
Comment 2 Marek Fukala 2009-11-26 01:41:36 UTC
*** Bug 177628 has been marked as a duplicate of this bug. ***
Comment 3 Marek Fukala 2009-11-26 01:43:53 UTC
Increasing the priority since it looks like this can be a productivity stopper. One needs to press ESC to close the completion window after each open tag typed and end tag autocompletion popup, if doesn't use it to complete the end tag.
Comment 4 Marek Fukala 2009-11-26 03:16:54 UTC
fixed in web-main#39bec099eee6

Worth of fixing in 6.8, the fix should be quite safe.

Dusane, please review, and Martine, please verify in trunk.
Comment 5 Dusan Balek 2009-11-26 03:25:20 UTC
The patch looks OK.
Comment 6 Martin Schovanek 2009-11-26 04:23:47 UTC
Verified at the web-main by QE. Please integrate into release68.
Comment 7 Marek Fukala 2009-11-26 04:26:09 UTC
fixed in release68#e6f26078b6d1
Comment 8 Martin Schovanek 2009-11-26 08:09:58 UTC
Verified at the release68.
Comment 9 Quality Engineering 2009-11-26 19:34:29 UTC
Integrated into 'main-golden', will be available in build *200911261400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/39bec099eee6
User: Marek Fukala <mfukala@netbeans.org>
Log: #177328 - end-tag CC should be closed when user continues to type