# addKeywords (keywords,  fontWeight,  foreground)
# addCommentRule (singleLine,  multiLineStart,  multiLineEnd,  fontWeight,  foreground)
# addRule (expr,  fontWeight,  foreground)

keywords="import,from,def,class,return,if,else,elif,for,in,while,None"
addKeywords (keywords, Bold, darkBlue)

addCommentRule ("#[^\n]*", "\"\"\"", "\"\"\"", Normal, darkGreen)

addRule ("\".*\"", Normal, darkGreen) # Quotations
addRule ("\\b[A-Za-z0-9_]+(?=\\()", Normal, blue) # Functions
