Summary: use XHPAST parser to parse the file, and generate a table for the code to highlight it. This is part of the task of "Port Diffusion's Browse File view to Phabricator". Test Plan: browse file, try commit version, line number functionality. Reviewed By: epriestley Reviewers: epriestley CC: epriestley Differential Revision: 83
20 lines
638 B
PHP
20 lines
638 B
PHP
<?php
|
|
/**
|
|
* This file is automatically generated. Lint this module to rebuild it.
|
|
* @generated
|
|
*/
|
|
|
|
|
|
|
|
phutil_require_module('phabricator', 'applications/diffusion/controller/base');
|
|
phutil_require_module('phabricator', 'applications/diffusion/query/filecontent/base');
|
|
phutil_require_module('phabricator', 'infrastructure/celerity/api');
|
|
phutil_require_module('phabricator', 'infrastructure/javelin/api');
|
|
phutil_require_module('phabricator', 'view/layout/panel');
|
|
|
|
phutil_require_module('phutil', 'markup');
|
|
phutil_require_module('phutil', 'markup/syntax/engine/default');
|
|
|
|
|
|
phutil_require_source('DiffusionBrowseFileController.php');
|