[wingide-users] Code analysis oddity

avnerben at 012.net.il avnerben at 012.net.il
Tue Oct 24 02:19:05 MDT 2006


The code context bar (top of the editor) seems to have a problem with 
the following situation: class with inner class, followed by class data, 
followed by methods. It puts the class data under the last inner class 
it saw. for example:

class ClassWithBothInnerClassesAndData(object):
    class InnerClass(object):
        def __init__(self):
            self.data = ''
    classData = []
    def __init__(self):
        self.data = ''
    def aMethod(self):
        pass

Here, the source browser displays a correct analysis (both "classData" 
and "data" under the main class). However, with cursor on "classData", 
the second control from left shows us to be inside "InnerClass" and 
promptly opens a third control for the contents of this class.

This behavior is not due to lack of refreshment when cursor goes down. 
It repeats when the cursor goes up!

    Avner.


More information about the wingide-users mailing list