summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-31 23:15:21 +0100
committergbrandl <devnull@localhost>2006-10-31 23:15:21 +0100
commit026d59d92a7b574323484fae8a21c9bcc2401517 (patch)
treefcaf801822f15b7bd052407e1b567f3f8cecff50
parentd73ca968e48794aa63c3c8871ea390f64f51784f (diff)
downloadpygments-026d59d92a7b574323484fae8a21c9bcc2401517.tar.gz
[svn] Update TODO.
-rw-r--r--TODO4
-rw-r--r--pygments/lexer.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/TODO b/TODO
index 13bda890..d6052264 100644
--- a/TODO
+++ b/TODO
@@ -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: