Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/document/PhabricatorSourceDocumentEngine.php
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | if ($highlighting !== null) { | ||||
$content = PhabricatorSyntaxHighlighter::highlightWithFilename( | $content = PhabricatorSyntaxHighlighter::highlightWithFilename( | ||||
$ref->getName(), | $ref->getName(), | ||||
$content); | $content); | ||||
} | } | ||||
} | } | ||||
return array( | return array( | ||||
$messages, | $messages, | ||||
$this->newTextDocumentContent($content), | $this->newTextDocumentContent($ref, $content), | ||||
); | ); | ||||
} | } | ||||
} | } |