Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( INT_HIGHLIGHTER = utils.CreateStyle(tcell.ColorReset, tcell.ColorSkyblue) STRING_HIGHLIGHTER = utils.CreateStyle(tcell.ColorReset, tcell.ColorLightYellow) COMMENT_HIGHLIGHTER = utils.CreateStyle(tcell.ColorReset, tcell.ColorDimGray) )
Functions ¶
This section is empty.
Types ¶
type Highlighter ¶
type Highlighter struct {
// contains filtered or unexported fields
}
func NewHighlighter ¶
func NewHighlighter(ext string) *Highlighter
func (*Highlighter) GetCommentIndicator ¶
func (h *Highlighter) GetCommentIndicator() string
func (*Highlighter) GetStyle ¶
func (h *Highlighter) GetStyle(word string) tcell.Style
Click to show internal directories.
Click to hide internal directories.