summaryrefslogtreecommitdiffstats
path: root/pkg/gui/line_by_line_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-30 10:40:48 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commitf97de692e32be50a54a93b75d3686da0495275cb (patch)
tree45a65ffb90d6c3897cd554f9551082e7466467fc /pkg/gui/line_by_line_panel.go
parent2692637fbeac353d805399dd97714c235f88f303 (diff)
move helpers into their own struct
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r--pkg/gui/line_by_line_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go
index 8d283576f..b2d5f2382 100644
--- a/pkg/gui/line_by_line_panel.go
+++ b/pkg/gui/line_by_line_panel.go
@@ -285,5 +285,5 @@ func (gui *Gui) handleLineByLineEdit() error {
}
lineNumber := gui.State.Panels.LineByLine.CurrentLineNumber()
- return gui.filesHelper.EditFileAtLine(file.Name, lineNumber)
+ return gui.helpers.files.EditFileAtLine(file.Name, lineNumber)
}