Homec4science

Centralize highlighter fallback

Authored by vrana <jakubv@fb.com> on Apr 13 2012, 08:34.

Description

Centralize highlighter fallback

Summary:
I think that this API is better because all highlighters don't need to provide a fallback to the default highlighter if anything goes wrong.

But the real motivation comes in the next diff.

Test Plan:

lang=js
var a = 1;

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2226

Details

Committed
vrana <jakubv@fb.com>Apr 17 2012, 21:47
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU34771a5b0920: Use %C formatter for 'mate' editor on non-Windows hosts
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPHU4360da874f40: Centralize highlighter fallback (authored by vrana <jakubv@fb.com>).Apr 17 2012, 21:47