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 89428

Summary: JSPX Editor does not consider colon as word separator
Product: javaee Reporter: ssoong <ssoong>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 119659    
Bug Blocks:    

Description ssoong 2006-11-16 03:05:57 UTC
NB 5.5 RC2 Build 20061016
JDK 1.5
=========================

Double click on "AnotherObject" hoping to select "AnotherObject",

jspx editor will select "null:AnotherObject" instead.

[code]
<jsp:element name="test">
  <jsp:body>
    <pps>
        <jsp:expression>
            AnObject.SomeVar==null?null:AnotherObject.SomeVar.toString()
        </jsp:expression>
    </pps>
  </jsp:body>
</jsp:element>
[/code]
Comment 1 Marek Fukala 2007-10-22 15:28:51 UTC
The mechanism used for determining what should be selected on the doubleclick doesn't distinguish the language on the
clicked location. So there can be just one impl. for the high level mimetype, JSP in this case. Since we want jsp tags
with prefixes (jsp:useBean) being selected on doubleclick, the semicolon is considered as part of identifier. Once
editor supports the described case, we may fix this.

I have filed an enhancement #119659 - Allow to use SettingsNames.IDENTIFIER_ACCEPTOR for each language embedded in a
document
Comment 2 Marek Fukala 2008-02-25 16:39:27 UTC
minor issue
Comment 3 Marek Fukala 2008-11-19 10:49:28 UTC
will be fixed once issue #119659 is resolved
Comment 4 Quality Engineering 2009-11-02 11:14:03 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX