Debugger/DebugUI.py

branch
Py2 comp.
changeset 3456
96232974dcdb
parent 3178
f25fc1364c88
parent 3442
927186c0d409
child 3484
645c12de6b0c
equal deleted inserted replaced
3178:f25fc1364c88 3456:96232974dcdb
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