Documentation
¶
Index ¶
- Constants
- func GetStyleBorderedViewport() lipgloss.Style
- func GetStyleError() lipgloss.Style
- func GetStyleFileTreePanelHeader() lipgloss.Style
- func GetStyleFormatIndicator() lipgloss.Style
- func GetStyleHeader() lipgloss.Style
- func GetStyleHelp() lipgloss.Style
- func GetStyleHighlightedBorder() lipgloss.Style
- func GetStyleInfo() lipgloss.Style
- func GetStylePreviewHeader() lipgloss.Style
- func GetStyleSearchCount() lipgloss.Style
- func GetStyleSuccess() lipgloss.Style
- func GetStyleWarning() lipgloss.Style
- func NewSearchInput() textinput.Model
- func StyleFileLine(rawCheckbox string, treePrefix string, icon string, iconColor string, ...) string
- func StylePreviewContent(content string, isFocused bool, viewportWidth int) string
Constants ¶
const ( // BorderSize defines the width of panel borders (e.g., a single character for a rounded border). BorderSize = 1 // PanelGap specifies the space between the file tree and preview panels when both are visible. PanelGap = 2 // FileTreePaddingL is the left padding within the file tree panel. FileTreePaddingL = 1 // FileTreePaddingR is the right padding within the file tree panel. FileTreePaddingR = 1 // MinInnerContentWidth is the minimum internal width for panel content to ensure readability. MinInnerContentWidth = 10 )
Panel layout constants define sizing and spacing for UI elements.
const HelpText = `` /* 1886-byte string literal not displayed */
const UsageText = `` /* 2488-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetStyleBorderedViewport ¶
GetStyleBorderedViewport returns the bordered viewport style using the current theme
func GetStyleError ¶
GetStyleError returns the error style using the current theme
func GetStyleFileTreePanelHeader ¶ added in v1.1.0
GetStyleFileTreePanelHeader returns the style for the file tree panel header
func GetStyleFormatIndicator ¶
GetStyleFormatIndicator returns the format indicator style using the current theme
func GetStyleHeader ¶
GetStyleHeader returns the header style using the current theme
func GetStyleHelp ¶
GetStyleHelp returns the help style using the current theme
func GetStyleHighlightedBorder ¶ added in v1.1.0
GetStyleHighlightedBorder returns a style for highlighted borders
func GetStyleInfo ¶ added in v1.0.3
GetStyleInfo returns the info style using the current theme
func GetStylePreviewHeader ¶ added in v1.1.0
GetStylePreviewHeader returns the preview header style using the current theme
func GetStyleSearchCount ¶
GetStyleSearchCount returns the search count style using the current theme
func GetStyleSuccess ¶
GetStyleSuccess returns the success style using the current theme
func GetStyleWarning ¶ added in v1.0.3
GetStyleWarning returns the warning style using the current theme
func NewSearchInput ¶
NewSearchInput creates a new search input with styling from the current theme
func StyleFileLine ¶
func StyleFileLine( rawCheckbox string, treePrefix string, icon string, iconColor string, name string, rawSuffix string, isDir bool, isSelected bool, isCursor bool, isPartialDir bool, viewportWidth int, ) string
StyleFileLine styles a file line based on its properties and the current theme
Types ¶
This section is empty.