True Human Design
 
Read Thread
◀ Back to Forum

 38 views
 2 replies

Rich Diff pane vertical alignment 2021-11-03 15:48:29
The diff pane shows 2 lines: 1 for each of the currently selected lines in the main view.

Would it be possible to allow the diff pane to align the content vertically where possible? So what I mean is if the 2 lines are very similar and only have small differences (e.g. added/removed whitespace), then align the content that is the same by adding invisible padding to the line that is 'short', e.g.

Currently:
Line 1: this is not a test ok
Line 2: this is another test ok

Suggested (won't look correct as it's not fixed space):
Line 1: this is not a test ok
Line 2: this is another test ok



Rich Re: Diff pane vertical alignment 2021-11-03 15:50:10
Ha I knew that wouldn't display correctly. Trying again...

Currently:
Line 1: this is not a test ok
Line 2: this is another test ok

Suggested (won't look correct as it's not fixed space):
Line 1: this is not a           test ok
Line 2: this is       another test ok

Anders Re: Diff pane vertical alignment 2021-11-04 06:29:07
Admin:
thanks for the suggestion, noted, I can see a few issues with the feature but also the usefulness of it.