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 30909 - WAR: negative regexp filer should differ from not negative.
Summary: WAR: negative regexp filer should differ from not negative.
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 14:41 UTC by Alexei Mokeev
Modified: 2005-02-18 14:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Mokeev 2003-02-10 14:41:32 UTC
Currently inverted regexp not differ from not
inverted(in properties sheet).
So if you want be sure in your filter, you must
open property
editor each time. 
May be negative filter must be marked by prefix or
something other.

Steps to reproduce:

1)Open properties of WEB-INF node.
2)Switch to "Archive" tab
3)Invoke editor for "Filter" property
4)Check "Regular Expression" radiobutton and type
".*\.txt" in text field.
5)Press "OK" button

Notice, that "Filter" property in property sheet
is equal to ".*\.txt"

6)Open editor for "Filter" property again, check
"Negative" checkbox and press "OK" button.

Notice, that "Filter" property in property sheet
is equal to ".*\.txt"


Well reproduced with 200302070100 build.
Comment 1 _ rkubacki 2003-02-17 15:20:24 UTC
The suggestion is to distinguish values in property sheet for example
using different color.

Tim: is it possible with current property sheet or with new planned
version? I remember that something like overriding paint method of my
properties can help but it seems to be an extra work that would
require maintanance on our side. I am going to implement this RFE only
if there is official support and if it becomes usual way in the IDE
Comment 2 _ rkubacki 2003-09-16 18:47:53 UTC
AFAIK it is possible now by passing hints to property sheet.
Comment 3 _ rkubacki 2005-02-18 14:11:06 UTC
Completely different approach in 4.x makes this irrelevant