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 201411240001) Updates: Updates available Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev 1. Given: // One Two Three| where | denotes the caret position 2. Invoking CTRL+DELETE results in: // One Two| 3. But in Netbeans 8.0.1 step 2 results in: // One Two | I am expecting Netbeans 8.0.2 to maintain the same behavior as 8.0.1. For reference, Chrome and most other applications I've seen behave the same as 8.0.1.
Correction: 8.0.2 behaves correctly. This bug only affects the aforementioned dev build.
reproducible in dev build
the same issue is with Ctrl+LEFT_ARROW, it jumps leftward skipping white spaces. It is extremely inconvenient for the first word on the line (which is indented). Because NB jumps to 1st column: FirstWord| expected after Cltr+LEFT_ARROW |FirstWord current: | FirstWord
I think this is regression since platform split times
Since the fix requires an extra method to be added into DocumentUtils I formally ask for a fasttrack review. In the meantime I add some extra tests.
Created attachment 152452 [details] Proposed fix
Y01 Missing versioning - @since & etc. Y02 Missing tests.
Mila, when can we expect the fix (and Y01-02?)
I've addressed Y01 and Y02. The new method should be well tested (in compliance with 8.0.1) and I add more tests to various TextSearchUtils methods as time permits too. http://hg.netbeans.org/jet-main/rev/70dafee6c5a7
Integrated into 'main-silver', will be available in build *201503190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/70dafee6c5a7 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #249051 - REGRESSION: ctrl+delete removes leading whitespace.