@@ -279,7 +279,6 @@ def __init__(self, parent):
279
279
self .tabwidget = None
280
280
self .menu_actions = None
281
281
282
- self .help = None # Help plugin
283
282
self .historylog = None # History log plugin
284
283
285
284
self .python_count = 0
@@ -618,10 +617,6 @@ def start(self, fname, wdir=None, args='', interact=False, debug=False,
618
617
self .get_option ('codecompletion/case_sensitive' ) )
619
618
shellwidget .shell .set_codecompletion_enter (
620
619
self .get_option ('codecompletion/enter_key' ) )
621
- if python and self .help is not None :
622
- shellwidget .shell .set_help (self .help )
623
- shellwidget .shell .set_help_enabled (
624
- CONF .get ('help' , 'connect/python_console' ))
625
620
if self .historylog is not None :
626
621
self .historylog .add_history (shellwidget .shell .history_filename )
627
622
shellwidget .shell .append_to_history .connect (
@@ -702,8 +697,6 @@ def process_started(self, shell_id):
702
697
shell = self .shellwidgets [index ]
703
698
icon , _icon = self .icons [index ]
704
699
self .tabwidget .setTabIcon (index , icon )
705
- if self .help is not None :
706
- self .help .set_shell (shell .shell )
707
700
708
701
def process_finished (self , shell_id ):
709
702
index = self .get_shell_index_from_id (shell_id )
@@ -759,7 +752,6 @@ def get_plugin_actions(self):
759
752
def register_plugin (self ):
760
753
"""Register plugin in Spyder's main window"""
761
754
self .main .add_dockwidget (self )
762
- self .help = self .main .help
763
755
self .historylog = self .main .historylog
764
756
self .edit_goto .connect (self .main .editor .load )
765
757
self .edit_goto [str , int , str , bool ].connect (
@@ -821,7 +813,6 @@ def refresh_plugin(self):
821
813
self .tabwidget .set_corner_widgets ({Qt .TopRightCorner : widgets })
822
814
if shellwidget :
823
815
shellwidget .update_time_label_visibility ()
824
- self .help .set_shell (shellwidget .shell )
825
816
self .main .last_console_plugin_focus_was_python = True
826
817
self .update_plugin_title .emit ()
827
818
@@ -842,8 +833,6 @@ def apply_plugin_settings(self, options):
842
833
icontext_o = self .get_option (icontext_n )
843
834
calltips_n = 'calltips'
844
835
calltips_o = self .get_option (calltips_n )
845
- help_n = 'connect_to_oi'
846
- help_o = CONF .get ('help' , 'connect/python_console' )
847
836
wrap_n = 'wrap'
848
837
wrap_o = self .get_option (wrap_n )
849
838
compauto_n = 'codecompletion/auto'
@@ -861,9 +850,6 @@ def apply_plugin_settings(self, options):
861
850
shellwidget .set_icontext_visible (icontext_o )
862
851
if calltips_n in options :
863
852
shellwidget .shell .set_calltips (calltips_o )
864
- if help_n in options :
865
- if isinstance (shellwidget , ExternalPythonShell ):
866
- shellwidget .shell .set_help_enabled (help_o )
867
853
if wrap_n in options :
868
854
shellwidget .shell .toggle_wrap_mode (wrap_o )
869
855
if compauto_n in options :
0 commit comments