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 - JSPX Editor does not consider colon as word separator
Summary: JSPX Editor does not consider colon as word separator
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on: 119659
Blocks:
  Show dependency tree
 
Reported: 2006-11-16 03:05 UTC by ssoong
Modified: 2009-11-02 11:14 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 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