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 222309 - html editor no longer position cursor in the right place for fast editing
Summary: html editor no longer position cursor in the right place for fast editing
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 00:44 UTC by ecerichter
Modified: 2012-11-19 14:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
This is what I get in 7.3 (6.19 KB, image/png)
2012-11-17 00:46 UTC, ecerichter
Details
This is what I expect based in previous versions behavior (6.09 KB, image/png)
2012-11-17 00:47 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2012-11-17 00:44:45 UTC
Product Version = NetBeans IDE Dev (Build 201211150001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02

When editing HTML in NetBeans, when user type

<table>

and accept the autocomplete </table> the cursor is correctly positioned

<table>|</table>

Now the issue: in previous versions, when user hit "Enter", then NetBeans correctly put the cursor in the right place:

<table>
  |
</table>

Now, in 7.3, NetBeans does not put the cursor as expected. This is what I get:

<table>
|</table>

Can we get the previous behavior, much more consistent and confortable to the fast typewriter?

Thanks,

Edson
Comment 1 ecerichter 2012-11-17 00:46:38 UTC
Created attachment 127968 [details]
This is what I get in 7.3
Comment 2 ecerichter 2012-11-17 00:47:07 UTC
Created attachment 127969 [details]
This is what I expect based in previous versions behavior
Comment 3 Marek Fukala 2012-11-19 13:35:47 UTC
works fine for me in dev builds.

Does it happen in particular html file? Is it in .html file or the code is embedded somewhere (php,jsp...)? Can you possibly try it in a latest dev build? Thank you.
Comment 4 Vladimir Riha 2012-11-19 13:51:18 UTC
I noticed this in JSP/tag files, issue 222187
Comment 5 ecerichter 2012-11-19 13:59:16 UTC
I'm using JSP and Tag files. Both show same behavior.
Comment 6 Marek Fukala 2012-11-19 14:12:42 UTC
thanks, that's what I expected. I've reassigned the issue vriha mentioned to me as this is a html editor bug.