Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/document/PhabricatorJupyterDocumentEngine.php
| Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | if ($utype === $vtype) { | ||||
| $u_segments[] = $u_segment; | $u_segments[] = $u_segment; | ||||
| } | } | ||||
| $v_segments = array(); | $v_segments = array(); | ||||
| foreach ($intraline_segments[1] as $v_segment) { | foreach ($intraline_segments[1] as $v_segment) { | ||||
| $v_segments[] = $v_segment; | $v_segments[] = $v_segment; | ||||
| } | } | ||||
| $usource = ArcanistDiffUtils::applyIntralineDiff( | $usource = PhabricatorDifferenceEngine::applyIntralineDiff( | ||||
| $udisplay, | $udisplay, | ||||
| $u_segments); | $u_segments); | ||||
| $vsource = ArcanistDiffUtils::applyIntralineDiff( | $vsource = PhabricatorDifferenceEngine::applyIntralineDiff( | ||||
| $vdisplay, | $vdisplay, | ||||
| $v_segments); | $v_segments); | ||||
| $u_content = $this->newCodeLineCell($ucell, $usource); | $u_content = $this->newCodeLineCell($ucell, $usource); | ||||
| $v_content = $this->newCodeLineCell($vcell, $vsource); | $v_content = $this->newCodeLineCell($vcell, $vsource); | ||||
| $classes = array( | $classes = array( | ||||
| 'jupyter-cell-flush', | 'jupyter-cell-flush', | ||||
| ▲ Show 20 Lines • Show All 607 Lines • Show Last 20 Lines | |||||