Bug 150338 - [65cat] Editor rename message doesn't hide on valid rename
[65cat] Editor rename message doesn't hide on valid rename
Status: NEW
Product: python
Classification: Unclassified
Component: Editor
6.x
All All
: P4 (vote)
: TBD
Assigned To: Torbjorn Norbye
nbpythonqa
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-16 08:56 UTC by rajivderas
Modified: 2009-01-15 01:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo