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.
(it was bug 6274434) ---Decription--- -when a code is copied from inactive preprocessor block to active area it's copied as commented out text. -it would be better if it'd be copied as uncommented text -------------- ---Evaluation--- it is too complicated to override default copy/paste actions --------------
IMHO it would be the best if NB IDE didn't visually handle the content of inactive preprocessor blocks as comments. I would like if the inactive branch would be just grayed (roughly the same appearance as preprocessor in Visual Studio, for example - I know that preprocessor works a bit differently in J2ME, but it does not matter). The text could be physically stored with comments, just the editor would gray the code whenever it would find a line starting with '//#' and it would not display chars associated with comment. see also: http://qa.netbeans.org/issues/show_bug.cgi?id=132887
Created attachment 61048 [details] As it is now and as it could be...