Documentation
¶
Overview ¶
Package copymodetree provides a wrapper around a tree that supports copy mode. It assumes the underlying tree is a termshark PDML tree and allows copying the PDML substructure or a serialized representation of the substructure.
Index ¶
- type ITreeAndListWalker
- type Walker
- type Widget
- func (w *Widget) Clips(app gowid.IApp) []gowid.ICopyResult
- func (w *Widget) CopyModeLevels() int
- func (w *Widget) Render(size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) gowid.ICanvas
- func (w *Widget) SubWidget() gowid.IWidget
- func (w *Widget) UserInput(ev interface{}, size gowid.IRenderSize, focus gowid.Selector, app gowid.IApp) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ITreeAndListWalker ¶
type ITreeAndListWalker interface { list.IWalker Decorator() tree.IDecorator Maker() tree.IWidgetMaker Tree() tree.IModel }
type Walker ¶
type Walker struct { ITreeAndListWalker gowid.IClipboardSelected // contains filtered or unexported fields }
func NewWalker ¶
func NewWalker(walker ITreeAndListWalker, pos tree.IPos, diff int, clip gowid.IClipboardSelected) *Walker
Click to show internal directories.
Click to hide internal directories.