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 212989 - Documentation Popup shows documentation based on mouse position in word, not whole word
Summary: Documentation Popup shows documentation based on mouse position in word, not ...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 07:28 UTC by MarcosJava
Modified: 2012-05-30 09:28 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 MarcosJava 2012-05-25 07:28:08 UTC
In JSF Editor (XHTML pages), if I have the following element:

<h:commandButton />

and I place the cursor right after "command" (before "Button"), and I press Ctrl+Shift+Space to bring up popup documentation, the documentation for <h:commandLink /> is shown.

The popup documentation works similar to Ctrl+Space here (code completion), bringing up the first tag that matches the word until the cursor position, but not bringing a list of other possibilities. This is NOT the expected behavior, it should be as in the normal Java editor, the whole tag where the cursor is positioned should be used to generate documentation.
Comment 1 Marek Fukala 2012-05-25 10:34:22 UTC
I agree it should work the way you describe.
Comment 2 PetrPodzimek 2012-05-30 09:28:30 UTC
web-main:4d109d79f942

Changed selection of HTML documentation based on document cursor position.