QScintilla/Editor.py

changeset 6493
b64d6d0b4175
parent 6481
9fd81275aaf2
child 6498
674ac2051e8a
equal deleted inserted replaced
6491:a6c4169e7983 6493:b64d6d0b4175
2623 # now search tasks and record them 2623 # now search tasks and record them
2624 lineIndex = -1 2624 lineIndex = -1
2625 for line in txtList: 2625 for line in txtList:
2626 lineIndex += 1 2626 lineIndex += 1
2627 shouldBreak = False 2627 shouldBreak = False
2628
2629 if line.endswith("__NO-TASK__"):
2630 # ignore potential task marker
2631 continue
2628 2632
2629 for taskType, taskMarkers in markers.items(): 2633 for taskType, taskMarkers in markers.items():
2630 for taskMarker in taskMarkers: 2634 for taskMarker in taskMarkers:
2631 index = line.find(taskMarker) 2635 index = line.find(taskMarker)
2632 if index > -1: 2636 if index > -1:

eric ide

mercurial