Skip to content

Commit

Permalink
chore: remove repetitive words (wagoodman#515)
Browse files Browse the repository at this point in the history
Co-authored-by: thirdkeyword <[email protected]>
Signed-off-by: thirdkeyword <[email protected]>
  • Loading branch information
joschi and thirdkeyword committed Nov 7, 2024
1 parent 1bd74c2 commit 4f7eaaa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion runtime/ui/view/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Debug struct {
selectedView Helper
}

// newDebugView creates a new view object attached the the global [gocui] screen object.
// newDebugView creates a new view object attached the global [gocui] screen object.
func newDebugView(gui *gocui.Gui) (controller *Debug) {
controller = new(Debug)

Expand Down
2 changes: 1 addition & 1 deletion runtime/ui/view/filetree.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type FileTree struct {
requestedWidthRatio float64
}

// newFileTreeView creates a new view object attached the the global [gocui] screen object.
// newFileTreeView creates a new view object attached the global [gocui] screen object.
func newFileTreeView(gui *gocui.Gui, tree *filetree.FileTree, refTrees []*filetree.FileTree, cache filetree.Comparer) (controller *FileTree, err error) {
controller = new(FileTree)
controller.listeners = make([]ViewOptionChangeListener, 0)
Expand Down
2 changes: 1 addition & 1 deletion runtime/ui/view/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Filter struct {
filterEditListeners []FilterEditListener
}

// newFilterView creates a new view object attached the the global [gocui] screen object.
// newFilterView creates a new view object attached the global [gocui] screen object.
func newFilterView(gui *gocui.Gui) (controller *Filter) {
controller = new(Filter)

Expand Down
2 changes: 1 addition & 1 deletion runtime/ui/view/layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Layer struct {
helpKeys []*key.Binding
}

// newLayerView creates a new view object attached the the global [gocui] screen object.
// newLayerView creates a new view object attached the global [gocui] screen object.
func newLayerView(gui *gocui.Gui, layers []*image.Layer) (controller *Layer, err error) {
controller = new(Layer)

Expand Down
2 changes: 1 addition & 1 deletion runtime/ui/view/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type Status struct {
helpKeys []*key.Binding
}

// newStatusView creates a new view object attached the the global [gocui] screen object.
// newStatusView creates a new view object attached the global [gocui] screen object.
func newStatusView(gui *gocui.Gui) (controller *Status) {
controller = new(Status)

Expand Down
2 changes: 1 addition & 1 deletion runtime/ui/viewmodel/filetree.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type FileTreeViewModel struct {
Buffer bytes.Buffer
}

// NewFileTreeViewModel creates a new view object attached the the global [gocui] screen object.
// NewFileTreeViewModel creates a new view object attached the global [gocui] screen object.
func NewFileTreeViewModel(tree *filetree.FileTree, refTrees []*filetree.FileTree, cache filetree.Comparer) (treeViewModel *FileTreeViewModel, err error) {
treeViewModel = new(FileTreeViewModel)

Expand Down

0 comments on commit 4f7eaaa

Please sign in to comment.