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 187733 - Code editor background remains grey when a file which was read only becomes writeable
Summary: Code editor background remains grey when a file which was read only becomes w...
Status: RESOLVED DUPLICATE of bug 187561
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 13:52 UTC by mail.griff
Modified: 2010-06-18 08:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail.griff 2010-06-17 13:52:10 UTC
If a read only file (such as a .java) is opened in the code editor, and this file is then made writeable on the filesystem, although the file becomes editable in the code editor, the grey background remains. The file needs to be closed and reopened in the code editor before the background turns white.

Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_10
Runtime = Java HotSpot(TM) Client VM 11.0-b15
Comment 1 Jaroslav Tulach 2010-06-18 07:19:48 UTC
Moving to editor. As far as I know the title of the editor changes appropriately, so the notification from filesystems to editor is OK. It would be up to editor to adjust the background then.
Comment 2 Vitezslav Stejskal 2010-06-18 08:30:19 UTC

*** This bug has been marked as a duplicate of bug 187561 ***