403 self.setSelectionForegroundColor( |
403 self.setSelectionForegroundColor( |
404 QApplication.palette().color(QPalette.HighlightedText)) |
404 QApplication.palette().color(QPalette.HighlightedText)) |
405 self.setSelectionToEol(Preferences.getEditor("ExtendSelectionToEol")) |
405 self.setSelectionToEol(Preferences.getEditor("ExtendSelectionToEol")) |
406 self.setCaretForegroundColor( |
406 self.setCaretForegroundColor( |
407 Preferences.getEditorColour("CaretForeground")) |
407 Preferences.getEditorColour("CaretForeground")) |
408 self.setCaretLineBackgroundColor( |
408 self.setCaretLineVisible(False) |
409 Preferences.getEditorColour("CaretLineBackground")) |
|
410 self.setCaretLineVisible(Preferences.getEditor("CaretLineVisible")) |
|
411 self.caretWidth = Preferences.getEditor("CaretWidth") |
409 self.caretWidth = Preferences.getEditor("CaretWidth") |
412 self.setCaretWidth(self.caretWidth) |
410 self.setCaretWidth(self.caretWidth) |
413 if Preferences.getShell("WrapEnabled"): |
411 if Preferences.getShell("WrapEnabled"): |
414 self.setWrapMode(QsciScintilla.WrapWord) |
412 self.setWrapMode(QsciScintilla.WrapWord) |
415 else: |
413 else: |