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 36462 - EDITOR: Incorrect cursor position after attributes code completion
Summary: EDITOR: Incorrect cursor position after attributes code completion
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 14:41 UTC by David Kaspar
Modified: 2004-10-08 13:19 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 David Kaspar 2003-10-07 14:41:57 UTC
How to reproduce:
1) Open JSP file in Source Editor
2) Type following line:
<%@include f%>
3) Set cursor after "f" character
4) Invoke code completion
5) "Press Enter on "file" item
6) NOTE - Line look like this correct one:
<%@include file=""%>
7) ERROR - Cursor is set after second quote
character, but it should be between quote characters

FYI:
2. case is correct:
1) Type following line:
<%@include f
2) Set cursor at the end
3) Invoke code completion
4) NOTE - Line is automatically completed and
looks like this correct one:
<%@include file=""
5) NOTE - Cursor is set between quote characters -
that is correct behaviour
Comment 1 Marek Fukala 2004-10-08 13:19:34 UTC
this has already been fixed by fix for issue #50033.