@@ -38,7 +38,6 @@ type DiffView struct {
38 after file
38 after file
39 contextLines int
39 contextLines int
40 lineNumbers bool
40 lineNumbers bool
42 height int
41 height int
44 xOffset int
43 xOffset int
@@ -115,12 +114,6 @@ func (dv *DiffView) LineNumbers(lineNumbers bool) *DiffView {
115 return dv
114 return dv
118−// SyntaxHightlight sets whether to enable syntax highlighting in the DiffView.
119−func (dv *DiffView) SyntaxHightlight(highlight bool) *DiffView {
120− dv.highlight = highlight
124// Height sets the height of the DiffView.
117// Height sets the height of the DiffView.
125func (dv *DiffView) Height(height int) *DiffView {
118func (dv *DiffView) Height(height int) *DiffView {
126 dv.height = height
119 dv.height = height