View Mode is Working
This commit is contained in:
@@ -45,7 +45,10 @@ type JsonContent struct {
|
||||
focusable bool
|
||||
keyMap *wd.KeyMap
|
||||
|
||||
value any
|
||||
editable bool
|
||||
value any
|
||||
|
||||
activeNode []string
|
||||
}
|
||||
|
||||
var _ wd.Widget = (*JsonContent)(nil)
|
||||
@@ -117,6 +120,8 @@ func (w *JsonContent) SetValue(v any) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (w *JsonContent) SetEditable(v bool) { w.editable = v }
|
||||
|
||||
/*
|
||||
func (w *JsonContent) SetJsonContent(txt string) {
|
||||
w.text = txt
|
||||
|
||||
Reference in New Issue
Block a user