neo-nie / pynsource

Automatically exported from code.google.com/p/pynsource
0 stars 0 forks source link

View method parameters and change background color #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create test.py
class Test(object):
        def __init__(self):
                pass

        def big_universe(self, why_not, agree=False):
                if agree:
                        print "Agreed!"

def testing(hello_str):
        print 'This works', hello_str*3

if __name__ == '__main__':
        Test().big_universe('hello world', agree=True)
        testing('!')

2. Run pynsource -> File -> Import python code -> test.py

What is the expected output? What do you see instead?
Expected 1: "big_universe(self, why_not, agree=False)" in class Test with 
method parameters and default values
Shown 1: "big_universe" in class Test without method parameters
Expected 2: A plain white color
Shown 2: A mild blueish background color

What version of the product are you using? On what operating system?
1.61-src.zip / Ubuntu
1.61-macosx / Lion

Please provide any additional information below.
PyNSource is great! It would be relatively easy to go over a small project 
using class diagrams that contain method parameters and its defaults if any. 
Ability to toggle this and the background color would be great. 

Original issue reported on code.google.com by cyclo...@gmail.com on 13 Dec 2012 at 6:55