Range-diff !163
back to !163 Jump to a definition from a file
1: ed261ef < -: ------- A build log's last lines only
2: e1b123e < -: ------- Find a definition with the symbol index
3: a71e06e ! 1: 9b8ed56 Jump to a definition from a file
@@ gitbay/Views/Repos/FileView.swift: private struct CodeScrollView: View {
// A frame for the highlighted lines to exist before the
// jump, or the lazy stack has nothing to scroll to.
@@ gitbay/Views/Repos/FileView.swift: private struct CodeScrollView: View {
- proxy.scrollTo(line, anchor: UnitPoint(x: 0, y: 0.3))
+ proxy.scrollTo(line - 1, anchor: UnitPoint(x: 0, y: 0.3))
}
}
+ // The definitions arrive after the file; link what is drawn.
-: ------- > 2: 7aa3869 Jump to a definition: link per drawn row; prose is not linked