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 - [65cat] Editor rename message doesn't hide on valid rename
Summary: [65cat] Editor rename message doesn't hide on valid rename
Status: CLOSED WONTFIX
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 08:56 UTC by rajivderas
Modified: 2017-06-22 18:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot (107.91 KB, image/png)
2008-10-16 08:57 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
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.