Preferences/ConfigurationPages/EditorStylesPage.py

changeset 942
1d2a6b8509c6
parent 939
10d3a201cd27
child 945
8cd4d08fa9f6
equal deleted inserted replaced
940:0f5461fe69d4 942:1d2a6b8509c6
274 """ 274 """
275 Private slot to set the background colour of the caretline. 275 Private slot to set the background colour of the caretline.
276 """ 276 """
277 self.editorColours["CaretLineBackground"] = \ 277 self.editorColours["CaretLineBackground"] = \
278 self.selectColour(self.caretlineBackgroundButton, 278 self.selectColour(self.caretlineBackgroundButton,
279 self.editorColours["CaretLineBackground"]) 279 self.editorColours["CaretLineBackground"], True)
280 280
281 @pyqtSlot() 281 @pyqtSlot()
282 def on_selectionForegroundButton_clicked(self): 282 def on_selectionForegroundButton_clicked(self):
283 """ 283 """
284 Private slot to set the foreground colour of the selection. 284 Private slot to set the foreground colour of the selection.
292 """ 292 """
293 Private slot to set the background colour of the selection. 293 Private slot to set the background colour of the selection.
294 """ 294 """
295 self.editorColours["SelectionBackground"] = \ 295 self.editorColours["SelectionBackground"] = \
296 self.selectColour(self.selectionBackgroundButton, 296 self.selectColour(self.selectionBackgroundButton,
297 self.editorColours["SelectionBackground"]) 297 self.editorColours["SelectionBackground"], True)
298 298
299 @pyqtSlot() 299 @pyqtSlot()
300 def on_currentLineMarkerButton_clicked(self): 300 def on_currentLineMarkerButton_clicked(self):
301 """ 301 """
302 Private slot to set the colour for the highlight of the current line. 302 Private slot to set the colour for the highlight of the current line.
303 """ 303 """
304 self.editorColours["CurrentMarker"] = \ 304 self.editorColours["CurrentMarker"] = \
305 self.selectColour(self.currentLineMarkerButton, 305 self.selectColour(self.currentLineMarkerButton,
306 self.editorColours["CurrentMarker"]) 306 self.editorColours["CurrentMarker"], True)
307 307
308 @pyqtSlot() 308 @pyqtSlot()
309 def on_errorMarkerButton_clicked(self): 309 def on_errorMarkerButton_clicked(self):
310 """ 310 """
311 Private slot to set the colour for the highlight of the error line. 311 Private slot to set the colour for the highlight of the error line.
312 """ 312 """
313 self.editorColours["ErrorMarker"] = \ 313 self.editorColours["ErrorMarker"] = \
314 self.selectColour(self.errorMarkerButton, 314 self.selectColour(self.errorMarkerButton,
315 self.editorColours["ErrorMarker"]) 315 self.editorColours["ErrorMarker"], True)
316 316
317 @pyqtSlot() 317 @pyqtSlot()
318 def on_marginsForegroundButton_clicked(self): 318 def on_marginsForegroundButton_clicked(self):
319 """ 319 """
320 Private slot to set the foreground colour for the margins. 320 Private slot to set the foreground colour for the margins.

eric ide

mercurial