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 181288 - [69cat] Ant script code completion doesn't replace already typed characters
Summary: [69cat] Ant script code completion doesn't replace already typed characters
Status: RESOLVED DUPLICATE of bug 173691
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 10:26 UTC by Michel Graciano
Modified: 2010-04-08 16:08 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 Michel Graciano 2010-02-26 10:26:49 UTC
Steps to reproduce:
1. Create a new ant file with the follow [1] content;
2. Put your caret just after '${tes' and type Ctrl + Space (CC shortcut);
3. You will see that property is inserted but the string '${tes' is still present [2] when it should be replaced or removed.
I am not sure if it is the correct Product/Component about ant code completion.

[1]
<?xml version="1.0" encoding="UTF-8"?>
<project name="changeme" default="all" basedir=".">
   <target name="all">
      <property name="test.property" value=""/>
      <mkdir dir="${tes"/>
   </target>
</project>

[2] <?xml version="1.0" encoding="UTF-8"?>
<project name="changeme" default="all" basedir=".">
   <target name="all">
      <property name="test.property" value=""/>
      <mkdir dir="${test.property}${tes"/>
   </target>
</project>
Comment 1 Michel Graciano 2010-04-08 16:08:29 UTC

*** This bug has been marked as a duplicate of bug 173691 ***