114 italic = font.italic() |
114 italic = font.italic() |
115 underline = font.underline() |
115 underline = font.underline() |
116 for style in rangeLow + rangeHigh: |
116 for style in rangeLow + rangeHigh: |
117 self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f) |
117 self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f) |
118 self.SendScintilla(QsciScintilla.SCI_STYLESETSIZE, style, ps) |
118 self.SendScintilla(QsciScintilla.SCI_STYLESETSIZE, style, ps) |
119 self.SendScintilla(QsciScintilla.SCI_STYLESETWEIGHT, style, weight); |
119 self.SendScintilla(QsciScintilla.SCI_STYLESETWEIGHT, style, weight) |
120 self.SendScintilla(QsciScintilla.SCI_STYLESETITALIC, style, italic); |
120 self.SendScintilla(QsciScintilla.SCI_STYLESETITALIC, style, italic) |
121 self.SendScintilla(QsciScintilla.SCI_STYLESETUNDERLINE, style, underline); |
121 self.SendScintilla(QsciScintilla.SCI_STYLESETUNDERLINE, style, underline) |
122 |
122 |
123 def linesOnScreen(self): |
123 def linesOnScreen(self): |
124 """ |
124 """ |
125 Public method to get the amount of visible lines. |
125 Public method to get the amount of visible lines. |
126 |
126 |