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 137717 - entities code completion is adding extra ampersand
Summary: entities code completion is adding extra ampersand
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
: 135378 (view as bug list)
Depends on:
Blocks: 138486
  Show dependency tree
 
Reported: 2008-06-19 13:20 UTC by Jindrich Sedek
Modified: 2008-07-23 12:30 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 Jindrich Sedek 2008-06-19 13:20:07 UTC
Create new XML document using some DTD schema
type:
-----------
 &qu|
------------
Press Ctrl+Space to invoke cc -> code is completed to "&"", but just one & should be added
Comment 1 Samaresh Panda 2008-06-24 19:59:23 UTC
Related issue 135378. Nightmare code, but will try to fix it for M1.
Comment 2 Samaresh Panda 2008-06-28 00:02:17 UTC
*** Issue 135378 has been marked as a duplicate of this issue. ***
Comment 3 Samaresh Panda 2008-06-30 22:39:50 UTC
Fixed: http://hg.netbeans.org/main?cmd=changeset;node=1c0d521b4195.
Not the best fix, but works.
Comment 4 Jindrich Sedek 2008-07-23 12:30:53 UTC
no double & is added, but cc still doesn't work well in this case see: #141320
verified
NetBeans IDE Dev (Build 200807230010)