shammond42/cheater — pull request #3 by dmikalova (2013-06-19 04:35:02+00:00)
Title: Changed the pattern matching.

I changed the first pattern to match per line anything before two spaces and turn that green. This fixes mult-word headers being matched like "Character Sets".

I changed the second pattern (now third) to then match everything and turn it orange - however the first two patterns takes precedence so any lines with two spaces won't get matched. This may not be ideal if you want to have paragraph headers explaining things.

So I added a third pattern (now second) to add paragraphs - any lines starting with a tab won't be colored at all.