QScintilla/Lexers/LexerPygments.py

branch
5_3_x
changeset 2656
192f4e0024c2
parent 2520
d226e801d308
child 2677
3d4277929fb3
child 2965
d133c7edd88a
child 3163
9f50365a0870
equal deleted inserted replaced
2655:cc90e8ec65a6 2656:192f4e0024c2
445 if eolLen > 1: 445 if eolLen > 1:
446 tlen += txt.count('\n') 446 tlen += txt.count('\n')
447 cpos += tlen 447 cpos += tlen
448 if tlen and cpos < textLen: 448 if tlen and cpos < textLen:
449 self.editor.setStyling(tlen, style) 449 self.editor.setStyling(tlen, style)
450 else: 450 if cpos >= textLen:
451 break 451 break
452 self.editor.startStyling(cpos, 0x3f) 452 self.editor.startStyling(cpos, 0x3f)
453 453
454 def isCommentStyle(self, style): 454 def isCommentStyle(self, style):
455 """ 455 """

eric ide

mercurial