##// END OF EJS Templates
Fix help (pinfo2) view highlighting
michaelpacer -
Show More
@@ -624,7 +624,7 b' class InteractiveShell(SingletonConfigurable):'
624 624 # Object inspector
625 625 self.inspector = oinspect.Inspector(oinspect.InspectColors,
626 626 PyColorize.ANSICodeColors,
627 'NoColor',
627 self.colors,
628 628 self.object_info_string_level)
629 629
630 630 def init_io(self):
@@ -352,7 +352,7 b' class Inspector(Colorable):'
352 352
353 353 def __init__(self, color_table=InspectColors,
354 354 code_color_table=PyColorize.ANSICodeColors,
355 scheme='NoColor',
355 scheme=None,
356 356 str_detail_level=0,
357 357 parent=None, config=None):
358 358 super(Inspector, self).__init__(parent=parent, config=config)
@@ -379,6 +379,7 b' class Inspector(Colorable):'
379 379 self.color_table.active_colors.normal)
380 380
381 381 def set_active_scheme(self, scheme):
382 if scheme is not None:
382 383 self.color_table.set_active_scheme(scheme)
383 384 self.parser.color_table.set_active_scheme(scheme)
384 385
General Comments 0
You need to be logged in to leave comments. Login now