diff options
author | gbrandl <devnull@localhost> | 2006-10-31 23:15:21 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-10-31 23:15:21 +0100 |
commit | 026d59d92a7b574323484fae8a21c9bcc2401517 (patch) | |
tree | fcaf801822f15b7bd052407e1b567f3f8cecff50 | |
parent | d73ca968e48794aa63c3c8871ea390f64f51784f (diff) | |
download | pygments-026d59d92a7b574323484fae8a21c9bcc2401517.tar.gz |
[svn] Update TODO.
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | pygments/lexer.py | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -4,10 +4,14 @@ Todo for 0.6 ------- +- encoding, unicode support + - improve guess_lexer heuristics (esp. for template langs) - more unit tests (pygmentize...) +- help for -O and -a cmdline options + - allow "overlay" token types (e.g. Diff + X) - highlight specials: nth line, a word etc. - dhtml: overlays toggleable by javascript diff --git a/pygments/lexer.py b/pygments/lexer.py index 1b55c5d0..cd9671fd 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -74,6 +74,7 @@ class Lexer(object): self.stripnl = get_bool_opt(options, 'stripnl', True) self.stripall = get_bool_opt(options, 'stripall', False) self.tabsize = get_int_opt(options, 'tabsize', 0) + self.encoding = options.get('encoding', '') def __repr__(self): if self.options: |