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.

Bug 83096 - Make Copy/Paste more comfortable from inactive preprocessor block
Summary: Make Copy/Paste more comfortable from inactive preprocessor block
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Fragmentation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 15:16 UTC by Lukas Hasik
Modified: 2009-10-01 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
As it is now and as it could be... (38.89 KB, image/png)
2008-05-05 15:51 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2006-08-21 15:16:48 UTC
(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
--------------
Comment 1 Petr Dvorak 2008-05-05 15:45:50 UTC
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
Comment 2 Petr Dvorak 2008-05-05 15:51:34 UTC
Created attachment 61048 [details]
As it is now and as it could be...