Editing your query using the Original search form

To Edit Search you will see the same search form which was used to create the original query. Mouseover on the query will show you the complete query and then further clicking on the query you can edit it in the original search form. 

So, if you have created a query using the Commandline form then clicking on the search query you can go back to the same form and edit your query. 

You will also be able to use tools / Scripting options while editing a search.