rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
if sipr + sisr -1 > maxRow: maxRow = sipr + sisr -1 if sipc + sisc -1 > maxCol: maxCol = sipc + sisc -1 | if sipr + sisr > maxRows: maxRows = sipr + sisr if sipc + sisc > maxCols: maxCols = sipc + sisc | 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 | fa51625e08d63fab85e7c6947d06c3d9e892317c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/fa51625e08d63fab85e7c6947d06c3d9e892317c/SizerCompanions.py |
return map(lambda l: ' | return [' | def processComment(self, textLst, idntBlock): return map(lambda l: '##%s'%l, textLst) | eb8f5b852e191f48c3016eb086eb6cb67f5bc823 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/eb8f5b852e191f48c3016eb086eb6cb67f5bc823/PySourceView.py |
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] | eb8f5b852e191f48c3016eb086eb6cb67f5bc823 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/eb8f5b852e191f48c3016eb086eb6cb67f5bc823/PySourceView.py | ||
elif hasattr(wx.Namespace, wx.word): obj = getattr(wx.Namespace, wx.word) | elif hasattr(wxNamespace, wx.word): obj = getattr(wxNamespace, wx.word) | 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 = {} | eb8f5b852e191f48c3016eb086eb6cb67f5bc823 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/eb8f5b852e191f48c3016eb086eb6cb67f5bc823/PySourceView.py |
def _init_utils(self): pass | def _init_utils(self): # generated method, don't edit pass | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py | |
parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), | parent=prnt, pos=wxPoint(567, 279), size=wxSize(493, 482), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self._init_utils() self.SetClientSize(wxSize(451, 455)) | self.SetClientSize(wxSize(485, 455)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
parent=self, pos=wxPoint(96, 28), size=wxSize(346, 21), style=0, | parent=self, pos=wxPoint(96, 28), size=wxSize(380, 21), style=0, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
true, true, true, false)) | True, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
name='elementLb', parent=self, pos=wxPoint(8, 72), size=wxSize(160, 112), style=0, validator=wxDefaultValidator) self.elementLb.SetConstraints(LayoutAnchors(self.elementLb, true, true, true, false)) | name='elementLb', parent=self, pos=wxPoint(8, 70), size=wxSize(175, 128), style=0, validator=wxDefaultValidator) self.elementLb.SetConstraints(LayoutAnchors(self.elementLb, True, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
184), size=wxSize(80, 17), style=0) | 200), size=wxSize(88, 17), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(88, 184), size=wxSize(80, 17), style=0) | pos=wxPoint(96, 200), size=wxSize(88, 17), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(96, 8), size=wxSize(366, 16), | pos=wxPoint(96, 8), size=wxSize(376, 16), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self.styleDefST.SetConstraints(LayoutAnchors(self.styleDefST, true, true, true, false)) | self.styleDefST.SetConstraints(LayoutAnchors(self.styleDefST, True, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
name='staticLine1', parent=self, pos=wxPoint(48, 62), size=wxSize(120, 2), style=wxLI_HORIZONTAL) self.staticLine1.SetConstraints(LayoutAnchors(self.staticLine1, true, true, true, false)) | name='staticLine1', parent=self, pos=wxPoint(48, 64), size=wxSize(135, 0), style=wxLI_HORIZONTAL) self.staticLine1.SetConstraints(LayoutAnchors(self.staticLine1, True, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
parent=self, pos=wxPoint(176, 56), size=wxSize(146, 104), | parent=self, pos=wxPoint(199, 56), size=wxSize(160, 120), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self.panel3.SetConstraints(LayoutAnchors(self.panel3, false, true, true, false)) | self.panel3.SetConstraints(LayoutAnchors(self.panel3, False, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
parent=self, pos=wxPoint(330, 56), size=wxSize(114, 104), | parent=self, pos=wxPoint(364, 56), size=wxSize(114, 120), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self.panel4.SetConstraints(LayoutAnchors(self.panel4, false, true, true, false)) | self.panel4.SetConstraints(LayoutAnchors(self.panel4, False, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
parent=self, pos=wxPoint(176, 161), size=wxSize(143, 40), | parent=self, pos=wxPoint(202, 177), size=wxSize(149, 40), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self.panel1.SetConstraints(LayoutAnchors(self.panel1, false, true, true, false)) | self.panel1.SetConstraints(LayoutAnchors(self.panel1, False, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
parent=self, pos=wxPoint(330, 162), size=wxSize(112, 40), | parent=self, pos=wxPoint(364, 178), size=wxSize(112, 40), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self.panel2.SetConstraints(LayoutAnchors(self.panel2, false, true, true, false)) | self.panel2.SetConstraints(LayoutAnchors(self.panel2, False, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
parent=self, pos=wxPoint(8, 208), size=wxSize(435, 207), | parent=self, pos=wxPoint(8, 224), size=wxSize(469, 191), | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
self.stc.SetConstraints(LayoutAnchors(self.stc, true, true, true, true)) | self.stc.SetConstraints(LayoutAnchors(self.stc, True, True, True, True)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
name='okBtn', parent=self, pos=wxPoint(282, 423), size=wxSize(75, | name='okBtn', parent=self, pos=wxPoint(316, 423), size=wxSize(75, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
label='Cancel', name='cancelBtn', parent=self, pos=wxPoint(366, | label='Cancel', name='cancelBtn', parent=self, pos=wxPoint(400, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
23), size=wxSize(13, 19), style=0) | 23), size=wxSize(16, 19), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
size=wxSize(105, 21), style=0, validator=wxDefaultValidator, | size=wxSize(101, 21), style=0, validator=wxDefaultValidator, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
size=wxSize(91, 21), style=0, validator=wxDefaultValidator, | size=wxSize(80, 21), style=0, validator=wxDefaultValidator, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
name='sizeOkBtn', parent=self.panel2, pos=wxPoint(90, 17), size=wxSize(21, 21), style=0) | name='sizeOkBtn', parent=self.panel2, pos=wxPoint(80, 17), size=wxSize(32, 21), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
name='faceOkBtn', parent=self.panel1, pos=wxPoint(122, 18), size=wxSize(21, 21), style=0) | name='faceOkBtn', parent=self.panel1, pos=wxPoint(117, 18), size=wxSize(32, 21), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(8, 16), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 16), size=wxSize(96, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
size=wxSize(89, 21), style=0, validator=wxDefaultValidator, | size=wxSize(96, 21), style=0, validator=wxDefaultValidator, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
label='ok', name='fgColOkBtn', parent=self.panel3, pos=wxPoint(96, 32), size=wxSize(21, 21), style=0) | label='ok', name='fgColOkBtn', parent=self.panel3, pos=wxPoint(104, 32), size=wxSize(32, 21), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(100, 16), size=wxSize(37, 16), style=0) | pos=wxPoint(112, 15), size=wxSize(38, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(120, 31), size=wxSize(16, 16), style=0) | pos=wxPoint(136, 31), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(8, 56), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 64), size=wxSize(96, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
name='bgColCb', parent=self.panel3, pos=wxPoint(8, 72), size=wxSize(89, 21), style=0, validator=wxDefaultValidator, | name='bgColCb', parent=self.panel3, pos=wxPoint(8, 80), size=wxSize(96, 21), style=0, validator=wxDefaultValidator, | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
label='ok', name='bgColOkBtn', parent=self.panel3, pos=wxPoint(96, 72), size=wxSize(21, 21), style=0) | label='ok', name='bgColOkBtn', parent=self.panel3, pos=wxPoint(104, 80), size=wxSize(32, 21), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(0, 0), size=wxSize(112, 99), style=0) self.staticBox2.SetConstraints(LayoutAnchors(self.staticBox2, false, true, true, false)) | pos=wxPoint(0, 0), size=wxSize(112, 112), style=0) self.staticBox2.SetConstraints(LayoutAnchors(self.staticBox2, False, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(68, 11), size=wxSize(37, 16), style=0) | pos=wxPoint(64, 12), size=wxSize(40, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(88, 43), size=wxSize(16, 16), style=0) | pos=wxPoint(88, 48), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(88, 59), size=wxSize(16, 16), style=0) | pos=wxPoint(88, 70), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(88, 75), size=wxSize(16, 16), style=0) | pos=wxPoint(88, 92), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(8, 75), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 92), size=wxSize(80, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(8, 59), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 70), size=wxSize(80, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(8, 43), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 48), size=wxSize(80, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
27), size=wxSize(72, 16), style=0) | 27), size=wxSize(80, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(120, 71), size=wxSize(16, 16), style=0) | pos=wxPoint(136, 79), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(0, 0), size=wxSize(142, 99), style=0) self.staticBox1.SetConstraints(LayoutAnchors(self.staticBox1, false, true, true, false)) | pos=wxPoint(0, 0), size=wxSize(157, 112), style=0) self.staticBox1.SetConstraints(LayoutAnchors(self.staticBox1, False, True, True, False)) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(120, 0), size=wxSize(16, 16), style=0) | pos=wxPoint(117, 0), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
pos=wxPoint(88, 0), size=wxSize(16, 16), style=0) | pos=wxPoint(80, 0), size=wxSize(16, 16), style=0) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
if wxPlatform == '__WXMSW__': self.style_font_size = 8 else: self.style_font_size = 10 | self.style_font_size = 8 self.style_font_size = platformSettings[wxPlatform][1] | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py | ||
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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py | ||
commonDefsFile = 'common.defs.%s'%(wxPlatform == '__WXMSW__' and 'msw' or 'gtk') | commonDefsFile = 'common.defs.%s'%(platformSettings[wxPlatform][0]) | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
if home: home = os.path.join(home, '.boa') | if home: home = os.path.join(home, '.boa-constructor') if not os.path.exists(home): home = '.' else: home = '.' | 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... | aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py |
filename = os.path.normcase(self.model.assertLocalFile()) | filename = self.model.assertLocalFile() | def addBreakPoint(self, lineNo, temp=0, notify_debugger=1): filename = os.path.normcase(self.model.assertLocalFile()) | 9db2a7ae55d7a9c59588889c6003f42c4921e5d4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/9db2a7ae55d7a9c59588889c6003f42c4921e5d4/PySourceView.py |
def addBreakPoint(self, lineNo, temp=0, notify_debugger=1): filename = os.path.normcase(self.model.assertLocalFile()) | 9db2a7ae55d7a9c59588889c6003f42c4921e5d4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/9db2a7ae55d7a9c59588889c6003f42c4921e5d4/PySourceView.py | ||
def moveBreakpoint(self, bpt, delta): #print 'moving break', delta, bpt.bplist # remove index = (bpt.file, bpt.line) | 9db2a7ae55d7a9c59588889c6003f42c4921e5d4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/9db2a7ae55d7a9c59588889c6003f42c4921e5d4/PySourceView.py | ||
self.cache = [] | self.cache = {} def destroy(self): 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 = [] | 19e2f43a851b0f5822ffceb6297ed01a369bc1a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/19e2f43a851b0f5822ffceb6297ed01a369bc1a8/FTPExplorer.py |
Utils.ShowMessage(None, 'FTP Error', resp) | Utils.ShowMessage(None, 'FTP Error', str(resp)) | 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... | 19e2f43a851b0f5822ffceb6297ed01a369bc1a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/19e2f43a851b0f5822ffceb6297ed01a369bc1a8/FTPExplorer.py |
props['host'], props['port']) | props['host'], props['port'], props['passive']) | 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) | 19e2f43a851b0f5822ffceb6297ed01a369bc1a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/19e2f43a851b0f5822ffceb6297ed01a369bc1a8/FTPExplorer.py |
wx.OK | wxCENTER | wx.ICON_ERROR, self) | wx.OK | wx.CENTER | 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) | ccc85ec27d8892918c1baf34d7c8aa85e5beefb1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/ccc85ec27d8892918c1baf34d7c8aa85e5beefb1/Inspector.py |
currMeth.append(line) | try: currMeth.append(line) except: print 'PASTE ERROR', input | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py |
if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py | ||
print 'coll init meth', meth[0] | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py | |
newName = self.newObjName(clss) | newName = self.newObjName(clss, newNames) newNames.append(newName) | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py |
def newObjName(self, className): | def newObjName(self, className, additionalNames = None): | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py |
if additionalNames is None: additionalNames = [] | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py | |
return Utils.getValidName(self.objects.keys(), newName) | return Utils.getValidName(self.objects.keys() + additionalNames, newName) | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py |
def newObject(self, objClass, objCompanionClass): """ At design time, when adding a new ctrl from the palette, create and register given control and companion. """ | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py | ||
('Escape', wxID_CTRLPARENT)): | ('Escape', wxID_CTRLPARENT), ('Copy', wxID_EDITCOPY), ('Paste', wxID_EDITPASTE)): | 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... | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py |
self.inspector.OnDelete(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) | def OnControlDelete(self, event): self.inspector.OnDelete(event) | 488b5f1c8dcc10464873817c6db3cfc8a5ec6446 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/488b5f1c8dcc10464873817c6db3cfc8a5ec6446/Designer.py |
except socket.error: | except (EmptyResponseError, socket.error): | def call_exit(server=server): try: server.exit_debugger() except socket.error: # Already stopped. pass | 35004a7e4e371b75dac1a1d2548e4971fb2a0efc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/35004a7e4e371b75dac1a1d2548e4971fb2a0efc/ChildProcessClient.py |
self.SetIcon(wxIcon(toPyPath('Images/Icons/Boa.ico'), wxBITMAP_TYPE_ICO)) | self.SetIcon(IS.load('Images/Icons/Boa.ico')) | def __init__(self, parent, id, app): | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
conf = ConfigParser() if wxPlatform == '__WXMSW__': plat = 'msw' else: plat = 'gtk' conf.read(Preferences.pyPath+'/Explorer.'+plat+'.cfg') | conf = Utils.createAndReadConfig('Explorer') | def __init__(self, parent, id, app): | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
self.zopePalettePage = ZopePalettePage(self.palette, PaletteMapping.zopePalette[0], 'Images/Palette/'+transpSF, self, self.widgetSet, self.senders, self.componentSB) self.zopePalettePage.addToggleBitmaps(PaletteMapping.zopePalette[2], None, None) self.palettePages.append(self.zopePalettePage) | if conf.has_option('explorer', 'zope'): self.zopePalettePage = ZopePalettePage(self.palette, PaletteMapping.zopePalette[0], 'Images/Palette/'+transpSF, self, self.widgetSet, self.senders, self.componentSB) self.zopePalettePage.addToggleBitmaps(PaletteMapping.zopePalette[2], None, None) self.palettePages.append(self.zop... | def __init__(self, parent, id, app): | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
def addTool(self, filename, text, help, func): | def addTool(self, filename, text, help, func, toggle = false): | 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) | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
shortHelpString = text) | shortHelpString = text, isToggle = toggle) | 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) | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
palette.addTool('Images/Shared/Compose', 'Compose', ' ', palette.OnHelpToolClick) palette.addTool('Images/Shared/Inherit', 'Inherit', ' ', palette.OnHelpToolClick) | cId = palette.addTool('Images/Shared/Compose', 'Compose', ' ', palette.OnComposeClick, toggle = true) iId = palette.addTool('Images/Shared/Inherit', 'Inherit', ' ', palette.OnInheritClick, toggle = true) palette.toolBar.ToggleTool(cId, true) palette.toolBar.EnableTool(iId, false) | 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) | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
def __del__(self): print '__del__', self.__class__.__name__ | def __del__(self): print '__del__', self.__class__.__name__ | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py | |
EVT_BUTTON(self,mID,clickEvt) | EVT_BUTTON(self, mID, clickEvt) | 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)) | be1b141c275675f550c9a40fd83aba0f83695a75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/be1b141c275675f550c9a40fd83aba0f83695a75/Palette.py |
def main(): | 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... | 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 ... | 131e210448e4ddbb197908c4ebad8aa68278604b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/131e210448e4ddbb197908c4ebad8aa68278604b/ChildProcessServer.py |
global auth_str | 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 ... | 131e210448e4ddbb197908c4ebad8aa68278604b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/131e210448e4ddbb197908c4ebad8aa68278604b/ChildProcessServer.py | |
def startDaemon(target, args=()): t = threading.Thread(target=target, args=args) t.setDaemon(1) t.start() | 131e210448e4ddbb197908c4ebad8aa68278604b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/131e210448e4ddbb197908c4ebad8aa68278604b/ChildProcessServer.py | ||
global serving; serving = 1 while serving: | while serving: | def startDaemon(target, args=()): t = threading.Thread(target=target, args=args) t.setDaemon(1) t.start() | 131e210448e4ddbb197908c4ebad8aa68278604b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/131e210448e4ddbb197908c4ebad8aa68278604b/ChildProcessServer.py |
[wxID_FINDREPLACEDLG, wxID_FINDREPLACEDLGBTNBROWSE, wxID_FINDREPLACEDLGBTNBUILDINFIND, wxID_FINDREPLACEDLGBTNFINDINFILES, wxID_FINDREPLACEDLGCANCELBTN, wxID_FINDREPLACEDLGCASESENSITIVECB, wxID_FINDREPLACEDLGCHKRECURSIVESEARCH, wxID_FINDREPLACEDLGCLOSEONFOUNDCB, wxID_FINDREPLACEDLGCMBFILEFILTER, wxID_FINDREPLACEDLGCMBFO... | [wxID_FINDREPLACEDLG, wxID_FINDREPLACEDLGBTNBROWSE, wxID_FINDREPLACEDLGBTNBUILDINFIND, wxID_FINDREPLACEDLGBTNFINDINFILES, wxID_FINDREPLACEDLGCANCELBTN, wxID_FINDREPLACEDLGCASESENSITIVECB, wxID_FINDREPLACEDLGCHKRECURSIVESEARCH, wxID_FINDREPLACEDLGCLOSEONFOUNDCB, wxID_FINDREPLACEDLGCMBFILEFILTER, wxID_FINDREPLACEDLGCMBFO... | 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) | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
def _init_utils(self): pass | def _init_utils(self): # generated method, don't edit pass | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py | |
parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), | parent=prnt, pos=wxPoint(323, 272), size=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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
self._init_utils() | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py | |
name='findTxt', parent=self, pos=wxPoint(88, 4), size=wxSize(249, 21), style=0, value='') | name='findTxt', parent=self, pos=wxPoint(88, 4), size=wxSize(239, 23), style=0, value='') | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
pos=wxPoint(88, 28), size=wxSize(269, 21), style=0, value='') | pos=wxPoint(88, 28), size=wxSize(269, 23), style=0, value='') | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
size=wxSize(249, 21), style=0, validator=wxDefaultValidator, | size=wxSize(239, 23), style=0, validator=wxDefaultValidator, | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
parent=self, pos=wxPoint(88, 74), size=wxSize(269, 21), style=0, | parent=self, pos=wxPoint(88, 74), size=wxSize(269, 23), style=0, | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
point=wxPoint(8, 103), size=wxSize(112, 64), | point=wxPoint(8, 103), size=wxSize(104, 64), | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
size=wxSize(112, 64), style=wxRA_SPECIFY_COLS, | size=wxSize(104, 64), style=wxRA_SPECIFY_COLS, | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
label='Options', name='optionsSB', parent=self, pos=wxPoint(128, 103), size=wxSize(136, 158), style=0) | label='Options', name='optionsSB', parent=self, pos=wxPoint(120, 103), size=wxSize(144, 158), style=0) | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
pos=wxPoint(136, 120), size=wxSize(120, 19), style=0) | pos=wxPoint(125, 120), size=wxSize(120, 19), style=0) | 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... | 42b28de011a20c147bdfbed99afa82dcd0124408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/42b28de011a20c147bdfbed99afa82dcd0124408/FindReplaceDlg.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.