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 60057 - Incorrect completion of attribute values
Summary: Incorrect completion of attribute values
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 60062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-15 14:32 UTC by Jiri Kovalsky
Modified: 2005-09-05 10:15 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 Jiri Kovalsky 2005-06-15 14:32:40 UTC
Development build #200506142000 of NetBeans 4.2
Windows XP, JDK 1.5.0_03 build #06

Description:
============
User can't use code completion for narrowing down list of possible attribute
values since follow-up selection will not remove already written leading chars
of the desired value.

Steps to reproduce:
===================
1. Create new sample web application.
2. Set cursor at position 2:26 in index.jsp i.e.: <%@page pageEncoding="UTF|-8"%>
3. Press CTRL+Space to invoke code completion.
4. Press Enter to select UTF-16 item but the result will be unusable <%@page
pageEncoding="UTFUTF-16-8"%>
Comment 1 Jiri Kovalsky 2005-06-15 14:41:50 UTC
*** Issue 60062 has been marked as a duplicate of this issue. ***
Comment 2 Marek Fukala 2005-06-17 12:44:29 UTC
fixed in trunk. Can you Jirko please verify that the fix is working in jsp tag
attribute values as well?

Checking in
src/org/netbeans/modules/web/core/syntax/completion/JspCompletionQuery.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionQuery.java,v
 <--  JspCompletionQuery.java
new revision: 1.3; previous revision: 1.2
done
Comment 3 Jiri Kovalsky 2005-06-20 13:59:57 UTC
Verified in development build #200506191800 of NetBeans 4.2.