package editor
type State struct {
Err error
Document *Document
}
func NewState() *State {
return &State{
Document: NewDocument("new doc"),