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.
Product Version: NetBeans IDE Dev (Build 100825-37eaa2ae32f7) Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279 System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/peter/.netbeans/dev Steps: 1. Invoke "Tools | Options" and set "Editor | Formatting | Line Wrap" to "After Words". 2. Open java file and create new method. 3. In this method type e.g. "super.|" 4. Now change the editor window size to the narrowest, then make it wider. Cursor is moved to incorrect position.
Reproduced. The caret must be notified about the views change so that it can recompute its visual position.
http://hg.netbeans.org/jet-main/rev/1cafe644f555
Integrated into 'main-golden', will be available in build *201011110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1cafe644f555 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189831 - Window resizing is causing cursor movement to incorrect position.