Commits

Yuya Nishihara committed 0dc69a3

filedata: add brief comment why limiting by the max line length

  • Participants
  • Parent commits e8ada1a
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/filedata.py

             if '\0' in data or ctx.isStandin(wfile):
                 self.error = p + _('File is binary')
             elif exceedsMaxLineLength(data):
+                # it's incredibly slow to render long line by QScintilla
                 self.error = p + \
                     _('File may be binary (maximum line length exceeded)')
             if self.error: