////////////////////////////////////////////////////////////////////////////// // // Go programming language highlighter, written by Tom Castle - www.tc33.org // - for the conTEXT editor // ////////////////////////////////////////////////////////////////////////////// Language: Go Description: Go programming language highlighter, by Tom Castle - www.tc33.org Filter: Go files (*.go)|*.go HelpFile: CaseSensitive: 1 LineComment: // BlockCommentBeg: /* BlockCommentEnd: */ IdentifierBegChars: a..z A..Z _ // Should also include other unicode letters. IdentifierChars: a..z A..Z _ 0..9 // Should also include other unicode letters and digits. NumConstBegChars: 0..9 . NumConstChars: 0..9 + xiabcdefABCDEF EscapeChar: \ // Keywords that are reserved and may not be used as identifiers. KeyWords1: break case chan const continue default defer else fallthrough for func go goto if import interface map package range return select struct switch type var // Basic and architecture-specific convenience types. KeyWords2: bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr // Constants and values. KeyWords3: true false iota nil // Functions. KeyWords4: append cap close closed complex copy imag len make new panic print println real recover StringBegChar: " StringEndChar: " MultilineStrings: 0 UsePreprocessor: 0 CurrLineHighlighted: 0 SpaceCol: clWindowText clWindow Keyword1Col: clBlue clWindow Keyword2Col: clNavy clWindow Keyword3Col: clMaroon clWindow Keyword4Col: clPurple clWindow Keyword5Col: clMaroon clWindow IdentifierCol: clWindowText clWindow CommentCol: clTeal clWindow NumberCol: clRed clWindow StringCol: clGreen clWindow SymbolCol: clGray clWindow PreprocessorCol: clOlive clWindow SelectionCol: clWhite clNavy CurrentLineCol: clBlack clYellow OverrideTxtFgColor: 0