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 150338

Summary: [65cat] Editor rename message doesn't hide on valid rename
Product: python Reporter: rajivderas <rajivderas>
Component: EditorAssignee: Torbjorn Norbye <tor>
Status: CLOSED WONTFIX    
Severity: blocker CC: Jenselme
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screen shot

Description rajivderas 2008-10-16 08:56:51 UTC
1) Create a py project and paste the following code block

def update(self, event):
        context = {}
        exec self.execentry.text in context
        each = compile(self.evalentry.text, '<input>', 'eval')
        numbers = [0]*self.numelements
        for x in xrange(self.numelements):
            context['x'] = float(x)
            numbers[x] = eval(each, context)
        self.chart.data = numbers
        if self.chart.style == 'Line':
            self.line.setSelected(1)
        else:
            self.filled.setSelected(1)
        self.chart.repaint()

2) Double click on the 'Line'(line 10) code and right click and select rename and it will display an error message on 
bottom of the editor saying "cannot perform rename here" in red
3) Now double click the "each" variable in line 4 and right clik and select rename it will allow you to rename but 
still that error message is displayed at the bottom of the editor

see the attached acreen shot. using build 62.
Comment 1 rajivderas 2008-10-16 08:57:50 UTC
Created attachment 71941 [details]
screen shot
Comment 2 Jenselme 2017-06-22 17:53:03 UTC
Renames are still not supported in all context. We have plans to improve this and all refactoring. Closing this as old bug. No need to migrate this any where and leave it open.
Comment 3 Jiri Kovalsky 2017-06-22 18:04:49 UTC
Thanks for your evaluation Julien. Closing then.