Skip to content

Commit

Permalink
fixup! refactor(tui): Implement UI-pane creation for editors removed …
Browse files Browse the repository at this point in the history
…from editor logic
  • Loading branch information
ja-he committed Jan 13, 2024
1 parent a6797a7 commit ff8af34
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions internal/control/edit/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,3 @@ type Editor interface {
// AddQuitCallback adds a callback that is called when the editor is quit.
AddQuitCallback(func())
}

// View is an interface for viewing of objects (by the user).
type View interface {
IsActiveAndFocussed() (bool, bool)

GetName() string

// GetType reutrns the type of the view.
//
// Based on this information, a cast to a relevant type can be done.
// E.g., when GetType() returns "string", the view can be cast to a
// StringEditorView.
GetType() string
}

0 comments on commit ff8af34

Please sign in to comment.