Changeset View
Changeset View
Standalone View
Standalone View
src/console/PhutilInteractiveEditor.php
| Show All 9 Lines | |||||
| * | * | ||||
| * This will launch the user's $EDITOR to edit the specified '$document', and | * This will launch the user's $EDITOR to edit the specified '$document', and | ||||
| * return their changes into '$result'. | * return their changes into '$result'. | ||||
| * | * | ||||
| * @task create Creating a New Editor | * @task create Creating a New Editor | ||||
| * @task edit Editing Interactively | * @task edit Editing Interactively | ||||
| * @task config Configuring Options | * @task config Configuring Options | ||||
| */ | */ | ||||
| final class PhutilInteractiveEditor { | final class PhutilInteractiveEditor extends Phobject { | ||||
| private $name = ''; | private $name = ''; | ||||
| private $content = ''; | private $content = ''; | ||||
| private $offset = 0; | private $offset = 0; | ||||
| private $preferred; | private $preferred; | ||||
| private $fallback; | private $fallback; | ||||
| ▲ Show 20 Lines • Show All 258 Lines • Show Last 20 Lines | |||||