Is it possible to add this type of tool to the editor toolbar written in python?

Discussion created by bmillerdot on Aug 10, 2012
Latest reply on Aug 10, 2012 by rfairhur24
What I would like is a tool that:
1) Allows the user to select a line
2) Delete the line
3) Then add a new line
4) Maybe save the attributes of the old line but not required

Hitting the "delete key" to delete the line works fine
but then the user has to go back up to the menu to add the line.
Just removing this step would save a lot of time.
Any help at all would be appreciated.