QScintilla/QsciScintillaCompat.py

branch
5_3_x
changeset 2539
05a2752b476c
parent 2473
c9f484ea061b
child 2565
515d4ce27260
equal deleted inserted replaced
2536:56c4a6ee3823 2539:05a2752b476c
108 italic = font.italic() 108 italic = font.italic()
109 underline = font.underline() 109 underline = font.underline()
110 for style in rangeLow + rangeHigh: 110 for style in rangeLow + rangeHigh:
111 self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f) 111 self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f)
112 self.SendScintilla(QsciScintilla.SCI_STYLESETSIZE, style, ps) 112 self.SendScintilla(QsciScintilla.SCI_STYLESETSIZE, style, ps)
113 self.SendScintilla(QsciScintilla.SCI_STYLESETWEIGHT, style, weight); 113 self.SendScintilla(QsciScintilla.SCI_STYLESETWEIGHT, style, weight)
114 self.SendScintilla(QsciScintilla.SCI_STYLESETITALIC, style, italic); 114 self.SendScintilla(QsciScintilla.SCI_STYLESETITALIC, style, italic)
115 self.SendScintilla(QsciScintilla.SCI_STYLESETUNDERLINE, style, underline); 115 self.SendScintilla(QsciScintilla.SCI_STYLESETUNDERLINE, style, underline)
116 116
117 def linesOnScreen(self): 117 def linesOnScreen(self):
118 """ 118 """
119 Public method to get the amount of visible lines. 119 Public method to get the amount of visible lines.
120 120

eric ide

mercurial