Documentation ¶
Index ¶
- type C
- type D
- type DirChosenEvent
- type Document
- type Editor
- type Explorer
- type ExplorerEvent
- type FS
- type FilesChosenEvent
- type Palette
- type Session
- func (s *Session) CloseActiveTab()
- func (s *Session) FocusActiveTab()
- func (s *Session) HandleKeyEvent(e key.Event)
- func (s *Session) Layout(gtx C, th *material.Theme) D
- func (s *Session) NextTab()
- func (s *Session) OpenFile(fpath string)
- func (s *Session) OpenFileExplorerTab()
- func (s *Session) PrevTab()
- func (s *Session) SelectTab(n int)
- func (s *Session) SwapTabDown()
- func (s *Session) SwapTabUp()
- type SingleViewWidget
- type View
- type ViewMode
- type ViewStyle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = layout.Dimensions
type DirChosenEvent ¶
type DirChosenEvent struct {
Path string
}
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
func (*Editor) HasChanged ¶
func (*Editor) SaveRequested ¶
type Explorer ¶
type Explorer struct {
// contains filtered or unexported fields
}
func NewExplorer ¶
func (*Explorer) Events ¶
func (ex *Explorer) Events() []ExplorerEvent
type ExplorerEvent ¶
type ExplorerEvent interface{}
type FilesChosenEvent ¶
type FilesChosenEvent struct {
Paths []string
}
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) CloseActiveTab ¶
func (s *Session) CloseActiveTab()
func (*Session) FocusActiveTab ¶
func (s *Session) FocusActiveTab()
func (*Session) HandleKeyEvent ¶
func (*Session) OpenFileExplorerTab ¶
func (s *Session) OpenFileExplorerTab()
func (*Session) SwapTabDown ¶
func (s *Session) SwapTabDown()
type SingleViewWidget ¶
type SingleViewWidget uint8
const ( SingleViewEditor SingleViewWidget = iota SingleViewDocument )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.