1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-07-01 14:40:00 +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 278e52868f
commit 5b353a2232

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
# XXX note that deletions and inserts only produce one id + None, UI must
# 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)
alignment.append(el)
if left is not None: