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 7.4 (Build 201310111528) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) Client VM 24.0-b56 Steps to reproduce: - Click start macro recording - Press a function key, e.g. F3 - Click stop macro recording - Assign a name to the macro => The macro is empty wheras I had expected to see something indicating F3.
Created attachment 143129 [details] IDE log
The macro does not record single keystrokes, but whole actions. In this case the action find-next (in default keymap) was not recorded
For some reason the recording implementation was duplicated in editor and editor.lib2. Actions that derived from BaseActions used the live implementation, but actions exteding editor.lib2's SPI AbstractEditor action used a dead implementation (however this one was covered by tests). I've delegated from editor to editor.lib2 so now all actions use the same macro / text buffer. Implemented in jet-main#81aad2fbbe81
Integrated into 'main-silver', will be available in build *201401150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/81aad2fbbe81 User: Svata Dedic <sdedic@netbeans.org> Log: #239446: macro recording delegated to lib2 impl