f201fa0e70
Sort lexers for a better help
2013-03-23 17:50:24 +01:00
Fabien MARTY
c7656f35e3
flake8/pep8 fixes (except for the max size of a line and visual indent warnings)
2013-03-23 13:30:05 +01:00
8fdbe570b5
bugfix: initialize a default empty list of lexers
2013-03-23 09:38:07 +01:00
7858211361
List available themes/languages in the help
...
Preload themes and pygments lexers at import.
2013-03-23 00:12:30 +01:00
d444c1868c
Add support for source code coloring with pygments
...
Themes/source are available with a switch.
2013-03-22 23:59:42 +01:00
e583e54bf3
Read stdin as a stream, avoid blocking read/write
2013-03-22 22:52:53 +01:00
6ef62a644f
Add minimal theme support, and "perm" as an example
2013-03-22 21:19:02 +01:00
nojhan
c891bda94a
Add the --colormap option to build adhoc colormaps
...
Use the given list of comma-separated colors as a colormap (cycle the colors at each match).
Support of 256 colors mode colormaps.
2013-03-05 21:53:38 +01:00
nojhan
da1c2209e7
Add the --groups option
...
For color maps (like "rainbow"), iterate over matching groups in the pattern instead of over patterns.
Fix #4
2013-03-04 22:16:59 +01:00
nojhan
eba7c1462d
Add "Random" for 255 colors mode
...
Thus we can specify "random" for 8 colors mode, or "Random" for 255 colors.
2013-03-03 09:11:40 +01:00
nojhan
811ef56bcb
BUGFIX: correct code in 256 colors mode
...
Thanks duck typing.
2013-03-03 09:08:21 +01:00
119bba5bb5
Add random and rainbow
...
Use "random" as a color or a style to pick a random one for each pattern.
Use "rainbow" as a color to alternate colors in rainbow gradient.
Fix #1
2013-03-01 00:12:40 +01:00
Johann Dreo
941d7c2ef9
Cleaner API, more comments, generator, toward py3k
...
Use simpler names for modules variables.
Detailled commets for each functions, with doctests.
Add a generator proxy.
Add a dirty argument parser that do not depend of argparse.
Separate args parser in private functions.
Clean the code.
2013-02-07 12:10:23 +01:00
nojhan
2e0fd09b43
print each line as soon as it is read
2012-07-12 14:01:59 +02:00
nojhan
efc1195413
replace 'standard' style name by 'normal'
2012-04-02 22:32:24 +02:00
nojhan
1a880bde94
handle multiple styles when grouping
2012-04-02 21:58:06 +02:00
nojhan
9946b58285
handle multiple colors when grouping
2012-04-02 21:50:29 +02:00
nojhan
a9d934490c
copyright issues
2012-03-31 17:58:26 +02:00
nojhan
60c86f9182
use argparse, comments in english
2012-03-31 15:11:27 +02:00
nojhan
fea7e2c03f
now supports coloring only the grouping parts of the regex, if any
2012-03-31 14:40:46 +02:00
nojhan
fe7b0850e6
new name
2012-03-31 13:08:18 +02:00