# Pasting from notepad++ to editor issue

**URL:** <https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440>\
**Category:** Ignition\
**Created:** [January 27, 2022, 2:30pm UTC](https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440 "2022-01-27T14:30:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [January 27, 2022, 2:30pm UTC](https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440/1 "2022-01-27T14:30:01Z")

</div>

Hi All  
When working on a larger script i usually copy the script from ignition to notepad++ so its easier to see the formatting. When pasting back from notepad++ to ignition quite often i see that formatting has changed (indentation) which sometimes is easy to notice and gives error but other time tricky to spot and very dangerous.  
Does anybody else have this sort of problem or maybe a way to workaround this?  
Regards

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 27, 2022, 2:32pm UTC](https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440/2 "2022-01-27T14:32:11Z")

</div>

Place a `#` in the leftmost column in the Ignition editor and paste below it.

Or always paste the entire editor content.

Yeah, the editor revamp can’t happen soon enough. ):

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [January 27, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440/3 "2022-01-27T14:58:10Z")

</div>

Thanks Phil, that is the solution until revamp

---

<div class="post-metadata">

**Author:** ![eric.e.fredericksen](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@eric.e.fredericksen](https://forum.inductiveautomation.com/u/eric.e.fredericksen)\
**Post date:** [December 22, 2023, 1:37pm UTC](https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440/4 "2023-12-22T13:37:29Z")

</div>

This even happens when copying from within the ignition editor. It's annoying.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [December 22, 2023, 2:03pm UTC](https://forum.inductiveautomation.com/t/pasting-from-notepad-to-editor-issue/55440/5 "2023-12-22T14:03:48Z")

</div>

When pasting, make sure that the line you're pasting into is completely blank (no tabs and no spaces). That usually works.
