Changeset View
Changeset View
Standalone View
Standalone View
src/view/layout/PhabricatorSourceCodeView.php
| Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | foreach ($this->lines as $line) { | ||||
| 'span', | 'span', | ||||
| array( | array( | ||||
| 'class' => 'c', | 'class' => 'c', | ||||
| ), | ), | ||||
| pht('...')); | pht('...')); | ||||
| } else { | } else { | ||||
| $content_number = $line_number; | $content_number = $line_number; | ||||
| // NOTE: See phabricator-oncopy behavior. | // NOTE: See phabricator-oncopy behavior. | ||||
| $content_line = hsprintf("\xE2\x81\xA0%s", $line); | $content_line = hsprintf("\xE2\x80\x8B%s", $line); | ||||
| } | } | ||||
| $row_attributes = array(); | $row_attributes = array(); | ||||
| if (isset($this->highlights[$line_number])) { | if (isset($this->highlights[$line_number])) { | ||||
| $row_attributes['class'] = 'phabricator-source-highlight'; | $row_attributes['class'] = 'phabricator-source-highlight'; | ||||
| } | } | ||||
| if ($this->canClickHighlight) { | if ($this->canClickHighlight) { | ||||
| ▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines | |||||