Preferences/PreferencesLexer.py

changeset 500
c3abc7895a01
parent 97
c4086afea02b
child 791
9ec2ac20e54e
equal deleted inserted replaced
499:622ab17a68d5 500:c3abc7895a01
109 self.defaultFonts[i] = lex.defaultFont(i) 109 self.defaultFonts[i] = lex.defaultFont(i)
110 110
111 self.ind2style[index] = i 111 self.ind2style[index] = i
112 index += 1 112 index += 1
113 113
114 self.connect(self, SIGNAL("colorChanged (const QColor&, int)"), 114 self.colorChanged.connect(self.setColor)
115 self.setColor) 115 self.eolFillChanged.connect(self.setEolFill)
116 self.connect(self, SIGNAL("eolFillChanged (bool, int)"), 116 self.fontChanged.connect(self.setFont)
117 self.setEolFill) 117 self.paperChanged.connect(self.setPaper)
118 self.connect(self, SIGNAL("fontChanged (const QFont&, int)"),
119 self.setFont)
120 self.connect(self, SIGNAL("paperChanged (const QColor&, int )"),
121 self.setPaper)
122 118
123 # read the last stored values from preferences file 119 # read the last stored values from preferences file
124 self.readSettings(Preferences.Prefs.settings, "Scintilla") 120 self.readSettings(Preferences.Prefs.settings, "Scintilla")
125 121
126 def defaultColor(self, style): 122 def defaultColor(self, style):

eric ide

mercurial