Added toolbox type functionality to the editor for statement selection.