/usr/lib/python2.6/site-packages/pygments/formatters
NameSizeModeActions
bbcode.py33140644editdlrm
bbcode.pyc35800644editdlrm
bbcode.pyo35800644editdlrm
html.py260940644editdlrm
html.pyc245830644editdlrm
html.pyo245830644editdlrm
img.py167640644editdlrm
img.pyc174030644editdlrm
img.pyo174030644editdlrm
latex.py106430644editdlrm
latex.pyc88350644editdlrm
latex.pyo88350644editdlrm
other.py38570644editdlrm
other.pyc47860644editdlrm
other.pyo47860644editdlrm
rtf.py45360644editdlrm
rtf.pyc44250644editdlrm
rtf.pyo44250644editdlrm
svg.py58670644editdlrm
svg.pyc60840644editdlrm
svg.pyo60840644editdlrm
terminal.py40120644editdlrm
terminal.pyc42640644editdlrm
terminal.pyo42640644editdlrm
terminal256.py76040644editdlrm
terminal256.pyc72890644editdlrm
terminal256.pyo72890644editdlrm
_mapping.py55030644editdlrm
_mapping.pyc58800644editdlrm
_mapping.pyo58800644editdlrm
__init__.py18470644editdlrm
__init__.pyc25790644editdlrm
__init__.pyo25790644editdlrm
Edit: /usr/lib/python2.6/site-packages/pygments/formatters/terminal.pyo (4264B)
Ńň ŽfŻJc@sŠdZddklZddklZlZlZlZlZl Z l Z l Z l Z l Z ddklZddklZdgZhde 6d e 6d!e6d"ei6d#e6d$ei6d%e i6d&ei6d'ei6d(ei6d)ei6d*ei6d+ei6d,ei6d-ei6d.ei6d/ei6d0e6d1e 6d2e i 6d3e i!6d4e i"6d5e i#6d6e i6d7e6Z$defd„ƒYZ%dS(8sď pygments.formatters.terminal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for terminal output with ANSI sequences. :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. i˙˙˙˙(t Formatter( tKeywordtNametCommenttStringtErrortNumbertOperatortGenerictTokent Whitespace(t ansiformat(tget_choice_opttTerminalFormattertt lightgraytdarkgrayttealt turquoisetdarkbluetbluetpurpletfuchsiat darkgreentgreent_teal_t _turquoise_t _darkgreen_t_green_tdarkredtredtbrowns**s*purple*s *fuchsia*t_red_cBsAeZdZdZddgZgZd„Zd„Zd„ZRS(sP Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly. The `get_style_defs()` method doesn't do anything special since there is no support for common styles. Options accepted: `bg` Set to ``"light"`` or ``"dark"`` depending on the terminal's background (default: ``"light"``). `colorscheme` A dictionary mapping token types to (lightbg, darkbg) color names or ``None`` (default: ``None`` = use builtin colorscheme). tTerminaltterminaltconsolecKsTti||t|dddgdƒdj|_|iddƒpt|_dS(Ntbgtlighttdarkt colorscheme(Rt__init__R tdarkbgtgettNonetTERMINAL_COLORSR'(tselftoptions((s@/usr/lib/python2.6/site-packages/pygments/formatters/terminal.pyR(Os cCs[|i o=t|dƒo-t|dƒo|iƒo|i|_nti|||ƒS(Ntencodingtisatty(R/thasattrR0Rtformat(R-t tokensourcetoutfile((s@/usr/lib/python2.6/site-packages/pygments/formatters/terminal.pyR2Usc Csţx÷|D]ď\}}|ii|ƒ}x.|djo |d }|ii|ƒ}q(W|oŒ||i}|idƒ}x@|d D]4}|o|it||ƒƒn|idƒq„W|do|it||dƒƒqöq|i|ƒqWdS(Ni˙˙˙˙s (R'R*R+R)tsplittwriteR (R-R3R4tttypetvaluetcolortspltline((s@/usr/lib/python2.6/site-packages/pygments/formatters/terminal.pytformat_unencoded]s$      "( t__name__t __module__t__doc__tnametaliasest filenamesR(R2R<(((s@/usr/lib/python2.6/site-packages/pygments/formatters/terminal.pyR 8s   N(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(RR(s**s**(s*purple*s *fuchsia*(RR(R R (&R?tpygments.formatterRtpygments.tokenRRRRRRRRR R tpygments.consoleR t pygments.utilR t__all__tPreproctTypetWordtBuiltintFunctiont NamespacetClasst Exceptiont DecoratortVariabletConstantt AttributetTagtDeletedtInsertedtHeadingt SubheadingR,R (((s@/usr/lib/python2.6/site-packages/pygments/formatters/terminal.pyt s@F