Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SelectedPixelBorderColor = lipgloss.Color("4") HighlightPixelColor = lipgloss.Color("5") PixelOnColor = lipgloss.Color("15") PixelOnWarningColor = lipgloss.Color("1") PixelOffColor = lipgloss.Color("0") SelectedCharBorderColor = lipgloss.Color("7") UnSelectedCharBorderColor = lipgloss.Color("8") SelectedPixelBorder = lipgloss.ThickBorder() PixelOnStyle = lipgloss.NewStyle(). Foreground(SelectedPixelBorderColor). Background(PixelOnColor) PixelOnWarningStyle = lipgloss.NewStyle(). Foreground(SelectedPixelBorderColor). Background(PixelOnWarningColor) PixelOffStyle = lipgloss.NewStyle(). Foreground(SelectedPixelBorderColor). Background(PixelOffColor) UnselectedCharStyle = lipgloss.NewStyle(). BorderStyle(lipgloss.InnerHalfBlockBorder()). BorderForeground(UnSelectedCharBorderColor) SelectedCharStyle = lipgloss.NewStyle(). BorderStyle(lipgloss.InnerHalfBlockBorder()). BorderForeground(SelectedCharBorderColor) )
Functions ¶
This section is empty.
Types ¶
type FontViewer ¶
type FontViewer struct {
// contains filtered or unexported fields
}
func NewFontViewer ¶
func NewFontViewer(f editor.Font) FontViewer
func (FontViewer) Init ¶
func (m FontViewer) Init() tea.Cmd
func (FontViewer) Name ¶
func (m FontViewer) Name() string
func (FontViewer) View ¶
func (m FontViewer) View() string
func (FontViewer) ViewFollowChar ¶
func (m FontViewer) ViewFollowChar() string
func (FontViewer) ViewStatic ¶
func (m FontViewer) ViewStatic() string
Click to show internal directories.
Click to hide internal directories.