Documentation ¶
Index ¶
- type Highlighter
- func (h *Highlighter) Append(line string)
- func (h *Highlighter) Clear()
- func (h *Highlighter) Count() int
- func (h *Highlighter) Current() int
- func (h *Highlighter) Draw()
- func (h *Highlighter) HandleEvent(e tcell.Event) bool
- func (h *Highlighter) Highlight(idx int) bool
- func (h *Highlighter) Keyword() string
- func (h *Highlighter) Len() int
- func (h *Highlighter) Pos(idx int) (int, int, bool)
- func (h *Highlighter) Resize()
- func (h *Highlighter) SetKeyword(kw string)
- func (h *Highlighter) SetView(v views.View)
- func (h *Highlighter) Size() (int, int)
- type Pager
- func (p *Pager) Append(line string)
- func (p *Pager) Clear()
- func (p *Pager) Draw()
- func (p *Pager) GetScrollPercentage() float64
- func (p *Pager) HandleEvent(e tcell.Event) bool
- func (p *Pager) Highlight(idx int) bool
- func (p *Pager) HighlightNext() bool
- func (p *Pager) HighlightPrev() bool
- func (p *Pager) Keyword() string
- func (p *Pager) Len() int
- func (p *Pager) Resize()
- func (p *Pager) ScrollDown(rows int)
- func (p *Pager) ScrollPageDown(pg int)
- func (p *Pager) ScrollPageUp(pg int)
- func (p *Pager) ScrollToBeginning()
- func (p *Pager) ScrollToEnd()
- func (p *Pager) ScrollUp(rows int)
- func (p *Pager) SetKeyword(kw string)
- func (p *Pager) SetView(v views.View)
- func (p *Pager) Size() (int, int)
- type Statusbar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Highlighter ¶
type Highlighter struct { views.WidgetWatchers // contains filtered or unexported fields }
func NewHighlighter ¶
func NewHighlighter() *Highlighter
func (*Highlighter) Append ¶
func (h *Highlighter) Append(line string)
func (*Highlighter) Clear ¶
func (h *Highlighter) Clear()
func (*Highlighter) Count ¶
func (h *Highlighter) Count() int
func (*Highlighter) Current ¶
func (h *Highlighter) Current() int
func (*Highlighter) Draw ¶
func (h *Highlighter) Draw()
func (*Highlighter) HandleEvent ¶
func (h *Highlighter) HandleEvent(e tcell.Event) bool
func (*Highlighter) Highlight ¶
func (h *Highlighter) Highlight(idx int) bool
func (*Highlighter) Keyword ¶
func (h *Highlighter) Keyword() string
func (*Highlighter) Len ¶
func (h *Highlighter) Len() int
func (*Highlighter) Resize ¶
func (h *Highlighter) Resize()
func (*Highlighter) SetKeyword ¶
func (h *Highlighter) SetKeyword(kw string)
func (*Highlighter) SetView ¶
func (h *Highlighter) SetView(v views.View)
func (*Highlighter) Size ¶
func (h *Highlighter) Size() (int, int)
type Pager ¶
type Pager struct { views.WidgetWatchers // contains filtered or unexported fields }
func NewPager ¶
func NewPager(app *views.Application) *Pager
func (*Pager) GetScrollPercentage ¶
func (*Pager) HandleEvent ¶
func (*Pager) HighlightNext ¶
func (*Pager) HighlightPrev ¶
func (*Pager) ScrollDown ¶
func (*Pager) ScrollPageDown ¶
func (*Pager) ScrollPageUp ¶
func (*Pager) ScrollToBeginning ¶
func (p *Pager) ScrollToBeginning()
func (*Pager) ScrollToEnd ¶
func (p *Pager) ScrollToEnd()
func (*Pager) SetKeyword ¶
type Statusbar ¶
func NewStatusbar ¶
func NewStatusbar(app *views.Application, style themes.Theme) *Statusbar
func (*Statusbar) SetMessage ¶
func (*Statusbar) SetScrollPercentage ¶
Click to show internal directories.
Click to hide internal directories.