1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-13 13:28:27 +02:00

5 Commits

Author SHA1 Message Date
Alec Thomas
73d11b3c45 Clear background colour for TTY formatters. 2019-10-15 21:08:17 +11:00
Daniel Eloff
9c3abeae1d Tokens by value (#187)
This results in about a 8% improvement in speed.
2018-11-04 10:22:51 +11:00
Alec Thomas
59f554950e Fix DelegatingLexer.
Fixes #126.
2018-03-19 10:54:09 +11:00
Alec Thomas
db6920e68f Implemented delegating lexer.
This is a lexer that is useful for templating languages, where the
surrounding text may be of a different syntax. eg. PHP+HTML

The PHP lexer has been changed accordingly.

Fixes #80
2018-03-18 20:38:29 +11:00
Alec Thomas
15a009f0fc Add DelegatingLexer. 2018-03-17 13:44:03 +11:00