Differential D20193 Diff 48201 src/applications/differential/render/DifferentialChangesetRenderer.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/render/DifferentialChangesetRenderer.php
| Show First 20 Lines • Show All 357 Lines • ▼ Show 20 Lines | final public function renderChangesetTable($content) { | ||||
| $undershield = null; | $undershield = null; | ||||
| if ($this->getIsUndershield()) { | if ($this->getIsUndershield()) { | ||||
| $undershield = $this->renderUndershieldHeader(); | $undershield = $this->renderUndershieldHeader(); | ||||
| } | } | ||||
| $result = $notice.$props.$undershield.$content; | $result = $notice.$props.$undershield.$content; | ||||
| // TODO: Let the user customize their tab width / display style. | |||||
| // TODO: We should possibly post-process "\r" as well. | |||||
| // TODO: Both these steps should happen earlier. | |||||
| $result = str_replace("\t", ' ', $result); | |||||
| return phutil_safe_html($result); | return phutil_safe_html($result); | ||||
| } | } | ||||
| abstract public function isOneUpRenderer(); | abstract public function isOneUpRenderer(); | ||||
| abstract public function renderTextChange( | abstract public function renderTextChange( | ||||
| $range_start, | $range_start, | ||||
| $range_len, | $range_len, | ||||
| $rows); | $rows); | ||||
| ▲ Show 20 Lines • Show All 303 Lines • Show Last 20 Lines | |||||