+ EVT_CHECKBOX(self.fixedWidthChk, wxID_STCSTYLEEDITDLGFIXEDWIDTHCHK,
+ self.OnFixedwidthchkCheckbox)
+
+ self.faceCb = wxComboBox(choices=[], id=wxID_STCSTYLEEDITDLGFACECB,
+ name='faceCb', parent=self.panel1, pos=wxPoint(17, 18),
+ size=wxSize(105, 21), style=0, validator=wxDefaultValidator,
+ value='')
+
+ self.staticText7 = wxStaticText(id=wxID_STCSTYLEEDITDLGSTATICTEXT7,
+ label='Size:', name='staticText7', parent=self.panel2,
+ pos=wxPoint(0, 0), size=wxSize(40, 13), style=0)
+
+ self.sizeCb = wxComboBox(choices=[], id=wxID_STCSTYLEEDITDLGSIZECB,
+ name='sizeCb', parent=self.panel2, pos=wxPoint(0, 17),
+ size=wxSize(91, 21), style=0, validator=wxDefaultValidator,
+ value='')
+
+ self.sizeOkBtn = wxButton(id=wxID_STCSTYLEEDITDLGSIZEOKBTN, label='ok',
+ name='sizeOkBtn', parent=self.panel2, pos=wxPoint(90, 17),
+ size=wxSize(21, 21), style=0)
+
+ self.faceOkBtn = wxButton(id=wxID_STCSTYLEEDITDLGFACEOKBTN, label='ok',
+ name='faceOkBtn', parent=self.panel1, pos=wxPoint(122, 18),
+ size=wxSize(21, 21), style=0)
+
+ self.fgColBtn = wxButton(id=wxID_STCSTYLEEDITDLGFGCOLBTN,
+ label='Foreground', name='fgColBtn', parent=self.panel3,
+ pos=wxPoint(8, 16), size=wxSize(72, 16), style=0)
+ EVT_BUTTON(self.fgColBtn, wxID_STCSTYLEEDITDLGFGCOLBTN,
+ self.OnFgcolbtnButton)
+
+ self.fgColCb = wxComboBox(choices=[], id=wxID_STCSTYLEEDITDLGFGCOLCB,
+ name='fgColCb', parent=self.panel3, pos=wxPoint(8, 32),
+ size=wxSize(89, 21), style=0, validator=wxDefaultValidator,
+ value='')
+
+ self.fgColOkBtn = wxButton(id=wxID_STCSTYLEEDITDLGFGCOLOKBTN,
+ label='ok', name='fgColOkBtn', parent=self.panel3, pos=wxPoint(96,
+ 32), size=wxSize(21, 21), style=0)
+
+ self.staticText3 = wxStaticText(id=wxID_STCSTYLEEDITDLGSTATICTEXT3,
+ label='default', name='staticText3', parent=self.panel3,
+ pos=wxPoint(100, 16), size=wxSize(37, 16), style=0)
+
+ self.fgColDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGFGCOLDEFCB,
+ label='checkBox1', name='fgColDefCb', parent=self.panel3,
+ pos=wxPoint(120, 31), size=wxSize(16, 16), style=0)
+
+ self.bgColBtn = wxButton(id=wxID_STCSTYLEEDITDLGBGCOLBTN,
+ label='Background', name='bgColBtn', parent=self.panel3,
+ pos=wxPoint(8, 56), size=wxSize(72, 16), style=0)
+ EVT_BUTTON(self.bgColBtn, wxID_STCSTYLEEDITDLGBGCOLBTN,
+ self.OnBgcolbtnButton)
+
+ self.bgColCb = wxComboBox(choices=[], id=wxID_STCSTYLEEDITDLGBGCOLCB,
+ name='bgColCb', parent=self.panel3, pos=wxPoint(8, 72),
+ size=wxSize(89, 21), style=0, validator=wxDefaultValidator,
+ value='')
+
+ self.bgColOkBtn = wxButton(id=wxID_STCSTYLEEDITDLGBGCOLOKBTN,
+ label='ok', name='bgColOkBtn', parent=self.panel3, pos=wxPoint(96,
+ 72), size=wxSize(21, 21), style=0)
+
+ self.staticBox2 = wxStaticBox(id=wxID_STCSTYLEEDITDLGSTATICBOX2,
+ label='Text attributes', name='staticBox2', parent=self.panel4,
+ pos=wxPoint(0, 0), size=wxSize(112, 99), style=0)
+ self.staticBox2.SetConstraints(LayoutAnchors(self.staticBox2, False,
+ True, True, False))
+ self.staticBox2.SetHelpText('Text attribute flags.')
+
+ self.staticText2 = wxStaticText(id=wxID_STCSTYLEEDITDLGSTATICTEXT2,
+ label='default', name='staticText2', parent=self.panel4,
+ pos=wxPoint(68, 11), size=wxSize(37, 16), style=0)
+
+ self.taBoldDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTABOLDDEFCB,
+ label='checkBox1', name='taBoldDefCb', parent=self.panel4,
+ pos=wxPoint(88, 27), size=wxSize(16, 16), style=0)
+
+ self.taItalicDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTAITALICDEFCB,
+ label='checkBox1', name='taItalicDefCb', parent=self.panel4,
+ pos=wxPoint(88, 43), size=wxSize(16, 16), style=0)
+
+ self.taUnderlinedDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTAUNDERLINEDDEFCB,
+ label='checkBox1', name='taUnderlinedDefCb', parent=self.panel4,
+ pos=wxPoint(88, 59), size=wxSize(16, 16), style=0)
+
+ self.taEOLfilledDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTAEOLFILLEDDEFCB,
+ label='checkBox1', name='taEOLfilledDefCb', parent=self.panel4,
+ pos=wxPoint(88, 75), size=wxSize(16, 16), style=0)
+
+ self.taEOLfilledCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTAEOLFILLEDCB,
+ label='EOL filled', name='taEOLfilledCb', parent=self.panel4,
+ pos=wxPoint(8, 75), size=wxSize(72, 16), style=0)
+ EVT_CHECKBOX(self.taEOLfilledCb, wxID_STCSTYLEEDITDLGTAEOLFILLEDCB,
+ self.OnTaeoffilledcbCheckbox)
+
+ self.taUnderlinedCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTAUNDERLINEDCB,
+ label='Underlined', name='taUnderlinedCb', parent=self.panel4,
+ pos=wxPoint(8, 59), size=wxSize(72, 16), style=0)
+ EVT_CHECKBOX(self.taUnderlinedCb, wxID_STCSTYLEEDITDLGTAUNDERLINEDCB,
+ self.OnTaunderlinedcbCheckbox)
+
+ self.taItalicCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTAITALICCB,
+ label='Italic', name='taItalicCb', parent=self.panel4,
+ pos=wxPoint(8, 43), size=wxSize(72, 16), style=0)
+ EVT_CHECKBOX(self.taItalicCb, wxID_STCSTYLEEDITDLGTAITALICCB,
+ self.OnTaitaliccbCheckbox)
+
+ self.taBoldCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTABOLDCB,
+ label='Bold', name='taBoldCb', parent=self.panel4, pos=wxPoint(8,
+ 27), size=wxSize(72, 16), style=0)
+ EVT_CHECKBOX(self.taBoldCb, wxID_STCSTYLEEDITDLGTABOLDCB,
+ self.OnTaboldcbCheckbox)
+
+ self.bgColDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGBGCOLDEFCB,
+ label='checkBox1', name='bgColDefCb', parent=self.panel3,
+ pos=wxPoint(120, 71), size=wxSize(16, 16), style=0)
+
+ self.staticBox1 = wxStaticBox(id=wxID_STCSTYLEEDITDLGSTATICBOX1,
+ label='Colour', name='staticBox1', parent=self.panel3,
+ pos=wxPoint(0, 0), size=wxSize(142, 99), style=0)
+ self.staticBox1.SetConstraints(LayoutAnchors(self.staticBox1, False,
+ True, True, False))
+
+ self.faceDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGFACEDEFCB,
+ label='checkBox1', name='faceDefCb', parent=self.panel1,
+ pos=wxPoint(120, 0), size=wxSize(16, 16), style=0)
+
+ self.taSizeDefCb = wxCheckBox(id=wxID_STCSTYLEEDITDLGTASIZEDEFCB,
+ label='checkBox1', name='taSizeDefCb', parent=self.panel2,
+ pos=wxPoint(88, 0), size=wxSize(16, 16), style=0)
+
+ def __init__(self, parent, langTitle, lang, configFile, STCsToUpdate=()):
+ global commonPropDefs
+ commonPropDefs = {'fore': '#888888',
+ 'size': 8,
+ 'face': wxSystemSettings_GetSystemFont(wxSYS_DEFAULT_GUI_FONT).GetFaceName()}