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 25195

Summary: Attributes before cursor are options in attribute completion
Product: javaee Reporter: spf <spf>
Component: JSPAssignee: _ rkubacki <rkubacki>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description spf 2002-06-26 16:00:53 UTC
White attribute completion in tags correctly
remove attributes that have already been typed in
before the cursor, it does not ignore attributes
that have been typed in after the cursor. This is
a problem when you want to add a new attribute at
the beginning and you get the full list of
attributes to complete on, not just the ones that
aren't in the current list.

I noticed this behavior when completing a JSP
taglib attribute, but I'm assuming the same code
is used in XML attribute completion.
Comment 1 _ pkuzel 2002-06-28 20:59:47 UTC
Please provide sample. It never worked in XML neither for before nor for
for after typing. I have fixed it for XML but not integrated yet.

I hope that sample proves that you mean HTML completion.

Passing to JSP gurus.
Comment 2 spf 2002-06-28 21:13:25 UTC
I was actually referring to JSP taglib attribute completion. I
mistakenly assumed that the code to do JSP taglib attribute completion
and the code to do XML attribute completion were the same.
Comment 3 _ rkubacki 2002-07-16 15:11:29 UTC
works correctly in dev (and NB3.4). 
Comment 4 Quality Engineering 2003-07-02 08:25:17 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 5 Quality Engineering 2003-07-02 08:29:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.