From f51a5681427d83bad6db8073859495f1e24278d2 Mon Sep 17 00:00:00 2001 From: "Roi Martin (@nibble_ds)" Date: Thu, 23 Jan 2014 23:14:11 +0100 Subject: [PATCH] Fix typo in view.go --- view.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view.go b/view.go index 5ca1ed4..d3ec6bf 100644 --- a/view.go +++ b/view.go @@ -241,7 +241,7 @@ func (v *View) addLine(y int) error { return nil } -// Line returns a string with the line in the view's internal buffer +// Line returns a string with the line of the view's internal buffer // at the position corresponding to the point (x, y). func (v *View) Line(y int) (string, error) { y = v.oy + y @@ -252,7 +252,7 @@ func (v *View) Line(y int) (string, error) { return string(v.lines[y]), nil } -// Word returns a string with the word in the view's internal buffer +// Word returns a string with the word of the view's internal buffer // at the position corresponding to the point (x, y). func (v *View) Word(x, y int) (string, error) { x = v.ox + x