This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit 8079069d authored by Steve Borho's avatar Steve Borho
Browse files

fileview: add explanation to commented out diff block handler

parent 5e7c8076f8db
......@@ -480,12 +480,13 @@ class HgFileView(QFrame):
self.sci.markerAdd(i, self.markertriangle)
elif tag == 'delete':
# You cannot effectively show deleted lines in a single
# pane display. They do not exist.
# self.block['left'].addBlock('-', alo, ahi)
# self.diffblock.addBlock('-', alo, ahi, blo, bhi)
# w = self.viewers['left']
# self._diffs.append([blo, bhi])
# self.blk.addBlock('-', blo, bhi)
# for i in range(alo, ahi):
# w.markerAdd(i, self.markerminus)
# self.sci.markerAdd(i, self.markerminus)
elif tag == 'insert':
self._diffs.append([blo, bhi])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment