Improvement of editing sql on Query Editor