ilyakharlamov / xulgear

Automatically exported from code.google.com/p/xulgear
1 stars 1 forks source link

Make it easier to insert nodes before/after/as child. #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Right click on an element in the tree on the upper left.
2. Click "new element" and insert a new element.
3. The element is inserted as the last child of the one you clicked on.

What is the expected output? What do you see instead?
If you've used the DOM Inspector extension, it allows you to do a very similar 
thing, except that you can choose whether to insert the node as the first child 
of the one you clicked on, as its last child, as a sibling just before it, or 
as a sibling just after it. At the risk of letting XUL Gear get overly complex, 
it would be nice to have a similar functionality here.

What version of the product are you using? On what operating system?
XUL Gear 1.0.7, Firefox 3.6.11, Windows 7.

Please provide any additional information below.
When cutting and pasting elements, it would also be great to have a simple 
ctrl-V do one of the four things above (first child, last child, before, after 
-- whichever is most commonly used) but to have the other three be available by 
right-click menu.

Original issue reported on code.google.com by MatrixFrog on 22 Oct 2010 at 6:22