Differential D16023 Diff 38575 src/applications/settings/setting/PhabricatorEditorMultipleSetting.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorEditorMultipleSetting.php
| <?php | <?php | ||||
| final class PhabricatorEditorMultipleSetting | final class PhabricatorEditorMultipleSetting | ||||
| extends PhabricatorSelectSetting { | extends PhabricatorSelectSetting { | ||||
| const SETTINGKEY = 'multiedit'; | const SETTINGKEY = 'multiedit'; | ||||
| const VALUE_SPACES = 'spaces'; | const VALUE_SPACES = 'spaces'; | ||||
| const VALUE_SINGLE = 'disable'; | const VALUE_SINGLE = 'disable'; | ||||
| public function getSettingName() { | public function getSettingName() { | ||||
| return pht('Edit Mulitple Files'); | return pht('Edit Mulitple Files'); | ||||
| } | } | ||||
| public function getSettingPanelKey() { | |||||
| return PhabricatorDisplayPreferencesSettingsPanel::PANELKEY; | |||||
| } | |||||
| protected function getSettingOrder() { | |||||
| return 400; | |||||
| } | |||||
| protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
| return pht( | return pht( | ||||
| 'Some editors support opening multiple files with a single URI. You '. | 'Some editors support opening multiple files with a single URI. You '. | ||||
| 'can specify the behavior of your editor here.'); | 'can specify the behavior of your editor here.'); | ||||
| } | } | ||||
| public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
| return self::VALUE_SPACES; | return self::VALUE_SPACES; | ||||
| Show All 10 Lines | |||||