1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-20 09:09:59 +02:00

🚧 dinglehopper: Test aligning by character while retaining segment id info

This commit is contained in:
Gerber, Mike 2020-06-11 14:56:23 +02:00
parent 55db2b713f
commit 1083dcc5b9

View file

@ -54,6 +54,7 @@ def test_align():
right_id = test2.segment_id_for_pos(right_pos) if right is not None else None right_id = test2.segment_id_for_pos(right_pos) if right is not None else None
# XXX note that deletions and inserts only produce one id + None, UI must # XXX note that deletions and inserts only produce one id + None, UI must
# support this, i.e. display for the one id produced # support this, i.e. display for the one id produced
# XXX otherwise, it should always display for BOTH ids
el = AlignmentElement(left, right, left_id, right_id) el = AlignmentElement(left, right, left_id, right_id)
alignment.append(el) alignment.append(el)
if left is not None: if left is not None: