# 2 differing \*Edit Code\* Views

**URL:** <https://forum.pinegrow.com/t/2-differing-edit-code-views/2761>\
**Category:** General\
**Created:** [February 21, 2019, 10:36pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761 "2019-02-21T22:36:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![schpengle](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/schpengle/32/238_2.png) [@schpengle](https://forum.pinegrow.com/u/schpengle)\
**Post date:** [February 21, 2019, 10:36pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/1 "2019-02-21T22:36:54Z")

</div>

I have just noticed and am wondering why, there are two different _edit code_ views?

these ones

![2019-02-21_22-08-54](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/9/9403e3d9a634eff09668c5b7e5be8136e014bf4e.png)

So the top image is one of the \< \> **Element Code** pane view,  
and the bottom one we see, with the blue band along the top is the  
One we see when we _right click_ on an element/component in the Tree View and select edit code.

this second view, with the blue band, will stay on that one particular block of code, until we right click another and select _show code_ it also has the _copy to clipboard_ icon.

The tip image has the ability to change its contents with each new element selected, but for some reason is MISSING the copy to Clipboard icon.

Shouldn’t this be present on both? (even though I myself mostly use keyboard shortcuts, )  
Or is there some other differing functionality between them too?

If There is NO differing functionality, other than one keeping the selected elements code and not changing (which is handy) then shouldn’t they both have the clipboard icon for those that use it?  
To prevent confusion between the two views, if they are looking for it and its _gone_.

And is it better to use any particular one for any particular task? as opposed to the other?

Also, is it my memory playing tricks or did we used to be able to have muliptle _right click edit code_ views at the same time? I thought so,  
but now, there is only the one.

UPDATE.

yes, I thought we could.  
I just fired up PG 2.951 and yep there, we can open multiple _edit code_ views from the right mouse click and have them all visible at the same time.

ie

 ![2019-02-21_23-12-55](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/582bf5a95e7cbc90fec81c8bc85494b4858fce54.png)

---

<div class="post-metadata">

**Author:** ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)\
**Post date:** [February 21, 2019, 11:17pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/2 "2019-02-21T23:17:12Z")

</div>

Not sure about multiple “pop-up” code edit windows.  
But with the **“pin”** icon you can pin them to the “element code” panel to have multiple code sections of them.

---

<div class="post-metadata">

**Author:** ![schpengle](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/schpengle/32/238_2.png) [@schpengle](https://forum.pinegrow.com/u/schpengle)\
**Post date:** [February 21, 2019, 11:22pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/3 "2019-02-21T23:22:20Z")

</div>

Oh! so. you can!  
I have never use that.  
well a lie, I V A G U E L Y remember using it a long time ago and being excited, but that was a long time ago.  
Thanks for the reminder! Totally forgot that. I will check that out now, see if there Is a way to get to pin one of them under the other too, not just side by side. But I see the point of that view too.  
But one under the other would seem to make more sense if you have a few of them as they just squash up when stacked horizontally, with really short lines of code.

---

<div class="post-metadata">

**Author:** ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)\
**Post date:** [February 21, 2019, 11:27pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/4 "2019-02-21T23:27:39Z")

</div>

You can pin multiple code sections (don’t know if there is a max.), to the “element code” panel. And the current selected element is always the last one at the bottom (if you have more than one section).

If you select an element that is already “pinned”, a blue border is flashing around that pinned section, instead of added the same twice.

---

<div class="post-metadata">

**Author:** ![schpengle](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/schpengle/32/238_2.png) [@schpengle](https://forum.pinegrow.com/u/schpengle)\
**Post date:** [February 21, 2019, 11:31pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/5 "2019-02-21T23:31:53Z")

</div>

> [@Marf](#):
>
> And the current selected element is always the last one at the bottom

oh ok, well they are side by side in my view.

 ![2019-02-21_23-29-27](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/d/d159ac048092f527f11964ba4dfcc770590051a7.png)

and the _right click./ edit code_ view, disappears and is then pinned to the _code_ pane.

one above the other with the current at the bottom would be handy.  
how to get that view?

---

<div class="post-metadata">

**Author:** ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)\
**Post date:** [February 21, 2019, 11:36pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/6 "2019-02-21T23:36:18Z")

</div>

> [@schpengle](#):
>
> oh ok, well they are side by side in my view.

True, you are right! If the panel is wide enough they are placed “side by side”.  
I am used to have that panel smaller and then they are placed under each other.

If you make your panel smaller, you will see they are going to be placed under each other at a certain wide.

---

<div class="post-metadata">

**Author:** ![schpengle](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/schpengle/32/238_2.png) [@schpengle](https://forum.pinegrow.com/u/schpengle)\
**Post date:** [February 21, 2019, 11:45pm UTC](https://forum.pinegrow.com/t/2-differing-edit-code-views/2761/7 "2019-02-21T23:45:16Z")

</div>

Gah! how stupid of me!  
yes…If I drag the Edit code view DOWN…so it is deeper than I wanted, it appears one under the other!  
Gah!±

 ![2019-02-21_23-41-26](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/62cc91c903253960c1dd0b3d1458662bc6b4a5c1.png)

I just had a shallow view for this pane as I wanted it to highlight the one bit of code, when I had the whole Page view underneath it!

So if I drag the _edit Code_ pane DEEPER, yep, side by side.  
how embarrassing!  
SO I shall leave this post here to same others the humiliation,  
But , since your here mark,  
could you give me a hand with something over on the slack channel, for drop down navbar operation?  
Ive posted in on there already.

Cheers, …in excited anticipation
