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.
In Emacs there is a common key C-k which deletes from the current position to the end of line and puts the text into the kill ring (clipboard). M-0 C-k deletes from the current position to the beginnning of line. I was told to define macros and map these keys to them. I did emacs-kill-line and emacs-kill-line-backward. Troubles: - I want these two macros to work for all text/* mime-types. Currently it seems that I would have to deine them for each mime-type - Whatever I do I couldn't bind them to C-k. It keeps doing next-matching-word, even though I don't see it in the Options dialog
Not a Beta stopper.
The CutToLineEndAction and CutToLineBeginAction will be added.
The actions were added and tested. By default they are not bound to any action yet but Hanz should probably assign them a shortcut in the emacs profile. Fixed in trunk: Checking in libsrc/org/netbeans/editor/ActionFactory.java; /cvs/editor/libsrc/org/netbeans/editor/ActionFactory.java,v <-- ActionFactory.java new revision: 1.68; previous revision: 1.67 done Checking in libsrc/org/netbeans/editor/BaseKit.java; /cvs/editor/libsrc/org/netbeans/editor/BaseKit.java,v <-- BaseKit.java new revision: 1.136; previous revision: 1.135 done Checking in libsrc/org/netbeans/editor/Bundle.properties; /cvs/editor/libsrc/org/netbeans/editor/Bundle.properties,v <-- Bundle.properties new revision: 1.62; previous revision: 1.61