1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #1102 on hold

Source code highlighting breaks when code is indented

Anonymous created an issue

I had a python module that I wanted to convert to a class. And (as you know) to specify a python class, you declare a class name and indent the code under it. But when indented, the visual diff totally breaks, it cant correspond the class's functions and the old functions because of the indentation.

I dont know if it is a bug of the diff highlighter or a limitation of the underlying diff-ing algorithm.

Comments (3)

  1. Log in to comment