bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def getNumRowsCols(self, childCompanion): maxRow = 0 maxCol = 0 for si in self.control.GetChildren(): (sipr, sipc), (sisr, sisc) = si.GetPos(), si.GetSpan() if sipr + sisr -1 > maxRow: maxRow = sipr + sisr -1 if sipc + sisc -1 > maxCol: maxCol = sipc + sisc -1 return maxRows, maxCols | def getNumRowsCols(self, childCompanion): maxRow = 0 maxCol = 0 for si in self.control.GetChildren(): (sipr, sipc), (sisr, sisc) = si.GetPos(), si.GetSpan() if sipr + sisr > maxRows: maxRows = sipr + sisr if sipc + sisc > maxCols: maxCols = sipc + sisc return maxRows, maxCols | 28,800 |
def processComment(self, textLst, idntBlock): return map(lambda l: '##%s'%l, textLst) | def processComment(self, textLst, idntBlock): return map(lambda l: '##%s'%l, textLst) | 28,801 |
def processIndent(self, textLst, idntBlock): #return map(lambda l, idntBlock=idntBlock: '%s%s'%(idntBlock, l), textLst) return ['%s%s'%(idntBlock, t) for t in textLst] | defprocessIndent(self,textLst,idntBlock):#returnmap(lambdal,idntBlock=idntBlock:'%s%s'%(idntBlock,l),textLst)return['%s%s'%(idntBlock,t)fortintextLst] | 28,802 |
def handleBrwsRuntimeGlobals(self, word, currLineNo): # The current runtime values of the shell is inspected # as well as the wxPython namespaces if self.model.editor.shell: shellLocals = self.model.editor.shell.getShellLocals() else: shellLocals = {} | def handleBrwsRuntimeGlobals(self, word, currLineNo): # The current runtime values of the shell is inspected # as well as the wxPython namespaces if self.model.editor.shell: shellLocals = self.model.editor.shell.getShellLocals() else: shellLocals = {} | 28,803 |
def _init_utils(self): # generated method, don't edit pass | def _init_utils(self): # generated method, don't edit pass | 28,804 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(567, 279), size=wxSize(493, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,805 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self.SetClientSize(wxSize(485, 455)) self.... | 28,806 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,807 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,808 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,809 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,810 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,811 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,812 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,813 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,814 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,815 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,816 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,817 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,818 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,819 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,820 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,821 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,822 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,823 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,824 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,825 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,826 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,827 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,828 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,829 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,830 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,831 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,832 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,833 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,834 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,835 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,836 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,837 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,838 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,839 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,840 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,841 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,842 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,843 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,844 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,845 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,846 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,847 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,848 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,849 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,850 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,851 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... | 28,852 |
def __init__(self, parent, langTitle, lang, configFile, STCsToUpdate=()): self.stc_title = 'wxStyledTextCtrl Style Editor' self.stc_title = 'wxStyledTextCtrl Style Editor - %s' % langTitle if wxPlatform == '__WXMSW__': self.style_font_size = 8 else: self.style_font_size = 10 self._init_ctrls(parent) self.lang = lang se... | def __init__(self, parent, langTitle, lang, configFile, STCsToUpdate=()): self.stc_title = 'wxStyledTextCtrl Style Editor' self.stc_title = 'wxStyledTextCtrl Style Editor - %s' % langTitle self.style_font_size = 8 self.style_font_size = platformSettings[wxPlatform][1] self._init_ctrls(parent) self.lang = lang self.conf... | 28,853 |
def setSTCStyles(stc, styles, styleIdNames, commonDefs, lang, lexer, keywords): #wxLogMessage('Set style') styleDict = {} styleNumIdxMap = {} # build style dict based on given styles for numStyle in styles: num, style = parsePropLine(numStyle) styleDict[num] = style # Add blank style entries for undefined styles newS... | defsetSTCStyles(stc,styles,styleIdNames,commonDefs,lang,lexer,keywords):#wxLogMessage('Setstyle')styleDict={}styleNumIdxMap={}#buildstyledictbasedongivenstylesfornumStyleinstyles:num,style=parsePropLine(numStyle)styleDict[num]=style#AddblankstyleentriesforundefinedstylesnewStyles=[]styleItems=styleIdNames.items()+setti... | 28,854 |
def setSTCStyles(stc, styles, styleIdNames, commonDefs, lang, lexer, keywords): #wxLogMessage('Set style') styleDict = {} styleNumIdxMap = {} # build style dict based on given styles for numStyle in styles: num, style = parsePropLine(numStyle) styleDict[num] = style # Add blank style entries for undefined styles newS... | defsetSTCStyles(stc,styles,styleIdNames,commonDefs,lang,lexer,keywords):#wxLogMessage('Setstyle')styleDict={}styleNumIdxMap={}#buildstyledictbasedongivenstylesfornumStyleinstyles:num,style=parsePropLine(numStyle)styleDict[num]=style#AddblankstyleentriesforundefinedstylesnewStyles=[]styleItems=styleIdNames.items()+setti... | 28,855 |
def setSTCStyles(stc, styles, styleIdNames, commonDefs, lang, lexer, keywords): #wxLogMessage('Set style') styleDict = {} styleNumIdxMap = {} # build style dict based on given styles for numStyle in styles: num, style = parsePropLine(numStyle) styleDict[num] = style # Add blank style entries for undefined styles newS... | def setSTCStyles(stc, styles, styleIdNames, commonDefs, lang, lexer, keywords): #wxLogMessage('Set style') styleDict = {} styleNumIdxMap = {} # build style dict based on given styles for numStyle in styles: num, style = parsePropLine(numStyle) styleDict[num] = style # Add blank style entries for undefined styles newS... | 28,856 |
def initSTC(stc, config, lang): """ Main module entry point. Initialise a wxSTC from given config file.""" (cfg, commonDefs, styleIdNames, styles, predefStyleGroupNames, predefStyleGroups, otherLangStyleGroupNames, otherLangStyleGroups, displaySrc, lexer, keywords, braceInfo) = initFromConfig(config, lang) setSTCStyle... | def initSTC(stc, config, lang): """ Main module entry point. Initialise a wxSTC from given config file.""" (cfg, commonDefs, styleIdNames, styles, predefStyleGroupNames, predefStyleGroups, otherLangStyleGroupNames, otherLangStyleGroups, displaySrc, lexer, keywords, braceInfo) = initFromConfig(config, lang) setSTCStyle... | 28,857 |
def addBreakPoint(self, lineNo, temp=0, notify_debugger=1): filename = os.path.normcase(self.model.assertLocalFile()) | def addBreakPoint(self, lineNo, temp=0, notify_debugger=1): filename = os.path.normcase(self.model.assertLocalFile()) | 28,858 |
def addBreakPoint(self, lineNo, temp=0, notify_debugger=1): filename = os.path.normcase(self.model.assertLocalFile()) | defaddBreakPoint(self,lineNo,temp=0,notify_debugger=1):filename=os.path.normcase(self.model.assertLocalFile()) | 28,859 |
def moveBreakpoint(self, bpt, delta): #print 'moving break', delta, bpt.bplist # remove index = (bpt.file, bpt.line) | defmoveBreakpoint(self,bpt,delta):#print'movingbreak',delta,bpt.bplist#removeindex=(bpt.file,bpt.line) | 28,860 |
def __init__(self, name, props, resourcepath, clipboard, isFolder, imgIdx, parent, ftpConn, ftpObj, root): ExplorerNodes.ExplorerNode.__init__(self, name, resourcepath, clipboard, imgIdx, parent, props) self.isFolder = isFolder self.ftpConn = ftpConn self.ftpObj = ftpObj self.root = root self.cache = [] | def __init__(self, name, props, resourcepath, clipboard, isFolder, imgIdx, parent, ftpConn, ftpObj, root): ExplorerNodes.ExplorerNode.__init__(self, name, resourcepath, clipboard, imgIdx, parent, props) self.isFolder = isFolder self.ftpConn = ftpConn self.ftpObj = ftpObj self.root = root self.cache = [] | 28,861 |
def openList(self, root = None): try: items = self.ftpConn.dir(self.ftpObj.whole_name()) except ftplib.error_perm, resp: Utils.ShowMessage(None, 'FTP Error', resp) raise if not root: root = self.root self.cache = {} result = [] for obj in items: if obj.name in ('', '.', '..'): continue z = self.createChildNode(obj, se... | def openList(self, root = None): try: items = self.ftpConn.dir(self.ftpObj.whole_name()) except ftplib.error_perm, resp: Utils.ShowMessage(None, 'FTP Error', str(resp)) raise if not root: root = self.root self.cache = {} result = [] for obj in items: if obj.name in ('', '.', '..'): continue z = self.createChildNode(ob... | 28,862 |
def openList(self): if not self.connected: try: props = self.properties self.ftpConn.connect(props['username'], props['passwd'], props['host'], props['port']) except Exception, message: wxMessageBox(`message.args`, 'Error on connect') raise return FTPItemNode.openList(self, self) | def openList(self): if not self.connected: try: props = self.properties self.ftpConn.connect(props['username'], props['passwd'], props['host'], props['port'], props['passive']) except Exception, message: wxMessageBox(`message.args`, 'Error on connect') raise return FTPItemNode.openList(self, self) | 28,863 |
def OnEnter(self, event): for nv in self.nameValues: if nv.editing: try: nv.propEditor.inspectorPost(False) except Exception, err: wx.MessageBox('%s: %s'%(err.__class__, str(err)), 'Unable to post, please correct.', wx.OK | wxCENTER | wx.ICON_ERROR, self) | def OnEnter(self, event): for nv in self.nameValues: if nv.editing: try: nv.propEditor.inspectorPost(False) except Exception, err: wx.MessageBox('%s: %s'%(err.__class__, str(err)), 'Unable to post, please correct.', wx.OK | wxCENTER | wx.ICON_ERROR, self) | 28,864 |
if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 28,865 |
if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | if line[:8] == 'def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 28,866 |
if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 28,867 |
if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 28,868 |
def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | def newObjName(self, className, additionalNames = None): """ Return a name for a control unique in the scope of the model. """ | 28,869 |
def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | def if additionalNames is None: additionalNames = [] newObjName(self, if additionalNames is None: additionalNames = [] className): if additionalNames is None: additionalNames = [] """ if additionalNames is None: additionalNames = [] Return if additionalNames is None: additionalNames = [] a if additionalNames is None: a... | 28,870 |
def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | 28,871 |
def newObject(self, objClass, objCompanionClass): """ At design time, when adding a new ctrl from the palette, create and register given control and companion. """ | defnewObject(self,objClass,objCompanionClass):"""Atdesigntime,whenaddinganewctrlfromthepalette,createandregistergivencontrolandcompanion.""" | 28,872 |
def __init__(self, parent, inspector, model, compPal, companionClass, dataView): args = self.setupArgs(model.main, model.mainConstr.params, ['parent', 'id'], parent, companionClass) wxFrame.__init__(self, parent, -1, args['title'], args['pos'], args['size'])#, args['style'], args['name']) InspectableObjectCollectionVie... | def __init__(self, parent, inspector, model, compPal, companionClass, dataView): args = self.setupArgs(model.main, model.mainConstr.params, ['parent', 'id'], parent, companionClass) wxFrame.__init__(self, parent, -1, args['title'], args['pos'], args['size'])#, args['style'], args['name']) InspectableObjectCollectionVie... | 28,873 |
def OnControlDelete(self, event): self.inspector.OnDelete(event) | def OnControlDelete(self, event): print 'OnControlDelete' ctrls = [] if self.selection: ctrls = [self.selection.name] elif self.multiSelection: ctrls = map(lambda sel: sel.name, self.multiSelection) for ctrlName in ctrls: self.deleteCtrl(ctrlName) | 28,874 |
def call_exit(server=server): try: server.exit_debugger() except socket.error: # Already stopped. pass | def call_exit(server=server): try: server.exit_debugger() except (EmptyResponseError, socket.error): # Already stopped. pass | 28,875 |
def __init__(self, parent, id, app): | def __init__(self, parent, id, app): | 28,876 |
def __init__(self, parent, id, app): | def __init__(self, parent, id, app): | 28,877 |
def __init__(self, parent, id, app): | def __init__(self, parent, id, app): | 28,878 |
def addTool(self, filename, text, help, func): mID = wxNewId() self.toolBar.AddTool(mID, IS.load(filename+'.bmp'), #wxBitmap(filename+'.bmp', wxBITMAP_TYPE_BMP), shortHelpString = text) EVT_TOOL(self, mID, func) | def addTool(self, filename, text, help, func, toggle = false): mID = wxNewId() self.toolBar.AddTool(mID, IS.load(filename+'.bmp'), #wxBitmap(filename+'.bmp', wxBITMAP_TYPE_BMP), shortHelpString = text) EVT_TOOL(self, mID, func) | 28,879 |
def addTool(self, filename, text, help, func): mID = wxNewId() self.toolBar.AddTool(mID, IS.load(filename+'.bmp'), #wxBitmap(filename+'.bmp', wxBITMAP_TYPE_BMP), shortHelpString = text) EVT_TOOL(self, mID, func) | def addTool(self, filename, text, help, func): mID = wxNewId() self.toolBar.AddTool(mID, IS.load(filename+'.bmp'), #wxBitmap(filename+'.bmp', wxBITMAP_TYPE_BMP), shortHelpString = text, isToggle = toggle) EVT_TOOL(self, mID, func) | 28,880 |
def __init__(self, palette): wID = wxNewId() self.selComp = wxCheckBox(palette.toolBar, wID, ' (Nothing selected)', size = wxSize(120, 20)) self.selComp.Enable(false) EVT_CHECKBOX(self.selComp, wID, palette.OnUncheckComponent) palette.toolBar.AddControl(self.selComp) | def __init__(self, palette): wID = wxNewId() self.selComp = wxCheckBox(palette.toolBar, wID, ' (Nothing selected)', size = wxSize(120, 20)) self.selComp.Enable(false) EVT_CHECKBOX(self.selComp, wID, palette.OnUncheckComponent) palette.toolBar.AddControl(self.selComp) | 28,881 |
def __del__(self): print '__del__', self.__class__.__name__ | 28,882 | |
def addButton(self, widgetName, wxClass, constrClass, clickEvt, hintFunc, hintLeaveFunc, btnType): bmp = self.getButtonBmp(widgetName, wxClass) width = bmp.GetWidth() + 7 height = bmp.GetHeight() + 7 mID = NewId() newButton = btnType(self, mID, None, wxPoint(self.posX, self.posY), wxSize(width, height)) | def addButton(self, widgetName, wxClass, constrClass, clickEvt, hintFunc, hintLeaveFunc, btnType): bmp = self.getButtonBmp(widgetName, wxClass) width = bmp.GetWidth() + 7 height = bmp.GetHeight() + 7 mID = NewId() newButton = btnType(self, mID, None, wxPoint(self.posX, self.posY), wxSize(width, height)) | 28,883 |
def main(): # Create an authentication string, always 40 characters. global auth_str auth_str = sha.new(str(whrandom.random())).hexdigest() # port is 0 to allocate any port. server = TaskingTCPServer(('', 0), DebugRequestHandler) port = int(server.socket.getsockname()[1]) # Tell the client what port to connect to and ... | def main(args=None): global auth_str, debug_server, connection, serving if args is None: args = sys.argv[1:] if args and '--zope' in args: from ZopeScriptDebugServer import ZopeScriptDebugServer debug_server = ZopeScriptDebugServer() else: debug_server = DebugServer() connection = DebuggerConnection(debug_server) con... | 28,884 |
def main(): # Create an authentication string, always 40 characters. global auth_str auth_str = sha.new(str(whrandom.random())).hexdigest() # port is 0 to allocate any port. server = TaskingTCPServer(('', 0), DebugRequestHandler) port = int(server.socket.getsockname()[1]) # Tell the client what port to connect to and ... | def main(): # Create an authentication string, always 40 characters. auth_str = sha.new(str(whrandom.random())).hexdigest() # port is 0 to allocate any port. server = TaskingTCPServer(('', 0), DebugRequestHandler) port = int(server.socket.getsockname()[1]) # Tell the client what port to connect to and the auth string ... | 28,885 |
def startDaemon(target, args=()): t = threading.Thread(target=target, args=args) t.setDaemon(1) t.start() | defstartDaemon(target,args=()):t=threading.Thread(target=target,args=args)t.setDaemon(1)t.start() | 28,886 |
def startDaemon(target, args=()): t = threading.Thread(target=target, args=args) t.setDaemon(1) t.start() | def startDaemon(target, args=()): t = threading.Thread(target=target, args=args) t.setDaemon(1) t.start() | 28,887 |
def findAgain(parent, finder, view): if len(finder.findHistory) == 1: find(parent, finder, view) else: try: finder.findNextInSource(view) except FindError, err: wxMessageBox(str(err), 'Find/Replace', wxOK | wxICON_INFORMATION, view) | def findAgain(parent, finder, view): if len(finder.findHistory) == 1: find(parent, finder, view) else: try: finder.findNextInSource(view) except FindError, err: wxMessageBox(str(err), 'Find/Replace', wxOK | wxICON_INFORMATION, view) | 28,888 |
def _init_utils(self): # generated method, don't edit pass | def _init_utils(self): # generated method, don't edit pass | 28,889 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(323, 272), size=wxSize(364, 273), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,890 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273)) | 28,891 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,892 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,893 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,894 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,895 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,896 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,897 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,898 |
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | 28,899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.