You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c.TerminalInteractiveShell.highlighting_style only affects syntax highlighting of code typed in the prompt
Why doesn't it affect highlighted source code when using ipython's ?? helper which shows the source code of any class/function? That would be very appropriate!
The text was updated successfully, but these errors were encountered:
I don't think they are implemented in the same way.
For source code shown as part of the result of pinfo, a PyColorize module is used, and you configure it in a different way: c.InteractiveShell.colors = 'Linux'.
you configure it in a different way: c.InteractiveShell.colors = 'Linux'.
I know this :)
I don't think they are implemented in the same way.
But why? Pygments would be appropriate for coloring source shown by ClassName??. It would avoid having to use or even maintain 2 different implementations, would allow to have one color scheme instead of 2, etc.
c.TerminalInteractiveShell.highlighting_style
only affects syntax highlighting of code typed in the promptWhy doesn't it affect highlighted source code when using ipython's
??
helper which shows the source code of any class/function? That would be very appropriate!The text was updated successfully, but these errors were encountered: