Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLookFileExt = ",c,cc,cpp,h,py,txt,pl,tcl,java,js,html,go,clj,jsp"
View Source
const END_CMD = "Edit +0-#?1"
const END_CMD = "Edit +-#?1"
View Source
const HOME_CMD = "Edit -+/@[^\t ]/-#0"
Variables ¶
View Source
var AcmeBWColorScheme = ColorScheme{ WindowBG: *image.White, TopBorder: *image.Black, VertBorder: *image.Black, Scrollbar: *image.NewUniform(color.RGBA{0xaa, 0xaa, 0xaa, 0xff}), EditorPlain: []image.Uniform{*image.White, *image.Black}, EditorSel1: []image.Uniform{*image.Black, *image.White}, EditorSel2: []image.Uniform{*DRed, *image.White}, EditorSel3: []image.Uniform{*dustygray, *image.White}, EditorMatchingParenthesis: []image.Uniform{*image.Black, *image.White}, TagPlain: []image.Uniform{*image.White, *image.Black}, TagSel1: []image.Uniform{*image.Black, *image.White}, TagSel2: []image.Uniform{*DRed, *image.White}, TagSel3: []image.Uniform{*dustygray, *image.White}, TagMatchingParenthesis: []image.Uniform{*image.Black, *image.White}, Compl: []image.Uniform{*image.White, *image.Black}, HandleFG: *image.White, HandleModifiedFG: *image.NewUniform(color.RGBA{0x33, 0x33, 0x33, 0xff}), HandleSpecialFG: *DGreen, HandleBG: *image.Black, }
View Source
var AcmeColorScheme = ColorScheme{ WindowBG: *image.White, TopBorder: *image.Black, VertBorder: *image.Black, Scrollbar: *image.NewUniform(color.RGBA{153, 153, 76, 0xff}), EditorPlain: []image.Uniform{yellowbg, *image.Black, darkergreen, *DDarkblue}, EditorSel1: []image.Uniform{*DDarkyellow, *image.Black, darkergreen, *DDarkblue}, EditorSel2: []image.Uniform{col2sel, yellowbg}, EditorSel3: []image.Uniform{col3sel, yellowbg}, EditorMatchingParenthesis: []image.Uniform{*image.Black, yellowbg}, Compl: []image.Uniform{bluebg, *image.Black}, TagPlain: []image.Uniform{bluebg, *image.Black}, TagSel1: []image.Uniform{*DPalegreygreen, *image.Black}, TagSel2: []image.Uniform{col2sel, bluebg}, TagSel3: []image.Uniform{col3sel, bluebg}, TagMatchingParenthesis: []image.Uniform{*image.Black, bluebg}, HandleFG: bluebg, HandleModifiedFG: *DMedblue, HandleSpecialFG: *DMedgreen, HandleBG: *DPurpleblue, }
View Source
var AcmeEvening2ColorScheme = ColorScheme{ WindowBG: stratostundora2, TopBorder: *image.Black, VertBorder: *image.Black, Scrollbar: *image.NewUniform(color.RGBA{153, 153, 76, 0xff}), EditorPlain: []image.Uniform{stratostundora2, *image.White, *DGreygreen, *DPalegreyblue}, EditorSel1: []image.Uniform{yellowsilver, *image.Black, *image.Black, *image.Black}, EditorSel2: []image.Uniform{redsilver, *image.Black}, EditorSel3: []image.Uniform{greensilver, *image.Black}, EditorMatchingParenthesis: []image.Uniform{*image.White, *image.Black}, TagPlain: []image.Uniform{stratostundora, *image.White}, TagSel1: []image.Uniform{*DPurpleblue, *image.Black}, TagSel2: []image.Uniform{*DPurpleblue, *image.Black}, TagSel3: []image.Uniform{*DPurpleblue, *image.Black}, TagMatchingParenthesis: []image.Uniform{*image.White, stratostundora}, Compl: []image.Uniform{stratostundora, *image.White}, HandleFG: stratostundora, HandleModifiedFG: *DMedblue, HandleSpecialFG: *DMedgreen, HandleBG: *DPurpleblue, }
View Source
var AcmeEveningColorScheme = ColorScheme{ WindowBG: *image.Black, TopBorder: *image.Black, VertBorder: *image.Black, Scrollbar: *image.NewUniform(color.RGBA{153, 153, 76, 0xff}), EditorPlain: []image.Uniform{*image.Black, *image.White, *DGreygreen, *DPalegreyblue}, EditorSel1: []image.Uniform{yellowsilver, *image.Black}, EditorSel2: []image.Uniform{redsilver, *image.Black}, EditorSel3: []image.Uniform{greensilver, *image.Black}, EditorMatchingParenthesis: []image.Uniform{*image.White, *image.Black}, TagPlain: []image.Uniform{stratostundora, *image.White}, TagSel1: []image.Uniform{*DPurpleblue, *image.Black}, TagSel2: []image.Uniform{*DPurpleblue, *image.Black}, TagSel3: []image.Uniform{*DPurpleblue, *image.Black}, TagMatchingParenthesis: []image.Uniform{*image.White, stratostundora}, Compl: []image.Uniform{stratostundora, *image.White}, HandleFG: stratostundora, HandleModifiedFG: *DMedblue, HandleSpecialFG: *DMedgreen, HandleBG: *DPurpleblue, }
View Source
var AcmeMidnightColorScheme = ColorScheme{ WindowBG: *image.Black, TopBorder: *harlequin, VertBorder: *harlequin, Scrollbar: darkyellowgray, EditorPlain: []image.Uniform{*image.Black, *harlequin, *DGreygreen, *DPalegreyblue}, EditorSel1: []image.Uniform{*DDarkyellow, *image.Black}, EditorSel2: []image.Uniform{*DRed, *image.White}, EditorSel3: []image.Uniform{*DGreen, *image.White}, EditorMatchingParenthesis: []image.Uniform{*harlequin, *image.Black}, TagPlain: []image.Uniform{darkbluegray, *harlequin}, TagSel1: []image.Uniform{*DPurpleblue, *image.Black}, TagSel2: []image.Uniform{*DPurpleblue, *image.Black}, TagSel3: []image.Uniform{*DPurpleblue, *image.Black}, TagMatchingParenthesis: []image.Uniform{*harlequin, *DDarkblue}, Compl: []image.Uniform{darkbluegray, *harlequin}, HandleFG: darkbluegray, HandleModifiedFG: *DPalegreyblue, HandleSpecialFG: *DMedgreen, HandleBG: *DPurpleblue, }
View Source
var AltingList = []util.AltingEntry{}/* 497 elements not displayed */
View Source
var AtomColorScheme = ColorScheme{ WindowBG: atomwinbg, TopBorder: atomtagfg, VertBorder: atomnormfg, Scrollbar: atomselbg, EditorPlain: []image.Uniform{atombg, atomnormfg, atomstrfg, atomcmtfg}, EditorSel1: []image.Uniform{atomselbg, atomnormfg, atomstrfg, atomcmtfg}, EditorSel2: []image.Uniform{atomselbg, atomnormfg}, EditorSel3: []image.Uniform{atomselbg, atomnormfg}, EditorMatchingParenthesis: []image.Uniform{atomnormfg, atombg, atombg, atombg}, Compl: []image.Uniform{atomtagbg, atomtagfg}, TagPlain: []image.Uniform{atomtagbg, atomtagfg}, TagSel1: []image.Uniform{atomtagselbg, atomtagfg}, TagSel2: []image.Uniform{atomtagselbg, atomtagfg}, TagSel3: []image.Uniform{atomtagselbg, atomtagfg}, TagMatchingParenthesis: []image.Uniform{atomtagselbg, atomtagfg}, HandleFG: atomtagbg, HandleModifiedFG: atomtagselbg, HandleSpecialFG: *DMedgreen, HandleBG: atomwinbg, }
View Source
var C4C2ColorScheme = ColorScheme{ WindowBG: c4cbg, TopBorder: *image.Black, VertBorder: c4c2scroll, Scrollbar: c4c2scroll, EditorPlain: []image.Uniform{c4cbg, c4cnormfg, c4cstring, c4ccomment, c4csel1}, EditorSel1: []image.Uniform{c4csel1, c4csel1fg, c4csel1fg, c4ccomment}, EditorSel2: []image.Uniform{c4csel2, c4cbg, c4cbg, c4cbg}, EditorSel3: []image.Uniform{c4csel3, c4cbg, c4cbg, c4cbg}, EditorMatchingParenthesis: []image.Uniform{c4cnormfg, c4cbg, c4cbg, c4cbg}, Compl: []image.Uniform{c4cnormfg, c4cbg}, TagPlain: []image.Uniform{c4c2tagbg, c4ctagfg}, TagSel1: []image.Uniform{c4ctagfg, c4c2tagbg}, TagSel2: []image.Uniform{c4csel2, c4ctagfg}, TagSel3: []image.Uniform{c4csel3, c4ctagfg}, TagMatchingParenthesis: []image.Uniform{c4ctagfg, c4ctagbg}, HandleFG: c(0x5f, 0x81, 0x9d), HandleModifiedFG: c4cbg, HandleSpecialFG: c(0xF5, 0x2B, 0x00), HandleBG: c(0x72, 0x78, 0x80), }
View Source
var C4CColorScheme = ColorScheme{ WindowBG: c4cbg, TopBorder: *image.Black, VertBorder: c4cscroll, Scrollbar: c4cscroll, EditorPlain: []image.Uniform{c4cbg, c4cnormfg, c4cstring, c4ccomment, c4csel1}, EditorSel1: []image.Uniform{c4csel1, c4csel1fg, c4csel1fg, c4ccomment}, EditorSel2: []image.Uniform{c4csel2, c4cbg, c4cbg, c4cbg}, EditorSel3: []image.Uniform{c4csel3, c4cbg, c4cbg, c4cbg}, EditorMatchingParenthesis: []image.Uniform{c4cnormfg, c4cbg, c4cbg, c4cbg}, Compl: []image.Uniform{c4cnormfg, c4cbg}, TagPlain: []image.Uniform{c4ctagbg, c4ctagfg}, TagSel1: []image.Uniform{c4ctagfg, c4ctagbg}, TagSel2: []image.Uniform{c4csel2, c4ctagfg}, TagSel3: []image.Uniform{c4csel3, c4ctagfg}, TagMatchingParenthesis: []image.Uniform{c4ctagfg, c4ctagbg}, HandleFG: c4ctagbg, HandleModifiedFG: c4cbg, HandleSpecialFG: c(0xF5, 0x2B, 0x00), HandleBG: c(0x72, 0x78, 0x80), }
View Source
var C4CRColorScheme = ColorScheme{ WindowBG: cc(0xd6d6d6), TopBorder: *image.Black, VertBorder: c4crdarkbg, Scrollbar: c4crdarkbg, EditorPlain: []image.Uniform{cc(0xd6d6d6), *image.Black, cc(0x9a0000), cc(0x005800), c4csel1}, EditorSel1: []image.Uniform{cc(0x0044ff), c4crgb, c4crgb, c4crgb}, EditorSel2: []image.Uniform{cc(0x525252), c4crgb, c4crgb, c4crgb}, EditorSel3: []image.Uniform{cc(0x00b8b8), c4crgb, c4crgb, c4crgb}, EditorMatchingParenthesis: []image.Uniform{*image.Black, c4crgb, c4crgb, c4crgb}, Compl: []image.Uniform{c4cnormfg, c4crgb}, TagPlain: []image.Uniform{c4crdarkbg, c4ctagfg}, TagSel1: []image.Uniform{c4ctagfg, c4crdarkbg}, TagSel2: []image.Uniform{cc(0x525252), c4ctagfg}, TagSel3: []image.Uniform{cc(0x00b8b8), c4ctagfg}, TagMatchingParenthesis: []image.Uniform{c4ctagfg, c4crdarkbg}, HandleFG: c4crdarkbg, HandleModifiedFG: cc(0x0044ff), HandleSpecialFG: c(0xF5, 0x2B, 0x00), HandleBG: c(0x72, 0x78, 0x80), }
View Source
var C4ColorScheme = ColorScheme{ WindowBG: c4bg, TopBorder: *image.Black, VertBorder: c4scroll, Scrollbar: c4scroll, EditorPlain: []image.Uniform{c4bg, c4normfg, c4string, c4comment}, EditorSel1: []image.Uniform{c4sel1, c4normfg, c4string, c4comment}, EditorSel2: []image.Uniform{c4sel2, c4normfg, c4string, c4comment}, EditorSel3: []image.Uniform{c4sel3, c4normfg, c4string, c4comment}, EditorMatchingParenthesis: []image.Uniform{c4normfg, c4bg, c4bg, c4bg}, Compl: []image.Uniform{c4normfg, c4bg}, TagPlain: []image.Uniform{c4tagbg, c4tagfg}, TagSel1: []image.Uniform{c4tagfg, c4tagbg}, TagSel2: []image.Uniform{c4sel2, c4tagfg}, TagSel3: []image.Uniform{c4sel3, c4tagfg}, TagMatchingParenthesis: []image.Uniform{c4tagfg, c4tagbg}, HandleFG: c4bg, HandleModifiedFG: c(0x42, 0x65, 0x32), HandleSpecialFG: c(0xF5, 0x2B, 0x00), HandleBG: c(0x72, 0x78, 0x80), }
View Source
var ColorSchemeMap = map[string]*ColorScheme{}
View Source
var ComplMaxX = 1024
View Source
var ComplMaxY = 1024
View Source
var DBlue = image.NewUniform(color.RGBA{0x00, 0x00, 0xFF, 0xFF})
View Source
var DBluegreen = image.NewUniform(color.RGBA{0x00, 0x88, 0x88, 0xFF})
View Source
var DCyan = image.NewUniform(color.RGBA{0x00, 0xFF, 0xFF, 0xFF})
View Source
var DDarkblue = image.NewUniform(color.RGBA{0x00, 0x00, 0x55, 0xFF})
View Source
var DDarkgreen = image.NewUniform(color.RGBA{0x44, 0x88, 0x44, 0xFF})
View Source
var DDarkyellow = image.NewUniform(color.RGBA{0xEE, 0xEE, 0x9E, 0xFF})
View Source
var DGreen = image.NewUniform(color.RGBA{0x00, 0xFF, 0x00, 0xFF})
View Source
var DGreyblue = image.NewUniform(color.RGBA{0x00, 0x5D, 0xBB, 0xFF})
View Source
var DGreygreen = image.NewUniform(color.RGBA{0x55, 0xAA, 0xAA, 0xFF})
View Source
var DMagenta = image.NewUniform(color.RGBA{0xFF, 0x00, 0xFF, 0xFF})
View Source
var DMedblue = image.NewUniform(color.RGBA{0x00, 0x00, 0x99, 0xFF})
View Source
var DMedgreen = image.NewUniform(color.RGBA{0x88, 0xCC, 0x88, 0xFF})
View Source
var DOpaque = image.NewUniform(color.RGBA{0xFF, 0xFF, 0xFF, 0xFF})
View Source
var DPaleblue = image.NewUniform(color.RGBA{0x00, 0x00, 0xBB, 0xFF})
View Source
var DPalebluegreen = image.NewUniform(color.RGBA{0xAA, 0xFF, 0xFF, 0xFF})
View Source
var DPalegreen = image.NewUniform(color.RGBA{0xAA, 0xFF, 0xAA, 0xFF})
View Source
var DPalegreyblue = image.NewUniform(color.RGBA{0x49, 0x93, 0xDD, 0xFF})
View Source
var DPalegreygreen = image.NewUniform(color.RGBA{0x9E, 0xEE, 0xEE, 0xFF})
View Source
var DPaleyellow = image.NewUniform(color.RGBA{0xFF, 0xFF, 0xAA, 0xFF})
View Source
var DPurpleblue = image.NewUniform(color.RGBA{0x88, 0x88, 0xCC, 0xFF})
View Source
var DRed = image.NewUniform(color.RGBA{0xFF, 0x00, 0x00, 0xFF})
View Source
var DYellow = image.NewUniform(color.RGBA{0xFF, 0xFF, 0x00, 0xFF})
View Source
var DYellowgreen = image.NewUniform(color.RGBA{0x99, 0x99, 0x4C, 0xFF})
View Source
var DefaultColumnTag = []rune("New Cut Paste Sort Zerox Delcol ")
View Source
var DefaultEditorTag = " Del"
View Source
var DefaultWindowTag = []rune("Newcol Getall Putall Jobs Exit | ")
View Source
var EditErrorTrace = false
View Source
var EnableHighlighting = true
View Source
var EveColorScheme = ColorScheme{ WindowBG: *image.White, TopBorder: *image.Black, VertBorder: *image.Black, Scrollbar: cc(0xced1d7), EditorPlain: []image.Uniform{cc(0xebeef5), *image.Black, cc(0x53A053), cc(0x5D5D5F), cc(0x437aed)}, EditorSel1: []image.Uniform{cc(0xceddf6), *image.Black, cc(0x53A053), cc(0x5D5D5F)}, EditorSel2: []image.Uniform{cc(0x00BEC4), cc(0xebeef5)}, EditorSel3: []image.Uniform{cc(0x00BEC4), cc(0xebeef5)}, EditorMatchingParenthesis: []image.Uniform{*image.Black, yellowbg}, Compl: []image.Uniform{bluebg, *image.Black}, TagPlain: []image.Uniform{bluebg, *image.Black}, TagSel1: []image.Uniform{*DPalegreygreen, *image.Black}, TagSel2: []image.Uniform{col2sel, bluebg}, TagSel3: []image.Uniform{col3sel, bluebg}, TagMatchingParenthesis: []image.Uniform{*image.Black, bluebg}, HandleFG: bluebg, HandleModifiedFG: *DMedblue, HandleSpecialFG: *DMedgreen, HandleBG: *DPurpleblue, }
View Source
var FontSizeChange = 0
View Source
var GruvboxColorScheme = ColorScheme{ WindowBG: cc(0xfbf1c7), TopBorder: *image.Black, VertBorder: cc(0xa89984), Scrollbar: cc(0x928374), EditorPlain: []image.Uniform{cc(0xfbf1c7), cc(0x282828), cc(0xcc241d), cc(0x458588), cc(0xd654d0e)}, EditorSel1: []image.Uniform{cc(0x076678), cc(0xfbf1c7), cc(0xfbf1c7), cc(0xfbf1c7)}, EditorSel2: []image.Uniform{cc(0x79740e), cc(0xfbf1c7), cc(0xfbf1c7), cc(0xfbf1c7)}, EditorSel3: []image.Uniform{cc(0x9d0006), cc(0xfbf1c7), cc(0xfbf1c7), cc(0xfbf1c7)}, EditorMatchingParenthesis: []image.Uniform{cc(0x282828), cc(0xfbf1c7), cc(0xfbf1c7), cc(0xfbf1c7)}, Compl: []image.Uniform{cc(0x282828), cc(0xfbf1c7)}, TagPlain: []image.Uniform{cc(0x427b58), cc(0xfbf1c7)}, TagSel1: []image.Uniform{cc(0x076678), cc(0xfbf1c7)}, TagSel2: []image.Uniform{cc(0x076678), cc(0xfbf1c7)}, TagSel3: []image.Uniform{cc(0x076678), cc(0xfbf1c7)}, TagMatchingParenthesis: []image.Uniform{cc(0x076678), cc(0xfbf1c7)}, HandleFG: cc(0x427b58), HandleModifiedFG: cc(0xd79921), HandleSpecialFG: cc(0xfabd2f), HandleBG: cc(0xfbf1c7), }
View Source
var HideHidden = true
View Source
var KeyBindings = map[string]string{ "left_arrow": "Edit -#1", "right_arrow": "Edit +#1", "up_arrow": "Edit --#0+/@[^\t ]/-#0", "down_arrow": "Edit +-#0+/@[^\t ]/-#0", "control+right_arrow": "Edit +#w1+#0", "control+left_arrow": "Edit -#w1-#0", "control+backspace": "Edit -#w1,. c//", "control+home": "Edit #0 k", "control+end": "Edit $ k", "home": "Edit -0-#0", "control+a": HOME_CMD, "end": END_CMD, "control+e": END_CMD, "control+c": "Copy", "control+v": "Paste Indent", "control+y": "Paste Primary", "control+x": "Cut", "control+s": "Put", "control+k": "Edit -0-#0+0 c//", "control+z": "Undo", "control+shift+z": "Redo", "control+f": "Look", "control+g": "Look!Again", "control+shift+g": "Look!Prev", "control+q": "LookFile", "backspace": "Do\nEdit v/.+/ -#1,.\nEdit c//", "control+w": "Do\nEdit v/.+/ -#1,.\nEdit c//", "delete": "Do\nEdit v/.+/ .,+#1\nEdit c//", "control+=": "Font +", "control+-": "Font -", "control+n": "NextError", }
View Source
var KeyConversion = map[string]key.Event{ "control+space": key.Event{Rune: -1, Code: key.CodeReturnEnter, Modifiers: key.Modifiers(0)}, }
View Source
var LanguageRules = []hl.LanguageRules{ hl.LanguageRules{ NameRe: `\.go$`, RegionMatches: []hl.RegionMatch{ hl.StringRegion("`", "`", 0), hl.StringRegion("\"", "\"", '\\'), hl.StringRegion("'", "'", '\\'), hl.CommentRegion("/*", "*/", 0), hl.CommentRegion("//", "\n", 0), hl.RegexpRegion(`^(func|type)\s+(\([^\)]+\)\s+)?`, `\W`, 0, hl.RMT_HEADER), }, }, hl.LanguageRules{ NameRe: `\.(?:c|java|cpp|h|js|HC|HH)$`, RegionMatches: []hl.RegionMatch{ hl.StringRegion("\"", "\"", '\\'), hl.StringRegion("'", "'", '\\'), hl.CommentRegion("/*", "*/", 0), hl.CommentRegion("//", "\n", 0), }, }, hl.LanguageRules{ NameRe: `\.(?:py|star)$`, RegionMatches: []hl.RegionMatch{ hl.StringRegion(`"""`, `"""`, 0), hl.StringRegion("\"", "\"", '\\'), hl.StringRegion("'", "'", '\\'), hl.CommentRegion("#", "\n", 0), }, }, hl.LanguageRules{ NameRe: `\.lua$`, RegionMatches: []hl.RegionMatch{ hl.StringRegion("\"", "\"", '\\'), hl.StringRegion("'", "'", '\\'), hl.CommentRegion("--", "\n", 0), }, }, hl.LanguageRules{ NameRe: `\.(?:diff|prr)$`, RegionMatches: []hl.RegionMatch{ hl.RegexpRegion(`^> \+`, `\n`, 0, hl.RMT_HEADER), hl.RegexpRegion(`^> -`, `\n`, 0, hl.RMT_STRING), }, }, hl.LanguageRules{ NameRe: `\.wls$`, RegionMatches: []hl.RegionMatch{ hl.StringRegion("\"", "\"", '\\'), hl.CommentRegion("(*", "*)", 0), }, }, }
View Source
var LoadRules = []util.LoadRule{}
View Source
var MainFont, TagFont, AltFont, ComplFont font.Face
View Source
var MainFontSize int
View Source
var SaveRules = []util.SaveRule{}
View Source
var ScrollWidth = 10
View Source
var ServeTCP = false
View Source
var StartupHeight = 0
View Source
var StartupWidth = 0
View Source
var TanColorScheme = ColorScheme{ WindowBG: tanbg, TopBorder: *image.Black, VertBorder: *image.Black, Scrollbar: tanscroll, EditorPlain: []image.Uniform{tanbg, tannormfg, darkergreen, *DDarkblue}, EditorSel1: []image.Uniform{tanscroll, tannormfg}, EditorSel2: []image.Uniform{tanscroll, tannormfg}, EditorSel3: []image.Uniform{tanscroll, tannormfg}, EditorMatchingParenthesis: []image.Uniform{tanscroll, tannormfg}, Compl: []image.Uniform{*image.White, *image.Black}, TagPlain: []image.Uniform{tantagbg, tantagfg}, TagSel1: []image.Uniform{tantagfg, tantagbg}, TagSel2: []image.Uniform{tantagfg, tantagbg}, TagSel3: []image.Uniform{tantagfg, tantagbg}, TagMatchingParenthesis: []image.Uniform{tantagfg, tantagbg}, HandleFG: tantagbg, HandleModifiedFG: c(224, 108, 107), HandleSpecialFG: *DMedgreen, HandleBG: c(0x72, 0x78, 0x80), }
View Source
var Templates []string
View Source
var TheColorScheme = AcmeColorScheme
View Source
var ZenburnColorScheme = ColorScheme{ WindowBG: zbbord, TopBorder: zbbord, VertBorder: zbbord, Scrollbar: zbbord, EditorPlain: []image.Uniform{zbedbg, zbedfg, darkergreen, bluebg}, EditorSel1: []image.Uniform{*image.NewUniform(color.RGBA{0x8a, 0x77, 0x6a, 0xFF}), *image.NewUniform(color.RGBA{0x22, 0x22, 0x22, 0xFF}), darkergreen, *DDarkblue}, EditorSel2: []image.Uniform{redsilver, zbedbg}, EditorSel3: []image.Uniform{greensilver, zbedbg}, EditorMatchingParenthesis: []image.Uniform{zbedfg, zbedbg}, Compl: []image.Uniform{zbtagbg, zbtagfg}, TagPlain: []image.Uniform{zbtagbg, zbtagfg}, TagSel1: []image.Uniform{*image.NewUniform(color.RGBA{0x8a, 0x77, 0x6a, 0xFF}), *image.NewUniform(color.RGBA{0x22, 0x22, 0x22, 0xFF})}, TagSel2: []image.Uniform{col2sel, bluebg}, TagSel3: []image.Uniform{col3sel, bluebg}, TagMatchingParenthesis: []image.Uniform{zbtagfg, zbtagbg}, HandleFG: zbtagbg, HandleModifiedFG: *image.NewUniform(color.RGBA{0x9f, 0x71, 0x55, 0xFF}), HandleSpecialFG: *DMedgreen, HandleBG: zbbord, }
Functions ¶
func IsTemplatesFile ¶
func LoadConfiguration ¶
func LoadConfiguration(path string)
func LoadTemplates ¶
func LoadTemplates()
func ReloadFonts ¶
func ReloadFonts(path string)
func SaveRuleFor ¶
func ShouldWordWrap ¶
Types ¶
type ColorScheme ¶
type ColorScheme struct { WindowBG image.Uniform TooltipBG image.Uniform TopBorder image.Uniform VertBorder image.Uniform Scrollbar image.Uniform EditorPlain []image.Uniform EditorSel1 []image.Uniform EditorSel2 []image.Uniform EditorSel3 []image.Uniform EditorMatchingParenthesis []image.Uniform Compl []image.Uniform TagPlain []image.Uniform TagSel1 []image.Uniform TagSel2 []image.Uniform TagSel3 []image.Uniform TagMatchingParenthesis []image.Uniform HandleFG image.Uniform HandleModifiedFG image.Uniform HandleSpecialFG image.Uniform HandleBG image.Uniform }
Click to show internal directories.
Click to hide internal directories.