##// END OF EJS Templates
#7548: Added a rule for help lines (starting with a "?").
Lev Abalkin -
Show More
@@ -58,6 +58,7 b' ipython_tokens = ['
58 (r'(%)(\w+)(.*\n)', bygroups(Operator, Keyword, Text)),
58 (r'(%)(\w+)(.*\n)', bygroups(Operator, Keyword, Text)),
59 (r'^(!!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
59 (r'^(!!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
60 (r'((?!=)!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
60 (r'((?!=)!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
61 (r'^(\s*)(\?\??)(\s*%{0,2}[\w\.\*]*)', bygroups(Text, Operator, Text)),
61 ]
62 ]
62
63
63 def build_ipy_lexer(python3):
64 def build_ipy_lexer(python3):
General Comments 0
You need to be logged in to leave comments. Login now