#30 Colored display of Sourcebrowser

closed
nobody
None
2
2005-02-16
2005-02-14
No

Ok, there are the icons.
But what about colored entries for functions, classes and
imports additionally as in spe?
I think, this looks nice.
Or make an option in Sourcebrowser: Color Display:

like for example:

if (matchedtext[0] == 'c'):
=>..
=>self.classtree.SetItemTextColour(Roots[currentRoot],
wx.RED)
elif (matchedtext[0] == 'd'):
=>..
=>self.classtree.SetItemTextColour(Roots[currentRoot],
wx.BLUE)
else:
=>..
=>self.classtree.SetItemTextColour(Roots[currentRoot],
'#00CF00')

Discussion

    • priority: 5 --> 2
     
  • Logged In: YES
    user_id=796750

    Hmmmm.

    Well, I decided to use the styles from the Python Array:

    So classes turn up as classes,
    defs as defs, imports are (well, plain).

    This is in the next release.

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=796750

    Oops. Forgot to close it.