# Help extending the editor - add a move line up/down edit function?

**URL:** <https://discourse.processing.org/t/help-extending-the-editor-add-a-move-line-up-down-edit-function/34899>\
**Category:** Development\
**Created:** [January 30, 2022, 1:41pm UTC](https://discourse.processing.org/t/help-extending-the-editor-add-a-move-line-up-down-edit-function/34899 "2022-01-30T13:41:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpagliaccio](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jpagliaccio](https://discourse.processing.org/u/jpagliaccio)\
**Post date:** [January 30, 2022, 1:41pm UTC](https://discourse.processing.org/t/help-extending-the-editor-add-a-move-line-up-down-edit-function/34899/1 "2022-01-30T13:41:14Z")

</div>

For the native Processing editor, I am looking for a little direction on making editor enhancements like move current line up/down that is in VS Code. This would be for the native editor on Linux for example.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [January 30, 2022, 6:12pm UTC](https://discourse.processing.org/t/help-extending-the-editor-add-a-move-line-up-down-edit-function/34899/2 "2022-01-30T18:12:58Z")

</div>

Maybe a tool can do what you want

> **[Tools](https://processing.org/reference/tools/)**
>
> The following tools are included with the Processing software. Select the tool you want to use from the Tools menu of the Processing Environment. These tools are open source; the code is distributed w…

---

<div class="post-metadata">

**Author:** ![jpagliaccio](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jpagliaccio](https://discourse.processing.org/u/jpagliaccio)\
**Post date:** [January 31, 2022, 12:26am UTC](https://discourse.processing.org/t/help-extending-the-editor-add-a-move-line-up-down-edit-function/34899/3 "2022-01-31T00:26:03Z")

</div>

Hey Chrisir - Thanks. Nice idea. I am looking into it - looking thru the existing tools java code. Do you know if there is an API for “tools” that has hooks into the editor? Is the tools API documented?

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [January 31, 2022, 1:09am UTC](https://discourse.processing.org/t/help-extending-the-editor-add-a-move-line-up-down-edit-function/34899/4 "2022-01-31T01:09:32Z")

</div>

I don’t know, check out the contributed tools I guess
