Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove repetitive words #515

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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