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 201401070002) Operating System = Linux version 2.6.32-431.3.1.el6.i686 running on i386 Java; VM; Vendor = 1.7.0_45 Runtime = Java HotSpot(TM) Client VM 24.45-b08 1. Click Tools > Options > Editor > Code Templates > Java 2. Click table header "Abbreviation" for sorting it 3. After this, click some row in the table 4. You can notice that in "Expanded Text" tab below, expanded text of some other template appears Possibly some issue with table view index and model index
Created attachment 143836 [details] IDE log
Created attachment 143837 [details] screenshot showing wrong code template selection
*** Bug 240305 has been marked as a duplicate of this bug. ***
*** Bug 240353 has been marked as a duplicate of this bug. ***
Created attachment 143937 [details] Patch Proposed patch
Fixed in jet-main. Thanks for the patch. http://hg.netbeans.org/jet-main/rev/bcd3daa2d18c
Integrated into 'main-silver', will be available in build *201401180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bcd3daa2d18c User: Dusan Balek <dbalek@netbeans.org> Log: Issue #240300: Wrong selection in Java code templates table after sorting - patch applied.
*** Bug 237609 has been marked as a duplicate of this bug. ***