Debugger/DebugUI.py

branch
BgService
changeset 3442
927186c0d409
parent 3145
a9de05d4a22f
child 3456
96232974dcdb
equal deleted inserted replaced
3422:ecfe8271cc73 3442:927186c0d409
869 @param editor editor window 869 @param editor editor window
870 """ 870 """
871 if editor is None: 871 if editor is None:
872 return 872 return
873 873
874 if editor.isPy3File() or editor.isPy2File() or editor.isRubyFile(): 874 if editor.getPyVersion() or editor.isRubyFile():
875 if editor.curLineHasBreakpoint(): 875 if editor.curLineHasBreakpoint():
876 self.dbgEditBpAct.setEnabled(True) 876 self.dbgEditBpAct.setEnabled(True)
877 else: 877 else:
878 self.dbgEditBpAct.setEnabled(False) 878 self.dbgEditBpAct.setEnabled(False)
879 if editor.hasBreakpoints(): 879 if editor.hasBreakpoints():

eric ide

mercurial