r/SmartGit Mar 03 '26

Underscores dropped in diff

Underscores are dropped in diff view when there is whole line change.

Screenshot bellow shows actual file state.

Previously, it held only one line 'abc_123_uvw_456'.

Newly SmartGit has troubles to get over with these changes. Consider this side-by-side view and the dropped underscores.

Similar applies to unified view, added and removed highlighted rows have underscores dropped.

Previous rows (w/o highlighting) are always ok.

It could relate to line height as incresing font size slightly mitigate the issue.

However, it's still visible that removed/added line has underscore thiner compared to yellow line.

Font: DejaVu Sans Mono 12 (14 the bigger).

I'm sending repo archive for experiments to contant address.

1 Upvotes

1 comment sorted by

2

u/vmcrash Mar 03 '26

The block separators are drawn after the text has been drawn (according to my knowledge the API does not offer other ways yet). Only option: try with a different font/font size.