- User Since
- Jan 11 2012, 9:01 AM (410 w, 17 h)
Dec 22 2014
Been poking around at the code. The following function looks promising: https://secure.phabricator.com/diffusion/P/browse/master/src/applications/differential/parser/DifferentialHunkParser.php;a366f85c118bf6b857155792446c397dac03e0a3$229
Dec 19 2014
Haha, noobs calling everything "Phabricator".
Also, Python's built-in difflib also does the right thing (at least for this small example).
How do you decide how to apply light-green vs dark-green highlighting? Is that something diff gives you?
Dec 3 2013
This came up with a custom Arcanist linter we have (I didn't write it, but I'm now trying to fix the exception). The lintPath() function looks like this: